GetSimple Support Forum
About debug mode. - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16)
+--- Thread: About debug mode. (/showthread.php?tid=877)



About debug mode. - Zegnåt - 2010-07-26

Enabling debug mode:
  1. Open gsconfig.php, this file should be in the root of your GetSimple installation.
    (If you only have temp.gsconfig.php rename it to gsconfig.php and open that one.)
  2. Search for this line: #define('GSDEBUG', TRUE);.
  3. Remove the #-sign.


Disabling debug mode:
  1. Open gsconfig.php, this file should be in the root of your GetSimple installation.
    (If you only have temp.gsconfig.php rename it to gsconfig.php and open that one.)
  2. Search for this line: define('GSDEBUG', TRUE);.
  3. Add a #-sign in front of the line.
Note: Setting GSDEBUG to FALSE does not disable debug mode in GetSimple versions prior to 2.03.


How do I know if debug mode is enabled?

[Image: debugmode.png]
When you are logged in to your admin panel it will display a small red notice in the top-right corner.


When should I enable debug mode?

If you want to see PHP errors displayed on the website you will need to enable debug mode. This would apply to you if you are working with PHP, for instance when developing a theme or plugin .

We also urge you to enable debug mode if you go looking for help on this forum. “White pages” or missing content can be signs of fatal PHP errors. It is easier to get to the bottom of a problem if you provide us with the error messages and those only show if debug mode is enabled.