22848 Posts in 9653 Topics by 2803 members
|Go to End|
13 May 2009 at 7:33am
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,
15 May 2009 at 7:29am
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?
15 May 2009 at 9:26pm Last edited: 15 May 2009 9:29pm
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...
16 May 2009 at 2:04pm
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,
|Go to Top|