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.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Problems with login


Reply


3 Posts   1269 Views

Avatar
Mgc

Community Member, 23 Posts

11 August 2008 at 7:43am

Edited: 11/08/2008 7:44am

Hi all,

I have a bit of a situation. I had installed silverstripe and everything was working well until I changed the password for the administrator and when I did now i cant log in.

I tried changing the password though the database using phpmyadmin and no dice.

does anyone know what the problem is?

Thanks

Avatar
spenniec

Community Member, 37 Posts

11 August 2008 at 8:33am

Hi
Try putting this line in your _config.php
Security::setDefaultAdmin("admin", "password");

Then try logging in with username admin and password of password.

See http://doc.silverstripe.com/doku.php?id=security

Avatar
Mgc

Community Member, 23 Posts

11 August 2008 at 3:57pm

Thanks for the reply

I have read in other threads that pecie of code works. I did a re installation and it worked but every time I try to change the default user name and password for some reason it does not let me log in.