4572 Posts in 1316 Topics by 981 members
Customising the CMS
SilverStripe Forums » Customising the CMS » Turn Off Debug Mode!
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba
|
Page:
1
|
Go to End | |
| Author | Topic: | 905 Views |
-
Turn Off Debug Mode!

22 March 2010 at 10:16pm
Firstly, Silverstripe is amazing. I am a novice and use Joomla but I will be moving to silverstripe as soon as I can manage it. Really great system.
MY PROBLEM
I thought debug mode might show me the file names so I can customize the admin easierI added the following code to config.php
Director::set_environment_type("dev");
I then set it to
Director::set_environment_type("live");Debug mode was not what I expected. I am a novice and it is generating an error or stuck in debug mode. I cannot be sure. I have removed the code from config.php but it is still showing the error.
I would appreciate it if someone could tell me how to get rid of debug mode/this error
*********************************************************************************
[Notice] Undefined variable: _SESSION
GET /demo/adminLine 120 in C:\xampp\htdocs\demo\sapphire\core\control\Director.php
***********************************************************************************Thank you.
| 905 Views | ||
|
Page:
1
|
Go to Top |

