I\'m using Zend 1.8.4 and setting up a simple form test. My form class is located in \'./application/forms/SectorSearch.php\' and the class name is
I added the following to my Bootstrap.php file
protected function _initAutoload()
{
$autoloader = new Zend_Loader_Autoloader_Resource(array(
'namespace' => '',
'basePath' => APPLICATION_PATH,
'resourceTypes' => array(
'form' => array(
'path' => 'forms',
'namespace' => 'Form',
),
'model' => array(
'path' => 'models',
'namespace' => 'Model',
),
)
));
return $autoloader;
}
and now it works, no errors anymore.. damn i'm glad it works, i was almost going mad.. :)