#44101 [Opn->Fbk]: Exceptions thrown with html_errors = on are partially formatted

From: Date: Wed, 13 Feb 2008 16:53:49 +0000
Subject: #44101 [Opn->Fbk]: Exceptions thrown with html_errors = on are partially formatted
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-122218@lists.php.net to get a copy of this message
ID: 44101 Updated by: jani@php.net Reported By: johnston dot joshua at gmail dot com -Status: Open +Status: Feedback Bug Type: Scripting Engine problem Operating System: any PHP Version: 5.2.5 New Comment: Exactly what is not right there? Previous Comments: ------------------------------------------------------------------------ [2008-02-11 22:08:14] johnston dot joshua at gmail dot com Description: ------------ When an exception is thrown and not caught and html_errors = on the Fatal Error text is only partially formatted. When you 'view source' in your web browser you can see the stact trace is nicely formatted but has no format for content-type: text/html Actual result: -------------- <br /> <b>Fatal error</b>: Uncaught exception 'Zend_Controller_Action_Exception' with message 'Portal_TrialController::helloAction() does not exist and was not trapped in __call()' in /code/dev/php/Zend/Controller/Action.php:480 Stack trace: #0 [internal function]: Zend_Controller_Action-&gt;__call('helloAction', Array) #1 /code/dev/php/Zend/Controller/Action.php(497): Portal_TrialController-&gt;helloAction() #2 /code/dev/php/Zend/Controller/Dispatcher/Standard.php(238): Zend_Controller_Action-&gt;dispatch('helloAction') #3 /code/dev/php/Zend/Controller/Front.php(920): Zend_Controller_Dispatcher_Standard-&gt;dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #4 /home/jjohnston/svn/dev/www/bootstrap.php(96): Zend_Controller_Front-&gt;dispatch() #5 /home/jjohnston/svn/dev/www/bootstrap.php(6): MailWise_Bootstrap::main() #6 {main} thrown in <b>/code/dev/php/Zend/Controller/Action.php</b> on line <b>480</b><br /> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=44101&edit=1

« previous php.bugs (#122218) next »