Quote:
Originally Posted by FounderSim
At times, I do something screwed up and the page turns blank. It would be nice if I could turn on debugging somehow.
Where is it turned off at in the script so I can turn it on?
|
If your host doesn't let you edit the php.ini file, you can put this at the top of your
classes/class_appcontroller.php file (it's included in every main page so the errors will show on every page), under the <?php tag:
PHP Code:
error_reporting(E_ALL & ~E_NOTICE);
And then when you are done debugging, you can just remove that line of code. ^^