Jump to:

21309 Posts in 5738 Topics by 2603 members

General Questions

SilverStripe Forums » General Questions » Login screen won't proceed to CMS (continuous loop)

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

Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1094 Views
  • novaweb
    Avatar
    Community Member
    106 Posts

    Login screen won't proceed to CMS (continuous loop) Link to this post

    Hey SilverStrippers,

    Here's one that's got me stumped....

    I've extended the Member object using DataObjectDecorator for a site I'm working on.

    If I declare this extension in mysite/_config.php using Object::add_extension('Member','MemberExtension') - SilverStripe won't allow me to access the CMS. It just keeps telling me to login. (Yes I'm using setDefaultAdmin)

    If I comment out the Object::add_extension line it lets me access the CMS fine.

    See code here: http://pastie.org/1809722

    SS 2.4.3 / Mac OSX 10.5 / MAMP

    Yes the session.save_path in Php.ini is writeable!

  • swaiba
    Avatar
    Forum Moderator
    1676 Posts

    Re: Login screen won't proceed to CMS (continuous loop) Link to this post

    Hi have you tried all the debugging methods?
    http://www.silverstripe.org/general-questions/show/16055

    there is probably an error that will give you a more descriptive description

  • novaweb
    Avatar
    Community Member
    106 Posts

    Re: Login screen won't proceed to CMS (continuous loop) Link to this post

    Hi Swaiba,

    Thanks for your post - I'm aware of all the debugging methods in SilverStripe.

    Bump bump if anyone has any ideas - just confirming this is not an error, or code crashing. It's simply the Login screen not allowing me to "proceed" to the CMS as an admin user.

    Something to do with using Object::add_extension on the Member object.

  • IOTI
    Avatar
    Community Member
    152 Posts

    Re: Login screen won't proceed to CMS (continuous loop) Link to this post

    I've had javascript/jQuery errors keep me from accessing the CMS in the past. Check firebug to see if there are any errors there. Just mentioning in case you were only looking for SS errors.

    I would try a fresh 2.4.3 install with that same class and see if you get similar results.

  • martimiz
    Avatar
    Forum Moderator
    877 Posts

    Re: Login screen won't proceed to CMS (continuous loop) Link to this post

    took me about 30 secs to test your code on my 245 test install - and it works like a charm, using defaultAdmin or not So it must be something else ?

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