Moving site from remote server to local WAMP server (editing config.php issues?)
Posted: Sun Jan 06, 2008 5:44 pm
Disclaimer: I tried the technique described in the Wiki and I have also worked through several more thorough examples in the forums. I've also read this, and feel slightly dismayed. 
I think my issues relate to how/what I need to edit in my config.php.
Here's the situation. I have a fully working CMSMS site living happily on our Linux web server. Now I would like to copy the whole thing onto my (Windows XP) laptop so that I can demo it to people.
On my laptop I have installed WAMP and have verified that it can run CMSMS, by installing CMSMS afresh and running the demo site. This works okay and I have now removed it ready for my own site.
Here's the problem...
When I copy my website to the laptop (having restored and configured the database via phpMyAdmin) this is what I get:
1. All of the site's stylesheets are missing/broken.
2. Website title is missing; it reads " - ".
3. All of the content and pages are missing, but oddly my logo is there!
4. Logging into the Admin area, the form takes me to the live website.
I have edited the config.php, setting:
$config['root_url'] = 'http://localhost:81/cmsms';
But I'm unsure about how to set the rest of the details. For example:
$config['image_uploads_path'] = '/var/www/vhosts/mydomain.com/httpdocs/uploads/images';
Is a Linux-type path, so should I set this to:
C:/wamp/www/cmsms/uploads/images ?
Thanks very much for any guidance and I would like to say that this would be a great thing to get added to the Wiki. This page is really not good (sorry whoever wrote it; it just makes enormous assumptions about an individual's setup and technical background).

I think my issues relate to how/what I need to edit in my config.php.
Here's the situation. I have a fully working CMSMS site living happily on our Linux web server. Now I would like to copy the whole thing onto my (Windows XP) laptop so that I can demo it to people.
On my laptop I have installed WAMP and have verified that it can run CMSMS, by installing CMSMS afresh and running the demo site. This works okay and I have now removed it ready for my own site.
Here's the problem...
When I copy my website to the laptop (having restored and configured the database via phpMyAdmin) this is what I get:
1. All of the site's stylesheets are missing/broken.
2. Website title is missing; it reads " - ".
3. All of the content and pages are missing, but oddly my logo is there!
4. Logging into the Admin area, the form takes me to the live website.
I have edited the config.php, setting:
$config['root_url'] = 'http://localhost:81/cmsms';
But I'm unsure about how to set the rest of the details. For example:
$config['image_uploads_path'] = '/var/www/vhosts/mydomain.com/httpdocs/uploads/images';
Is a Linux-type path, so should I set this to:
C:/wamp/www/cmsms/uploads/images ?
Thanks very much for any guidance and I would like to say that this would be a great thing to get added to the Wiki. This page is really not good (sorry whoever wrote it; it just makes enormous assumptions about an individual's setup and technical background).