I installed the Zend Framework application using Zend_Tool, but I need several modules (admin and default). I moved the default controllers, models, and views to the / default modules, then created an administration module and some controllers. Then I added this line to my configuration file to specify the module directory:
resources.frontController.moduleDirectory = APPLICATION_PATH "/modules"
Since then, I can not get my application to work correctly. If I go to http: // localhost / zfproject , it works (I get a controller-pointer / action). If I go to http: // localhost / zfproject / index / , I get "Invalid controller specified (zfproject)".
The same message appears when switching to http: // localhost / zfproject / admin . It seems that "zfproject" is the controller that I specify, even though it is just the folder where the project is located.
Thanks Richard
source share