Thread Rating:
  • 2 Vote(s) - 4.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
About debug mode.
#1
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.
“Don’t forget the important ˚ (not °) on the a,” says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!




Users browsing this thread: 1 Guest(s)
Free HDTV Channels Residential Solar Panels