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   805 Views

Avatar
suntrop

Community Member, 131 Posts

8 April 2010 at 3:48am

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

Forum Moderator, 1804 Posts

8 April 2010 at 4:00am

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

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


...then login with that.

Avatar
suntrop

Community Member, 131 Posts

8 April 2010 at 4:12am

Cool! Thanks a lot for your quick help!

That works :)