Page 1 of 1

Smarty Error in Footer - Resolved

Posted: Sat Sep 02, 2006 9:39 pm
by casa
I posted this on Installation help and got no response, so I'm trying over here. I saw 2 other posts for a Smarty Error, but those folks made changes before getting the error. I didn't change anything.

Before going live, I'm developing at localhost. I just got everything installed and looked at the sample template. I have this error in the footer bar:
Fatal error: Smarty error: [in globalcontent:footer line 2]: syntax error: unrecognized tag 'cms_version' (Smarty_Compiler.class.php, line 580) in C:\Apache2\htdocs\cmsms\lib\smarty\Smarty.class.php on line 1095
I haven't done anything yet other than follow the installation instructions. I made no changes to anything. I just viewed the index page after finishing the install.

Why would I get this error and how can I make it go away?

I think I'm really going to like this cms once I get it going.

Particulars:

    * PHP Version 5.1.4
    * Apache/2.0.58 (Win32)
    * MySQL Version 4.1.7
    * CMS Made Simple Version 0.13 (downloaded 2006-08-25)


Thanks,
Alisa

Re: Smarty Error in Footer

Posted: Sat Sep 02, 2006 10:23 pm
by casa
I tried commenting out the line:

Code: Select all

$this->use_sub_dirs = true;
but the error message is still in the footer.

Thanks,
Alisa

Re: Smarty Error in Footer

Posted: Sun Sep 03, 2006 12:11 am
by Dr.CSS
Go to Content » Global Content Blocks » Edit Global Content Block: footer and see what the source says, it should read...

© Copyright 2005 Nobody
This site is powered by CMS Made Simple version {cms_version}

Re: Smarty Error in Footer

Posted: Sun Sep 03, 2006 1:01 am
by casa
yes, exactly:

Code: Select all

<p>© Copyright 2005 Nobody<br /> This site is powered by <a href="http://www.cmsmadesimple.org">CMS Made Simple</a> version {cms_version}</p>
It's must be blowing up on {cms_version} because when I remove {cms_version}, the Smarty error goes away.

Thanks,
Alisa

Re: Smarty Error in Footer - Resolved

Posted: Mon Sep 04, 2006 1:43 pm
by casa
On my post for help under Installation, it was suggested that I check to see if
Is file plugins/function.cms_version.php present
was present. The file was not present. I downloaded again and the file was there on the second download. I just saved that file in the plugins folder and the initial problem was resolved.

The question now is, Why was that file missing from the first download which was done about 9 or 10 days ago???

Thanks,
Alisa