Page 1 of 1

Fatal error when moving from test server to production server

Posted: Thu Mar 30, 2006 4:03 pm
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

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

Posted: Thu Mar 30, 2006 6:01 pm
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

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

Posted: Thu Mar 30, 2006 7:31 pm
by Dr.CSS
So did you get it to work? and how?

  mark

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

Posted: Fri Mar 31, 2006 2:00 pm
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 :)