Jump to:

22977 Posts in 11806 Topics by 2826 members

General Questions

SilverStripe Forums » General Questions » Can't login. No permissions. Urgent help request

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1
Go to End
Author Topic: 703 Views
  • suntrop
    Avatar
    Community Member
    131 Posts

    Can't login. No permissions. Urgent help request Link to this post

    Hi
    I just showed a customer the CMS and demonstrated the 'Security' section. As I clicked the permission levels I saw an 'server error' at the bottom and the next click logged me out.

    Maybe I removed myself (Adminstrators group) the admin rights!? And now I can't login anymore.

    Where can I change it in MySQL? Which table/field is responsible?

    If someone can please help, that would be great! Thanks!

  • swaiba
    Avatar
    Forum Moderator
    1769 Posts

    Re: Can't login. No permissions. Urgent help request Link to this post

    I'd add this to mysite/_config.php...

    Security::setDefaultAdmin('admin', 'admin');


    ...then login with that.

  • suntrop
    Avatar
    Community Member
    131 Posts

    Re: Can't login. No permissions. Urgent help request Link to this post

    Cool! Thanks a lot for your quick help!

    That works

    703 Views
Page: 1
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.