error at the top of page [SOLVED]

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.
Post Reply
EGS
Forum Members
Forum Members
Posts: 66
Joined: Sat Apr 28, 2007 4:25 am

error at the top of page [SOLVED]

Post by EGS »

Some of my pages are getting the following error at the top:

string(114) "Smarty error: [in tpl_body:21 line 78]: syntax error: unrecognized tag 'var' (Smarty_Compiler.class.php, line 590)" string(110) "Smarty error: [in tpl_body:21 line 80]: syntax error: unrecognized tag: (Smarty_Compiler.class.php, line 446)" string(111) "Smarty error: [in tpl_body:21 line 80]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)"

It's random pages though...every page in my news module and then a page that I put a menu in on the page's content.
Please help.
Last edited by reneh on Fri Apr 24, 2009 5:31 pm, edited 1 time in total.
EGS provides MMORPG services for WoW, FFXI, FFXIV, AION, Warhammer Online, Age of Conan, RuneScape, Guild Wars, Maple Story, Cabal Online, as well as most other free-to-play MMORPGs.

Our site is *proudly* powered by CMS Made Simple. :D

CMS Made Simple isn't just simply, it's ridiculously powerful, and suitable for virtually any site and niche. It easily allows us to maintain our site in which receives about 5,000 unique visitors per day.
tyman00
Power Poster
Power Poster
Posts: 906
Joined: Tue Oct 24, 2006 5:59 pm

Re: Possible Bug?

Post by tyman00 »

You likely have something in one of your news templates or menu templates (I couldn't quite decipher your last sentence).

It would be a smarty call that isn't well formed and has "var" in it (hence the "unrecognized tag 'var') part.

In the future please post more information about what you are doing. Just positng the error isn't enough. We need to know version numbers for modules and cmsms. Showing us your templates that are used in the "affected" pages wouldn't hurt either. If you want a well formed and helpful response... your post has to be well formed and helpful as well. Our crystal balls are broken ;) we can't see what you are doing or know what you are thinking ;D


Edit: Please don't automatically label everything as bug. This situation looks to me to be more user error than CMS error.
Last edited by tyman00 on Thu Apr 23, 2009 4:06 pm, edited 1 time in total.
If all else fails, use a bigger hammer.
M@rtijn wrote: This is a community. This means that we work together and have the same goal (a beautiful CMS), not that we try to put people down and make their (voluntary) job as difficult as can be.
alby

Re: Possible Bug?

Post by alby »

EGS wrote: It's random pages though...every page in my news module and then a page that I put a menu in on the page's content.
As timann0 say and the README rules, more informations please!
Probably you have a javascript in that page/template. Surround this with {literal} tag.

Alby
EGS
Forum Members
Forum Members
Posts: 66
Joined: Sat Apr 28, 2007 4:25 am

Re: Possible Bug?

Post by EGS »

Wow! I tried doing the literal thing around my Google Analytics tracking code to see if it would work and it fixed the error!
Amazing! Thanks much & sorry for calling it a bug, I wasn't sure...any error to me is a bug. :P :(
EGS provides MMORPG services for WoW, FFXI, FFXIV, AION, Warhammer Online, Age of Conan, RuneScape, Guild Wars, Maple Story, Cabal Online, as well as most other free-to-play MMORPGs.

Our site is *proudly* powered by CMS Made Simple. :D

CMS Made Simple isn't just simply, it's ridiculously powerful, and suitable for virtually any site and niche. It easily allows us to maintain our site in which receives about 5,000 unique visitors per day.
tyman00
Power Poster
Power Poster
Posts: 906
Joined: Tue Oct 24, 2006 5:59 pm

Re: Possible Bug?

Post by tyman00 »

Glad to see you got it worked out. The problem with calling things bugs that really aren't bugs creates a false negative image for the product.
If all else fails, use a bigger hammer.
M@rtijn wrote: This is a community. This means that we work together and have the same goal (a beautiful CMS), not that we try to put people down and make their (voluntary) job as difficult as can be.
alby

Re: Possible Bug?

Post by alby »

EGS wrote: Wow! I tried doing the literal thing around my Google Analytics tracking code to see if it would work and it fixed the error!
Amazing! Thanks much & sorry for calling it a bug, I wasn't sure...any error to me is a bug. :P :(
Please follow the rules: edit first post and put [SOLVED] in title and re-elaborate title for others
Thank you

Alby
Post Reply

Return to “CMSMS Core”