Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

admin email and password does not work


Reply

10 Posts   10479 Views

Avatar
Willr

25 September 2008 at 1:30pm Forum Moderator, 5511 Posts

- How the heck do you set the thing to development in the config file?

See http://doc.silverstripe.com/doku.php?id=debugging for more information on how to set debugging errors etc. You just need to add this command to your mysite/_config.php file

Director::set_environment_type("dev");

As for deletion of all your data, if you followed the instructions above you should have only 'emptied' the members table and rebuilt it with the user accounts as the second step. You should have not lost anything apart from the current member accounts. You may have hit 'Empty' when you had selected the database rather then just the 'members' table? which will empty everything!

Of course when your messing round straight in the database it pays to be doubly sure about what your doing!

Avatar
Sean

25 September 2008 at 1:38pm Forum Moderator, 921 Posts

I can't stress that enough, make sure you backup your database at least once a week. Optimally once a day, and even better, keep a backup of the DB off site (off the server) every now and then.

When messing around with the database in phpMyAdmin you need to be VERY careful.