Jump to:

23368 Posts in 18143 Topics by 2863 members

General Questions

SilverStripe Forums » General Questions » Login problem

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

Page: 1
Go to End
Author Topic: 1262 Views
  • Mike Mairangi
    Avatar
    Community Member
    8 Posts

    Login problem Link to this post

    Hi,

    I installed SS on my host's server for a client and this is working perfectly, howver I have now completed a second installation and I am getting the following problems;

    1. At ..../admin I enter the login details but I am just returned to the login page. I know the login information is correct, as I don't get an incorrect username and/or password message, and this is sporadic as sometimes I would be logged in successfully and redirected to the CMS.

    2. Same as above except I get a Welcome back message and a "You're logged in as ............" message yet I am still at the login page.

    I've seen that this may be a PHP memory issue but any help would be much appreciated,

    Cheers

    Mike

  • Mike Mairangi
    Avatar
    Community Member
    8 Posts

    Re: Login problem Link to this post

    Hi,

    I increased the memory avaialble and the next login worked!!! However after two days working ok I am getting the same issue. Login using the correct info and I get the Login page with Welcome Back, Mike.

    Anyone know the solution to this?

    Cheers

    Mike

  • martimiz
    Avatar
    Forum Moderator
    1067 Posts

    Re: Login problem Link to this post

    By what URL do you call your login page? If you use (bookmarked) http://<yoursite>/Security/login Silverstripe will assume that that is the page you want, even if you've logged in already.

    If you call http://<yoursite>/admin, Silverstripe will temporary redirect you to the url above, just to log in, but then redirect you to the cms...

  • Mike Mairangi
    Avatar
    Community Member
    8 Posts

    Re: Login problem Link to this post

    I was calling the login page via a saved link as http://<mysite>/Security/login I have changed the link properties to http://<mysite>/admin and I can login ok.

    I presumed the submit button would call a function to check the login details and, if ok, redirect to the admin area.

    Does the submit action link to itself and you are then either logged in successfully or not?

    Thanks for your help with this,

    Cheers

    Mike

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