View Single Post
  #3  
Old 02-17-2016, 11:47 AM
pachoofoosh's Avatar
pachoofoosh pachoofoosh is offline
Artist
 
Join Date: Dec 2012
Location: New York
Posts: 98
Gender: Unknown/Other
Credits: 15,457
pachoofoosh is on a distinguished road
Default

Quote:
Originally Posted by FounderSim View Post
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. ^^
__________________
The calzones... betrayed me?
Reply With Quote