zend framework - 'Invalid controller specified' Since Moving to Modular Structure -


I have installed a Zend Framework application using Zend_Tool, but I wanted many modules (administrator and default). I moved controllers, models, and scenes to the default in module / default, then created an administrator module and some controllers. I then added this line to the module directory in my configuration file:

  resources.frontController.moduleDirectory = APPLICATION_PATH "/ module"  

After doing this, I can not do my app to work properly if I go, it works (I get index controller / action) If I go, then I'll specify 'invalid controller (zfproject)' get.

The same message appears when it is going to appear that the 'zfproject' controller I am specifying, is inherent in the project even though that folder.

Thanks, Richard

This is not a problem I've experienced earlier , But ZF should find out that it is in a sub folder and work accordingly. It seems that in your case this is not doing this. There are some things in the manual that can help you:

It will also be interesting to see if the app works or not, when it is in the root directory, in case one And the problem is.


Comments