Page 1 of 1

[SOLVED] Facebook plugin - occasional error

Posted: Wed Dec 05, 2012 12:44 am
by HoofArted
I'm using: 1.10.3 "Hyacinthe"

I installed FacebookLikeButton: http://dev.cmsmadesimple.org/projects/likebutton

I created global content block, that included:
<div class="facebook">{FacebookLikeButton font='verdana' colorscheme='light' lang='sl_SI' send='false'}</div>
Since the install I frequently get this error message, that disappears after refreshing the site:
string(101) "Smarty error: [in tpl_body:24 line 3]: [plugin] unknown tag - 'var' (core.load_plugins.php, line 198)" string(113) "Smarty error: [in tpl_body:24 line 3]: syntax error: unrecognized tag 'var' (Smarty_Compiler.class.php, line 590)"
Any ideas on what could be the problem here?

Re: Facebook plugin - occasional error

Posted: Wed Dec 05, 2012 2:37 pm
by Jos
Probably some javascript that is not enclosed by {literal}...{/literal} tags.
http://docs.cmsmadesimple.org/troublesh ... ed-tag-var

Re: [SOLVED] Facebook plugin - occasional error

Posted: Tue Dec 18, 2012 8:58 pm
by HoofArted
That did the trick, thank you.