Hello,

Just created a project with zend tool.

In my bootstrap file I have :

protected function __initAutoload(){

        $autoloader = new Zend_Application_Module_Autoloader(array(
            'namespace' => '',
            'basePath'  => APPLICATION_PATH,
        ));
        return $autoloader;
    }

Now i have in my folder "application/forms" a file LoginForm.php.
in it is a class called class Form_LoginForm extends Zend_Form.

Now when i do in my controller $form = new Zend_LoginForm()

i get *Fatal error*: Class 'Form_LoginForm' not found in *
K:\xampp\htdocs\nrka\application\controllers\AuthenticationController.php*on
line
*22

what's going on?


Isn't my autoloader working properly?
*

Reply via email to