Page 1 of 1
cannot login to admin console
Posted: Sun Dec 22, 2013 4:58 pm
by dreams3577
Hi all.
I have just moved a cmsms install for one server to another.
Everything is work correct from the front end.. ie content, Menus etc.. and so db must also be correct.
However i cannot login to the admin console.
When i go to /admin i get the login screen.
I put in the correct username and password ( i have also looked in mysql to make sure this is correct) then click on the submit button..
The username and password fields clear and i am just presented with the username and password fields again
If i put in an incorrect password i get the same..
It is an old version 9.4.2..
Was working on the old server.
Any ideas?
Thanks
Steve
Re: cannot login to admin console
Posted: Sun Dec 22, 2013 5:48 pm
by staartmees
your cmsms-version is no longer supported. It would be better to first update to the newest version on the old server, and then move to the new server.
possible causes: did you clear the cache of the website?, incorrect paths in your config.php
Re: cannot login to admin console
Posted: Sun Dec 22, 2013 6:04 pm
by velden
Just curious how to check the password in mysql...
set new password:
http://docs.cmsmadesimple.org/troublesh ... admin-user
Re: cannot login to admin console
Posted: Sun Dec 22, 2013 9:14 pm
by calguy1000
The username and password fields clear and i am just presented with the username and password fields again
Your configuration and/or .htaccess files are not correct.
Re: cannot login to admin console
Posted: Sun Dec 22, 2013 9:30 pm
by Rolf
Do you use some kind of module to secure the admin login? If so, rename that module folder and try to login again.
Re: cannot login to admin console
Posted: Sun Dec 22, 2013 11:31 pm
by dreams3577
The password is stored in MySQL in MD5.
So use the site
http://www.adamek.biz/md5-generator.php
Type the password that you think it is.. click generate
if the MD5 hash is the same as that in the users table, then your password is the same..
Re: cannot login to admin console
Posted: Sun Dec 22, 2013 11:36 pm
by dreams3577
Hi All
Yep.. I know its an old version, how the old server is now offline...
I have manually cleared the cache (Iam sure I did it via the admin console before moving it also).
I have checked and double checked the config file.
.htaccess file also looks ok..
Any other ideas?
Thanks
Steve
Re: cannot login to admin console
Posted: Tue Dec 31, 2013 9:57 pm
by Dr.CSS
If you know the first admins password, put the install folder from your version of CMSMS in and run yoursite.com/install and at STEP 5 ADD DB DETAILS ETC. BUT UNCHECK CREATE TABLES and INSTALL DEFAULT CONTENT this will fix any path problems etc. in the config and should allow you to log in again...