Page 1 of 1

Urgent - moving site, getting smarty errors

Posted: Mon Jul 05, 2010 12:37 am
by Dramatic
I'm in the middle of moving a site (1.7.1) which I converted to CMSMS on my server to a server on which I only have FTP access (no shell). I'm pretty sure I've made all the necessary changes in config.php, and I've imported my database.

I'm getting smarty errors like so:

Code: Select all

string(126) "Smarty error: [in template:23 line 1]: syntax error: unrecognized tag 'process_pagedata' (Smarty_Compiler.class.php, line 590)" string(115) "Smarty error: [in template:23 line 5]: syntax error: unrecognized tag 'title' (Smarty_Compiler.class.php, line 590)" string(118) "Smarty error: [in template:23 line 5]: syntax error: unrecognized tag 'sitename' (Smarty_Compiler.class.php, line 590)" string(118) "Smarty error: [in template:23 line 6]: syntax error: unrecognized tag 'metadata' (Smarty_Compiler.class.php, line 590)" string(120) "Smarty error: [in template:23 line 7]: syntax error: unrecognized tag 'stylesheet' (Smarty_Compiler.class.php, line 590)" string(115) "Smarty error: [in template:23 line 20]: syntax error: unrecognized tag 'menu' (Smarty_Compiler.class.php, line 590)" string(117) "Smarty error: [in template:23 line 26]: syntax error: unrecognized tag 'search' (Smarty_Compiler.class.php, line 590)" string(125) "Smarty error: [in template:23 line 28]: syntax error: unrecognized tag 'global_content' (Smarty_Compiler.class.php, line 590)" string(116) "Smarty error: [in template:23 line 38]: syntax error: unrecognized tag 'title' (Smarty_Compiler.class.php, line 590)" string(118) "Smarty error: [in template:23 line 39]: syntax error: unrecognized tag 'content' (Smarty_Compiler.class.php, line 590)"
What, if anything, is missing?
Both servers have the same OS/CP (kloxo on CentOS), the target server has more up to date php (5.2.18 vs 5.2.13)

I just tried admin, and I can log in, but there seem to be language strings missing:
Content
This is where we add and edit content.
Subitems: Pages, Image Manager, Global Content Blocks, --Add Me - module:FileManager string:friendlyname--, --Add Me - module:News string:news--

Re: Urgent - moving site, getting smarty errors

Posted: Mon Jul 05, 2010 1:09 am
by Dramatic
whoops - putting code tags on that error message really messed up the display, and I've lost the ability to modify now.

I just remembered one difference between servers - target server running suPHP rather than mod_php.
I've now gotten shell access as the site user, and have downloaded and unzipped the 1.7.1 installer, but the install screens have some interspersed smarty error messages like

string(123) "Smarty error: [in installheader.tpl line 31]: syntax error: unrecognized tag 'assign' (Smarty_Compiler.class.php, line 590)"

Re: Urgent - moving site, getting smarty errors

Posted: Mon Jul 05, 2010 4:51 am
by Nullig
Sounds like all of the files didn't copy properly. Have you tried re-uploading them?

Nullig

Re: Urgent - moving site, getting smarty errors

Posted: Thu Jul 08, 2010 5:50 am
by Dr.CSS
I've gotten that same error, string 123 bla bla bla************ but I just kept going and it worked fine from day one and still works fine, it's something to do with the images for the 1 2 3 4 5 6 etc. install steps...

Re: Urgent - moving site, getting smarty errors

Posted: Thu Jul 08, 2010 9:31 am
by Ted
Looks like the path is wrong in config.php to me.

Re: Urgent - moving site, getting smarty errors

Posted: Sat Jul 10, 2010 5:05 pm
by Sponsi
I was just looking for a solution to one problem with 1.8.

Anyway, apart from paths and root URL, and of course mod_rewrite base if you had changed it, remember to clean tmp/templates_c after the move...