I am currently displaying custom error pages by checking for
exceptions in the dispatchLoopShutdown(), which works fine with 9.3.
After checking out the current trunk (4837) it seems that
dispatchLoopShutdown() not run before I get a fatal error.
Is this a bug or a planed & expected result which I should refactor
into my code?
public function dispatchLoopShutdown()
{
$response = Zend_Controller_Front::getInstance()->getResponse();
if ($response->isException()) {
... send to error page ...
}
}
Fatal error: Uncaught exception 'Exception' with message 'Cannot find
page' in /var/www/html/application/modules/default/controllers/
IndexController.php:25 Stack trace: #0 /var/www/html/library/Zend/
Controller/Action.php(438): IndexController->norouteAction() #1 /var/
www/html/library/Zend/Controller/Dispatcher/Standard.php(230):
Zend_Controller_Action->dispatch('norouteAction') #2 /var/www/html/
library/Zend/Controller/Front.php(863):
Zend_Controller_Dispatcher_Standard->dispatch(Object
(Zend_Controller_Request_Http), Object
(Zend_Controller_Response_Http)) #3 /var/www/html/htdocs/index.php
(66): Zend_Controller_Front->dispatch() #4 {main} thrown in /var/www/
html/application/modules/default/controllers/IndexController.php on
line 25
Thanks,
Todd
-------------------------------------
Todd Wolaver
[EMAIL PROTECTED]
1505 Park PL., Apt 20
College Station, TX 77840
Phone: 979-739-3256
AIM: miribota
MSN: [EMAIL PROTECTED]
-------------------------------------