Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Sebastian Schabe
May 6, 2010, 4:08 pm
rate this thread
I created a Zend framework project with the zf tool in Zend framework
1.10.3 and the parameter
in the section "development" in the application.ini is set to "1" to
show exception details. This is very useful!! Now I rearranged the
project in order to work with a couple of modules. Therefor I deleted
resources.frontController.controllerDirectory = APPLICATION_PATH
and added the line
resources.frontcontroller.moduleDirectory = APPLICATION_PATH "/modules"
to the ini file. Additionally I had to create the folder
"/modules/default" where all requests are routed which do not belong to
a module. Everything works fine, but when I enter a wrong URL the
exceptions are not displayed any more. Only the message "An error
occurred \n Page not found" appears. Can anyone help me with that problem?
Re: no exception details in modular Zend framework application
By default Zend_Tool creates ErrorController which handles these
This plugin is automatically registered and enabled by default. If you
do not wish to use the ErrorHandler, then set the noErrorHandler
parameter to true on
the Front Controller or set throwExceptions to true on the Front
Please let me know if these helps you.
Decos technology group,