Fatal error when moving from test server to production server

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
flips

Fatal error when moving from test server to production server

Post by flips »

Hi!
I got the files and the database moved, and I've edited the config.php, so it finds the username/password, I can login. There's some bugs in the admin UI as well, but the main bug is my site which just reports:

Fatal error: Smarty error: [in template:16 line 8]: syntax error: unrecognized tag 'title' (Smarty_Compiler.class.php, line 580) in /home/USER/public_html/lib/smarty/Smarty.class.php on line 1095

Could it be related to this one?
$config['image_transform_lib_path'] = '/usr/bin/ImageMagick/';
I don't think ImageMagick is installed on the prod server. Not sure if we have any alternatives for it either. If my ISP allows, I can copy in my own binary. But I don't know what Smarty is ...

Any hints/clues?

--
flips
flips

Re: Fatal error when moving from test server to production server

Post by flips »

I could probably just delete this post, but maybe someone else runs into the same trouble, so I'll reply to myself once again. :)  I ran through the install.php script again at my new server (without installing sample content or creating db from this script, and a quick diff on the config.php after this shows that it probably was either the dbms variable or a trailing slash in root_url or the typo in one path). So it was the usual: Human error. :)

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

Re: Fatal error when moving from test server to production server

Post by Dr.CSS »

So did you get it to work? and how?

  mark
flips

Re: Fatal error when moving from test server to production server

Post by flips »

maksbud wrote: So did you get it to work? and how?
I think I already answered that. :)  I ran the install/install.php script anew on the new server.
After that I did a diff to see the differences in config.php, and it turned out that either one of my typos (I had one wrong dirname and one url with a trailing slash) caused the error, or the fact that install.php changed the $config[dbms] variable. Either from "mysql" to "mysqli" or the other way around.
I hope that helped?

--
flips :)
Locked

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