Page 1 of 1

Move to the new hosting

Posted: Mon Apr 11, 2011 3:33 pm
by pmolds
Hi,

I want to move my CMS to new hosting today, I backup my all files and SQL data, but it failed when I upload all files and import data to database, and I can't get into the admin, it should the account and password is not correct, but I promist it can get into at my old hosting.
What should I do now?
My system version is 1.6.5

Re: Move to the new hosting

Posted: Mon Apr 11, 2011 6:47 pm
by M@rtijn
Only the latest version of CMSMS is supported on this forum, but...

... if you can't login, you can't upgrade :D

Did you edit all references in the config.php files to point to the new domain?

You should edit all information for the following lines:

Code: Select all

$config['db_hostname']
$config['db_username']
$config['db_password']
$config['db_name']

$config['root_url']
$config['root_path']
$config['previews_path']
$config['uploads_path']
$config['image_uploads_path']
Also, you should look at the .htaccess and check if the path is correct

Code: Select all

#Sub-dir e.g: /cmsms
RewriteBase /
(if cmsms is not in a subfolder, then this line should not contain anything after the slash)