Error Related Config Lines in SilverStripe

If you can’t login to SilverStripe CMS and can’t reset your username and password. Then you can set your username and password for SilverStripe using lines in mysite/_config.php:


To get the errors to be mailed to you use the lines in mysite/_config.php

SS_Log::add_writer(new SS_LogEmailWriter(''), SS_Log::ERR);

Force the Silverstripe to show you the errors if got any by setting the environment type using this line in mysite/_config.php


After adding those lines you in your _config.php file you always need to build the database by using address

Looking for quality SilverStripe Hosting? Look no further than Arvixe Web Hosting!

Tags: , , , , , , , , , , , , | Posted under SilverStripe CMS | RSS 2.0

Author Spotlight

Teet Bergmann

I'm a freelance web designer from Estonia. Mostly doing sites using Silverstripe, magento, prestashop, wordpress.

Leave a Reply

Your email address will not be published. Required fields are marked *