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.
error at the top of page [SOLVED]
error at the top of page [SOLVED]
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.
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.
Our site is *proudly* powered by CMS Made Simple.

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.
Re: Possible Bug?
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 
Edit: Please don't automatically label everything as bug. This situation looks to me to be more user error than CMS error.
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


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.
Re: Possible Bug?
As timann0 say and the README rules, more informations please!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.
Probably you have a javascript in that page/template. Surround this with {literal} tag.
Alby
Re: Possible Bug?
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.

Amazing! Thanks much & sorry for calling it a bug, I wasn't sure...any error to me is a bug.


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.
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.
Our site is *proudly* powered by CMS Made Simple.

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.
Re: Possible Bug?
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.
Re: Possible Bug?
Please follow the rules: edit first post and put [SOLVED] in title and re-elaborate title for othersEGS 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.![]()
![]()
Thank you
Alby