[solved] Can't login after server move

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Location: Maidenhead, UK
Contact:

[solved] Can't login after server move

Post by paulbaker »

A hosting fu mix up meant that a site went offline for a while. Someone managed to grab .sql dump file and a zip of the files.

All files uploaded to new server. SQL data edited before upload to remove about 80MB of lines of data in the cms_module_stat tables (Statistics module). SQL uploaded OK in phpmyadmin.

It's a fairly old version of CMSMS - cms_version table shows version 32. So 1.10.3 perhaps?

Front end works fine.

Back end uses ZURA theme. I can't login. I try to login with existing user/pass and the screen just refreshes to login page again, no other message shown.

Tried
http://docs.cmsmadesimple.org/troublesh ... d-recovery
to update password. This appears to change the data in cms_users table. But doesn't change the fact you can't login; same thing happens as above.

BTW there is no "sitemask" value in table cms_siteprefs.

Tried resetting user/pass to admin admin using this
http://forum.cmsmadesimple.org/viewtopi ... 727#p70727
but that doesn't work either - same thing happens when you try to login.

Need sleep now, but...........help? ???
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: Can't login after server move

Post by calguy1000 »

Back end uses ZURA theme. I can't login. I try to login with existing user/pass and the screen just refreshes to login page again, no other message shown.
I'll bet money that either your config.php is messed up and/or the .htaccess.
disable pretty urls in the config.php, make sure the paths are proper, move the .htaccess file out of the way, and manually remove the cache files. you will probably then be able to login.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Location: Maidenhead, UK
Contact:

Re: Can't login after server move

Post by paulbaker »

calguy1000 wrote:I'll bet money that either your config.php is messed up
Calguy, I owe you another beer. You got it in one. The config.php file had

Code: Select all

$config['root_url'] = 'http://www.domain.co.uk';
but the new server was set to forward http://www.... requests to "http://domain.co.uk without the www.

I removed the "www." from the config.php and I was able to login.

BTW it's version 1.6.6.....I'll be upgrading asap!

Thanks again ;D
Locked

Return to “[locked] Installation, Setup and Upgrade”