21491 Posts in 5783 Topics by 2621 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1054 Views |
-
Can't login, even with default admin set

9 August 2011 at 6:20pm
I am currently in the process of deploying a SilveStripe site on a production server. Everything is running fine except I can't login at /Security/login.
The database was imported from my local development site. I have checked the members table in the database, there are 2 records there. I have also set the default admin in mysite/_config.php using
Security::setDefaultAdmin('admin','password');
But every time I try to login I just get redirected back to the login page with no message.
I even the reset password process, got sent the reset link but that just redirects me back to /Security/login?BackURL=%2FSecurity%2Fchangepassword, requesting I log in again...
Could it be something to do with the server? The client has their own hosting with NetFirms (which I have not used before)... Anyone have any trouble shooting suggestions?
Thanks
-
Re: Can't login, even with default admin set

9 August 2011 at 9:15pm
After over 3 painful hours trying to work this out I finally got it. Tried doing a fresh install of SilverStripe on the server and was recommended by the installer to adjust the following.
magic_quotes_gpc = off
asp_tags = offYay
| 1054 Views | ||
|
Page:
1
|
Go to Top |

