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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

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

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

admin email and password does not work


Go to End


10 Posts   12287 Views

Avatar
Willr

Forum Moderator, 5523 Posts

25 September 2008 at 1:30pm

- 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

Forum Moderator, 922 Posts

25 September 2008 at 1:38pm

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.

Go to Top