17488 Posts in 4473 Topics by 1978 members
| Go to End | Next > | |
| Author | Topic: | 10142 Views |
-
admin email and password does not work

10 July 2008 at 12:42am
I cannot log in to the admin page on one of my sites but have not changed the username or password. Why is this so?
One thing i did notice when i was last in it is that is said i was logged in as "yihy hijythir" or something similar, rather than "admin"!
At the time I was logged into the admin and in another window I was just testing a UserDefinedForm and in the email feild put something like "yihy hijythir" just to fill it in.
Could this have changed the email for the login!?
How can i reset or change the login details? -
Re: admin email and password does not work

10 July 2008 at 12:49am Last edited: 10 July 2008 12:50am
If i use admin and password i do not get the green box saying that i am not using the right email and password but if i try it with a different email and the same password it does!?
-
Re: admin email and password does not work

10 July 2008 at 10:01am
How can i reset or change the login details?
Do you have access to the db or something like phpmyadmin to manage it? What you can do is view the members table - remove all the members (should only be admin) and then you can visit yoursite.com/db/build?username=admin&password=password to recreate the admin / password account. But this only works if there is no users in the system currently
-
Re: admin email and password does not work

21 July 2008 at 2:51am
I'm having the same issue. Created a new site, added admin/admin user password, but cannot login.
I've tried to empty the Members table and call /db/build?username=admin&password=admin, but no new record is created in the Members table.
-
Re: admin email and password does not work

21 July 2008 at 12:14pm
strange if that didnt work. You might need to reinstall it.
-
Re: admin email and password does not work

10 August 2008 at 3:54pm
willr - tried your advice, it worked
thanks!
-Billy
-
Re: admin email and password does not work

15 August 2008 at 2:24am
This worked for me too. So yah as willr said remove all records from members table and then make sure your site is set to development mode in the mysite config file. Then run yoursite.com/db/build?username=admin&password=password
-
Re: admin email and password does not work

25 September 2008 at 12:43pm Last edited: 25 September 2008 12:54pm
How the heck do you set the thing to development in the config file?
DO NOT FOLLOW THE ADVICE ABOVE!!!!!!! *danger Will Robinson danger*
F*CK! Think I just lost *EVERYTHING*
I am really beginning to hate Silverstripe.
| 10142 Views | ||
| Go to Top | Next > |





