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.

General Questions /

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

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

Can't login. No permissions. Urgent help request


Go to End


3 Posts   1067 Views

Avatar
suntrop

Community Member, 141 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, 1899 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, 141 Posts

8 April 2010 at 4:12am

Cool! Thanks a lot for your quick help!

That works :)