From: johnston dot joshua at gmail dot com Operating system: any PHP version: 5.2.5 PHP Bug Type: Scripting Engine problem Bug description: Exceptions thrown with html_errors = on are partially formatted
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->__call('helloAction', Array) #1 /code/dev/php/Zend/Controller/Action.php(497): Portal_TrialController->helloAction() #2 /code/dev/php/Zend/Controller/Dispatcher/Standard.php(238): Zend_Controller_Action->dispatch('helloAction') #3 /code/dev/php/Zend/Controller/Front.php(920): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #4 /home/jjohnston/svn/dev/www/bootstrap.php(96): Zend_Controller_Front->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 bug report at http://bugs.php.net/?id=44101&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=44101&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=44101&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=44101&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=44101&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=44101&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=44101&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=44101&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=44101&r=needscript Try newer version: http://bugs.php.net/fix.php?id=44101&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=44101&r=support Expected behavior: http://bugs.php.net/fix.php?id=44101&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=44101&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=44101&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=44101&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=44101&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=44101&r=dst IIS Stability: http://bugs.php.net/fix.php?id=44101&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=44101&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=44101&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=44101&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=44101&r=mysqlcfg