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.

General Questions /

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

Login problem


Reply


4 Posts   1392 Views

Avatar
Mike Mairangi

Community Member, 8 Posts

13 May 2009 at 7:33am

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

Avatar
Mike Mairangi

Community Member, 8 Posts

15 May 2009 at 7:29am

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

Avatar
martimiz

Forum Moderator, 1132 Posts

15 May 2009 at 9:26pm

Edited: 15/05/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...

Avatar
Mike Mairangi

Community Member, 8 Posts

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,

Cheers

Mike