Forcing PHP to show errors
2010-08-26 14:29Running PHP on a production server with no visible error messages? This is good for security, but a real pain when debugging.
In my mantis install, I had to put these two lines in constant_inc.php:
date_default_timezone_set(‘Australia/Melbourne’);
ini_set(‘display_errors’, 1);
To fix the default timezone warning, and display errors when they happened.

