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.

Archive

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

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

Cannot login to cms (I'm sorry ...)


Reply

6 Posts   2789 Views

Avatar
rubencausyn

25 April 2007 at 12:06am Community Member, 1 Post

When I try to login to my adminpanel,
I get following error:

I'm sorry, but you can't access that part of the CMS. If you want to log in as someone else, do so below

I changed already:

protected static $currentController;

public static $currentController;
in sapphire/core/control/Controller.php at about line 219

But now, I still Can't login, anyone an idea how to fix this?

Avatar
Ingo

25 April 2007 at 4:47am Forum Moderator, 801 Posts

hm can you confirm that the credentials you're using are actually existing in the database? or do you have a default admin set by Security::setDefaultAdmin()?
is this member linked to the ADMIN-permission?
another debugging method would be to clear all session- and domain-cookies for the specific site (we encountered problems before where redirect-urls were kept in cache which prevented restricted users from accessing the "right" cms-areas)

Avatar
Willr

25 April 2007 at 9:42am Forum Moderator, 5511 Posts

http://doc.silverstripe.com/doku.php?id=common-problems run through those and see if it helps :D

Avatar
Andy

2 May 2007 at 11:55am 230 Posts

This should be fixed in the daily build (http://dailybuild.silverstripe.com)

Avatar
Pixel

10 July 2008 at 3:51am Community Member, 78 Posts

I am having the same problem as ruben - is there a definitive solution?

Avatar
Pixel

10 July 2008 at 5:08am Community Member, 78 Posts

OK problem solved. Luckily for some reason the database had my email address - where it got it from i do not know - apart from i have a form that sends to it whilst i was testing.
So that meant i could reset the password (altho i never had one for the email address) and hey presto - were back in!
So from now on i am going to make sure that instead of using the default admin and password during development - I will create a new administrator with an actual email address that I can access and change the password