EVE-SECURE / evedev-kb

Automatically exported from code.google.com/p/evedev-kb
0 stars 0 forks source link

Error handler to catch catchable errors #85

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Errors when the page cache is active or page compression is on cause output 
before headers are sent which then causes a blank page to be output with no 
information on the error. These, and other problems, could be handled by 
defining our own error handler to catch the errors and either continue or 
exit gracefully.

From the PHP docs:
"The following error types cannot be handled with a user defined function: 
E_ERROR, E_PARSE, E_CORE_ERROR, E_CORE_WARNING, E_COMPILE_ERROR, 
E_COMPILE_WARNING, and most of E_STRICT raised in the file where 
set_error_handler() is called. "

Original issue reported on code.google.com by kovellia on 14 Feb 2010 at 9:37

GoogleCodeExporter commented 9 years ago
Fixed in r559.

Original comment by kovellia on 10 Mar 2010 at 4:52