Smarty Error in Footer - Resolved

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
casa

Smarty Error in Footer - Resolved

Post 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
Last edited by casa on Mon Sep 04, 2006 1:42 pm, edited 1 time in total.
casa

Re: Smarty Error in Footer

Post 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
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Smarty Error in Footer

Post 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}
casa

Re: Smarty Error in Footer

Post 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
casa

Re: Smarty Error in Footer - Resolved

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

Return to “CMSMS Core”