modularity in zend -Problem--

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

modularity in zend -Problem--

shahrzad
hi all,

I want to add two or more module in my project, I' m following Zend Framework in action ebook...
But this error occurs:

[31-May-2010 13:44:26] PHP Fatal error:  Call to a member function hasPluginResource() on a non-object in /usr/local/zend/apache2/htdocs/zf/application/controllers/ErrorController.php on line 42

public function runApp()
    {
        $frontController->setControllerDirectory(ROOT_DIR . '/application/controllers');
        $frontController->addModuleDirectory(ROOT_DIR . '/application/modules');
       
        ....

note I create my modules in this way :  zf create module...

any idea?

Thanks,
Shahrzad Khorrami