Page 1 of 1

Moving files from one directory to another

Posted: Fri Mar 31, 2006 7:22 pm
by visionet
I've been putting together a website using CMS Made Simple (not quite sure of the version - Version 0.11.2?) and presently it resides here It's ready to go into position to replace the current site on www.pinescalyx.co.uk.
However, when I tried to move all the files over on my test area running in another location using FTP, (everything is basically the same, even the host, but it's a seperate database) I discovered that the stylesheet isn't formatting the page content - originally everything was in the folder I used to start things off in and the stylesheets all worked.

As I don't want to remove the old pines calyx site until I know the new one can work, I'm loathe to make the change and then play with it until it does - so does anyone know what I should do to make the change over as painless as possible? One thing I tried without success, is to change the destination folder for the domain. That caused the same problem as with the test area. Strangely, this is not the case for www.pinescalyx.com

So, do I have to do a complete install of CMS Made Simple where I want the pages, or is there a magical way of moving them from within the software?

Please don't reply if you do not have a magic wand!  ;)

Re: Moving files from one directory to another

Posted: Fri Mar 31, 2006 8:10 pm
by calguy1000
Well, if you're simply moving the install, but want to use the same database, then you should be able to just move the files, and then change the paths, and urls in the config.php

If however, you want to use a different database, then you will have to export the existing database first, and import to the new one.

Keep in mind, in CMS, the templates, stylesheet, and content are all stored in the database, so moving to a different database without explicitly exporting and importing the database will cause you nothing but grief.

Re: Moving files from one directory to another

Posted: Fri Mar 31, 2006 10:03 pm
by visionet
Brilliant!

Did the trick and now fully loaded and working. Thanks for your help.
;D

Re: Moving files from one directory to another

Posted: Sat Apr 01, 2006 8:43 am
by amygdela
and don't forget to clear your cache a few times mate! :P I had some troubles with that as well...