Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » admin email and password does not work

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

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

Page: 1 2
Go to End
Author Topic: 10352 Views
  • Willr
    Avatar
    Forum Moderator
    5464 Posts

    Re: admin email and password does not work Link to this post

    - 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!

  • Sean
    Avatar
    Forum Moderator
    921 Posts

    Re: admin email and password does not work Link to this post

    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.

    10352 Views
Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.