Page 1 of 1

Fatal Smarty error on new install

Posted: Sun Jun 04, 2006 12:20 am
by mikem
Hi,

I just installed version 0.13 and everything seems to be working fine except when I try to view the site I get the following error message:


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


I can view the admin area just fine.

And the root directory I entered during the install is not "/home/www/mysite" but "/www/mysite".


I've installed older versions of CMSMS on this and other servers and have had no problems.

Any ideas on what I can do to fix this problem?

Some version info: CMSMS is 0.13, PHP is 4.4.0 and MySQL is 4.1.11. I don't have the Apache version handy but I can get it if needed (presumably it's 1.3x).

Thanks!
Mike

Re: Fatal Smarty error on new install

Posted: Sun Jun 04, 2006 4:21 am
by Dr.CSS
have you looked at your config.php file....

Re: Fatal Smarty error on new install

Posted: Sun Jun 04, 2006 7:51 am
by mikem
Yes. If I remember correctly, $config['root_path'] was listed asĀ  '/www/home/mysite'; in my config.php, from which I removed the "/home" bit with no change in results.

It's really weird.

Re: Fatal Smarty error on new install

Posted: Sun Jun 04, 2006 8:27 am
by Piratos
Title is a plugin in the folder plugins.

If there is something wrong in your path or the folder wasn't complete copied smarty cannot find this plugin and this causes the error.

Check your folder plugins if there is a file function.title.php and than check the path.

Title was used to show the content title by the visitor side and with admin preview.

Re: Fatal Smarty error on new install

Posted: Sun Jun 04, 2006 5:24 pm
by mikem
The file function.title.php was okay. The problem was the path. I restored the part I removed from it in config.php and the problem was solved.

Thanks for the help!

Mike