Urgent - moving site, getting smarty errors

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
Dramatic

Urgent - moving site, getting smarty errors

Post 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--
Last edited by Dramatic on Mon Jul 05, 2010 12:46 am, edited 1 time in total.
Dramatic

Re: Urgent - moving site, getting smarty errors

Post 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)"
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Urgent - moving site, getting smarty errors

Post by Nullig »

Sounds like all of the files didn't copy properly. Have you tried re-uploading them?

Nullig
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Urgent - moving site, getting smarty errors

Post 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...
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: Urgent - moving site, getting smarty errors

Post by Ted »

Looks like the path is wrong in config.php to me.
Sponsi

Re: Urgent - moving site, getting smarty errors

Post 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...
Locked

Return to “[locked] Installation, Setup and Upgrade”