Page 1 of 1

Moving to a new Server

Posted: Fri Sep 11, 2009 11:09 pm
by karc2007
Hi,

ist there any problem, when i´m moving to a new server with cmsmadesimple? I noticed, that the CGEExtensions Module does make problems (but I will post my question to this seperate at the modules section). But is there any other problem I have to care about before?

The bad thing is, I can´t test the site before moving the domain.

Update:
I removed CGEExtensions now.. so im rid of that problem, but  one error it shows on the new Server is like this (with some Plesk-Preview-Option): (The adress in the browser is in this case for example: https://some.ip.adress/sitepreview/http ... domain.com
string(115) "Smarty error: [in template:23 line 4]: syntax error: unrecognized tag 'title' (Smarty_Compiler.class.php, line 590)" string(118) "Smarty error: [in template:23 line 5]: syntax error: unrecognized tag 'metadata' (Smarty_Compiler.class.php, line 590)" string(125) "Smarty error: [in template:23 line 33]: syntax error: unrecognized tag 'global_content' (Smarty_Compiler.class.php, line 590)" string(116) "Smarty error: [in template:23 line 34]: syntax error: unrecognized tag 'title' (Smarty_Compiler.class.php, line 590)" string(115) "Smarty error: [in template:23 line 36]: syntax error: unrecognized tag 'menu' (Smarty_Compiler.class.php, line 590)" string(122) "Smarty error: [in template:23 line 42]: syntax error: unrecognized tag 'breadcrumbs' (Smarty_Compiler.class.php, line 590)" string(118) "Smarty error: [in template:23 line 45]: syntax error: unrecognized tag 'content' (Smarty_Compiler.class.php, line 590)" string(116) "Smarty error: [in template:23 line 47]: syntax error: unrecognized tag 'print' (Smarty_Compiler.class.php, line 590)" string(126) "Smarty error: [in template:23 line 49]: syntax error: unrecognized tag 'socialBookmarks' (Smarty_Compiler.class.php, line 590)" string(115) "Smarty error: [in template:23 line 55]: syntax error: unrecognized tag 'menu' (Smarty_Compiler.class.php, line 590)" string(115) "Smarty error: [in template:23 line 58]: syntax error: unrecognized tag 'menu' (Smarty_Compiler.class.php, line 590)" string(115) "Smarty error: [in template:23 line 60]: syntax error: unrecognized tag 'menu' (Smarty_Compiler.class.php, line 590)" string(115) "Smarty error: [in template:23 line 63]: syntax error: unrecognized tag 'menu' (Smarty_Compiler.class.php, line 590)" string(115) "Smarty error: [in template:23 line 66]: syntax error: unrecognized tag 'menu' (Smarty_Compiler.class.php, line 590)" string(115) "Smarty error: [in template:23 line 69]: syntax error: unrecognized tag 'menu' (Smarty_Compiler.class.php, line 590)" string(125) "Smarty error: [in template:23 line 79]: syntax error: unrecognized tag 'global_content' (Smarty_Compiler.class.php, line 590)" string(121) "Smarty error: [in template:23 line 85]: syntax error: unrecognized tag 'cms_module' (Smarty_Compiler.class.php, line 590)" string(125) "Smarty error: [in template:23 line 86]: syntax error: unrecognized tag 'global_content' (Smarty_Compiler.class.php, line 590)" string(115) "Smarty error: [in template:23 line 93]: syntax error: unrecognized tag 'menu' (Smarty_Compiler.class.php, line 590)" string(125) "Smarty error: [in template:23 line 94]: syntax error: unrecognized tag 'global_content' (Smarty_Compiler.class.php, line 590)"
Is this just caused, because the domain isn´t moved or is it caused by something else? Maybe i´m just paranoid, but this is just too important and has to work right away.  ;)

I jsut want to get sure, that im not completly in the dark after I moved the domain.

thanks for any help,
Marc

Re: Moving to a new Server

Posted: Sat Sep 12, 2009 1:38 am
by Peciura
After site is moved to other server you might encounter some errors because some modules (e.g. Captcha, TemplateExternalizer, Calendar) saved  absolute paths of former server in 'cms_siteprefs' table. Find and correct them.

To ensure smooth moving i created 3-rd level domain like "test.mydomain.org" and directed it to new location. Then i copied files and imported sql. In this scenaio i had enough time to fix small problems. Just after i was sure new site had been working OK i renamed it to "mydomain.org" and directed domain name to new location.

Re: Moving to a new Server

Posted: Sat Sep 12, 2009 7:00 am
by fatlizard
It is not a big problem to move a site to another server.

There may be a few issues, such as that mentioned by Peciura, but there is nothing that can really 'break'.

Path references in config would need changing, and some directory permissions - there are a number of posts scattered through the forum about moving sites - go through them and most questions should be answered, and solutions provided.

Re: Moving to a new Server

Posted: Sat Sep 12, 2009 9:49 am
by vilkis
Hi,
did you change paths in your config.php file on new location?
vilkis

Re: Moving to a new Server

Posted: Sat Sep 12, 2009 7:27 pm
by guyinblack
what about the mysql database versions?

Im having some troubles after I switched servers from Plesk 8.2-based to Plesk 9.2-based , as seen here:
http://forum.cmsmadesimple.org/index.ph ... 226.0.html

Re: Moving to a new Server

Posted: Mon Sep 14, 2009 8:44 am
by karc2007
Thanks for all your tipps, now I should be able to do it without fear.