Welcome Guest, Not a member yet? Register   Sign In
CI error handler not handling PHP errors
#1

[eluser]billdami[/eluser]
Hi all,

For some reason CodeIgniter does not seem to be handling or logging any PHP errors that occur within my application. Errors that occur within CI, db errors, ect are displayed and logged just fine, but PHP errors are displayed with the built in PHP error handler and do not seem to be passed to CI's error handler function at all.

error_reporting() in my index.php is currently set to E_ALL and in CodeIgniter.php set_error_handler() is set to '_exception_handler' which i checked in Common.php and looks just fine.

I also have my logging threshold set to 1, so all php errors should be logging as well, (logs directory is writeable, as other CI error messages are being logged fine).

Anyone know what could be causing the CI error handler from being ignored by PHP?


Messages In This Thread
CI error handler not handling PHP errors - by El Forum - 02-15-2010, 02:49 PM
CI error handler not handling PHP errors - by El Forum - 02-15-2010, 03:07 PM
CI error handler not handling PHP errors - by El Forum - 02-15-2010, 03:21 PM



Theme © iAndrew 2016 - Forum software by © MyBB