Page 1 of 1

Help: Moving CMS To another server

Posted: Thu Mar 08, 2007 4:14 pm
by fooBar
Hey,
I installed and configured your nice CMS on localhost in the directory /cmsms/.
Not I wanted to move it to my server. I uploaded everything from localhost/cmsms/ to domain.de/.
I set chmod 777 to tmp/ and uploads/.
Than I exported my local written database, opened the .sql file in a texteditor and replaced localhost/cmsms/ with www.domain.de/.
Now I opened www.domain.de and I just got these errors:

Code: Select all

string(118) "Smarty error: [in template:18 line 4]: syntax error: unrecognized tag 'sitename' (Smarty_Compiler.class.php, line 583)"
string(115) "Smarty error: [in template:18 line 4]: syntax error: unrecognized tag 'title' (Smarty_Compiler.class.php, line 583)"
string(120) "Smarty error: [in template:18 line 8]: syntax error: unrecognized tag 'stylesheet' (Smarty_Compiler.class.php, line 583)"
string(122) "Smarty error: [in template:18 line 9]: syntax error: unrecognized tag 'cms_selflink' (Smarty_Compiler.class.php, line 583)"
string(123) "Smarty error: [in template:18 line 10]: syntax error: unrecognized tag 'cms_selflink' (Smarty_Compiler.class.php, line 583)"
string(123) "Smarty error: [in template:18 line 11]: syntax error: unrecognized tag 'cms_selflink' (Smarty_Compiler.class.php, line 583)"
string(119) "Smarty error: [in template:18 line 16]: syntax error: unrecognized tag 'root_url' (Smarty_Compiler.class.php, line 583)"
string(115) "Smarty error: [in template:18 line 27]: syntax error: unrecognized tag 'menu' (Smarty_Compiler.class.php, line 583)"
string(118) "Smarty error: [in template:18 line 31]: syntax error: unrecognized tag 'content' (Smarty_Compiler.class.php, line 583)"
and some other HTML Code below it, but only a very little bit of tzhe site. No background, no content etc ...

What's the matter? :(

Thanks!

Edit: But I just get in once when I have deleted the content of /tmp/cache and /tmp/templates_c. When it's loaded once, the errors don't appear anymore when reloading the site.

Re: Help: Moving CMS To another server

Posted: Thu Mar 08, 2007 4:59 pm
by cyberman
fooBar wrote: What's the matter? :(
The pathes in config.php are wrong.

Have your read this?

http://wiki.cmsmadesimple.org/index.php ... _Server/de

Re: Help: Moving CMS To another server

Posted: Thu Mar 08, 2007 7:05 pm
by fooBar
Ok I've followed to complete tut but it doesn't work either :(

Re: Help: Moving CMS To another server

Posted: Thu Mar 08, 2007 7:08 pm
by streever
Hey man,

you are doing pretty good so far.

double-check those paths. Seriously, you may think you have it right: you probably do not. It took me a few sites in general before I figured out paths. Many servers make it VERY confusing.

Check with your hosting company if you can't figure it out, but once you DO have it, and you change your config file, go to the admin & make sure to clear the cache. Otherwise the site still won't work.

Remember, it's a cached system, so there will be problems until you've cleared it after moving everything.

Re: Help: Moving CMS To another server

Posted: Fri Mar 09, 2007 6:41 am
by fooBar
Hey streever, I think it's working now :) Forgot about one really necessary path entry to be right :)

Re: Help: Moving CMS To another server

Posted: Sat Mar 17, 2007 12:23 pm
by streever
I'm glad :)!!! Good job