multiItemsTv icon indicating copy to clipboard operation
multiItemsTv copied to clipboard

error: SmartyCompilerException

Open Cipa opened this issue 14 years ago • 2 comments

Hi, I get an error in my TV section

I currently only have "name" in the multiitems Input Option values

Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/home/ssssssss/public_html/site/manager/templates/default/element/tv/renders/input/multiitems.tpl" on line 201 "" - Unexpected " ", expected one of: "PHP start tag" , "PHP end tag" , ASPSTARTTAG , ASPENDTAG , "Fake PHP start tag" , "Literal start" , "literal close" , LITERAL' in /home/ssssssss/public_html/site/core/model/smarty/sysplugins/smarty_internal_templatecompilerbase.php:423 Stack trace: #0 /home/ssssssss/public_html/site/core/model/smarty/sysplugins/smarty_internal_templateparser.php(2798): Smarty_Internal_TemplateCompilerBase->trigger_template_error() #1 /home/ssssssss/public_html/site/core/model/smarty/sysplugins/smarty_internal_templateparser.php(2863): Smarty_Internal_Templateparser->yy_syntax_error(0, 0) #2 /home/ssssssss/public_html/site/core/model/smarty/sysplugins/smarty_internal_smartytemplatecompiler.php(59): Smarty_Internal_Templateparser->doParse(0, 0) #3 /home/ssssssss/public_html/site/core/model/smarty/sysplugins in /home/ssssssss/public_html/site/core/model/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 423

Cipa avatar Feb 27 '11 22:02 Cipa

This ca n be fixed by adding {/literal} at the end of the file. Can you please fix the file Thank you

Cipa avatar Feb 28 '11 00:02 Cipa

I was just getting the same error... and wondering the same thing. Thanks Cipa!!! adding {/literal} after the last script tag in multiitems.tpl fixed it for me.

Hlight avatar Mar 08 '11 02:03 Hlight