moving from development to active
-
Ejohnston
moving from development to active
Hello, i just started working with cmsms and i created an replacement for my companies current site. the replacement is sitting at mysite.com/cmsmadesimple however now that the mock up is complete i need it to answer to mysite.com instead of mysite.com/cmsmadesimple im sure that this is a common enough problem so im hoping someone here will know where i can find the information on how to do that.
Re: moving from development to active
I do this manually:
- Edit the config.php file and set the paths. The file is pretty self explanatory and you should be able to fgure out which paths to change and what values to set.
- Download a SQL dump of your database
- Search and replace all instances of mysite.com/cmsmadesimple with mysite.com in the SQL file
- Populate the database with the new SQL file
Last edited by jatinder on Wed Jun 27, 2007 5:37 am, edited 1 time in total.
-
cyberman
Re: moving from development to active
There's a section in wiki for that
http://wiki.cmsmadesimple.org/index.php ... New_Server
Another way could be to run install procedure WITHOUT writing database once again (step 4). You have only to clear config.php. New pathes will be found automatically.
http://wiki.cmsmadesimple.org/index.php ... New_Server
Another way could be to run install procedure WITHOUT writing database once again (step 4). You have only to clear config.php. New pathes will be found automatically.
Re: moving from development to active
The wiki does not mention anything about replacing the URLs in the database dump. This is important. Otherwise you will end up with broken links and images with wrong source paths.
Shifting CMSMS from one server to another is pretty simple and mostly just involves transferring the files. You need to be careful only of two things:
1. Editting the config.php file.
2. Replace the URLs in the SQL dump.
-
cyberman
Re: moving from development to active
Yes you were right - but if you use relative URL (like default CMSms install) this should be no problemjatinder wrote: The wiki does not mention anything about replacing the URLs in the database dump. This is important. Otherwise you will end up with broken links and images with wrong source paths.
Re: moving from development to active
I posted a very similar question ia a different thread and Pierre's resonse here worked perfectly
http://forum.cmsmadesimple.org/index.ph ... l#msg64422
http://forum.cmsmadesimple.org/index.ph ... l#msg64422
Re: moving from development to active
Well, on my default install, the WYSIWYG editor always uses absolute paths for internal links as well as image source paths.Yes you were right - but if you use relative URL (like default CMSms install) this should be no problem

