26 Aug 2010, 2:29pm

leave a comment

Forcing PHP to show errors

Running PHP on a production server with no visible error messages?  This is good for security, but a real pain when debugging.

Calling ini_set(‘display_errors’, 1); somewhere important does the trick.  Just remember to remove it when you’re done.

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.

*name

*e-mail

web site

leave a comment


 

free winrar download

free winrar download

winrar download free

winrar download free

windows 7 key generator

windows 7 key generator

windows 7 activation crack

windows7 activation crack

free winzip

free winzip

free winrar

free winrar

winzip free download

winzip free download

winrar free download

winrar free download

windows 7 crack

windows 7 crack

winzip free download full version

winzip free download full version

winzip activation code

winzip activation code

windows 7 product key

windows 7 product key
\n