Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Cannot login to cms (I'm sorry ...)

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

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

Page: 1
Go to End
Author Topic: 2756 Views
  • rubencausyn
    Avatar
    Community Member
    1 Post

    Cannot login to cms (I'm sorry ...) Link to this 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?

  • Ingo
    Avatar
    Forum Moderator
    801 Posts

    Re: Cannot login to cms (I'm sorry ...) Link to this post

    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)

  • Willr
    Avatar
    Forum Moderator
    5489 Posts

    Re: Cannot login to cms (I'm sorry ...) Link to this post

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

  • Andy
    Avatar
    230 Posts

    Re: Cannot login to cms (I'm sorry ...) Link to this post

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

  • Pixel
    Avatar
    Community Member
    78 Posts

    Re: Cannot login to cms (I'm sorry ...) Link to this post

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

  • Pixel
    Avatar
    Community Member
    78 Posts

    Re: Cannot login to cms (I'm sorry ...) Link to this post

    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

    2756 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.