1
I have a project that uses Zend Framework 1. It has 2 modules: default and admin.
When a mistake occurs or Exception, Zend directs to Errorcontroller.
The problem is this: when an error occurs inside the module "default", it directs to the module’s Errorcontroller "default" (this is correct). However, when an error occurs in the "admin" module, it also directs to the module’s Errorcontroller "default", causing the error to appear in layout of website, instead of in the layout of the admin.
I own an Errorcontroller in the "admin" module and I thought it was automatic. How do I direct errors from the "admin" module to your Errorcontroller?
I had looked in the Soen and did not find. It worked right. Thanks!
– Lucas