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.

General Questions

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

Can't login. No permissions. Urgent help request


Reply

3 Posts   751 Views

Avatar
suntrop

8 April 2010 at 3:48am Community Member, 131 Posts

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!

Avatar
swaiba

8 April 2010 at 4:00am Forum Moderator, 1796 Posts

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

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


...then login with that.

Avatar
suntrop

8 April 2010 at 4:12am Community Member, 131 Posts

Cool! Thanks a lot for your quick help!

That works :)