renier8 Posted December 24, 2013 Share Posted December 24, 2013 Hi everyone, I am in the beginning stages of setting up my shop. I changed the basics, deleting a few unwanted blocks. No serious modification. Themes worked fine. Now obviously I have done something wrong. None of the other themes work, except the default one. The error I get is as follows: Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/home/chaocrfl/public_html/shop/modules/blockcms/blockcms.tpl" on line 66 "{/if}" unexpected closing tag' in /home/chaocrfl/public_html/shop/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php:667 Stack trace: #0 /home/chaocrfl/public_html/shop/tools/smarty/sysplugins/smarty_internal_compilebase.php(170): Smarty_Internal_TemplateCompilerBase->trigger_template_error('unexpected clos...', 66) #1 /home/chaocrfl/public_html/shop/tools/smarty/sysplugins/smarty_internal_compile_if.php(197): Smarty_Internal_CompileBase->closeTag(Object(Smarty_Internal_SmartyTemplateCompiler), Array) #2 /home/chaocrfl/public_html/shop/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php(475): Smarty_Internal_Compile_Ifclose->compile(Array, Object(Smarty_Internal_SmartyTemplateCompiler), Array, NULL, NULL) #3 /home/chaocrfl/public_html/shop/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php(2 in /home/chaocrfl/public_html/shop/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 667 I am afraid I don't know enough to troubleshoot this. Does anyone have any advice for me please? Alternatively, how can I re-install without losing my current modifications and settings? Thank you Link to comment Share on other sites More sharing options...
Er.Ritesh Posted December 24, 2013 Share Posted December 24, 2013 use default prestashop theme. Link to comment Share on other sites More sharing options...
shailendra Posted December 24, 2013 Share Posted December 24, 2013 from error message what i conclude is in blockcms.tpl, there is an extra {/if } closing tag on line no 66 is generating error. Either you can check this line by line or by replacing blockcms.tpl with the one provided in default prestastashop blockcms module. 2 Link to comment Share on other sites More sharing options...
renier8 Posted December 24, 2013 Author Share Posted December 24, 2013 Thank you Shailendra. I replaced the blockcms.tpl file and it works perfectly now. You are a star. Link to comment Share on other sites More sharing options...
shailendra Posted December 24, 2013 Share Posted December 24, 2013 Glad to here that. Now please mark this topic as solved. Link to comment Share on other sites More sharing options...
vekia Posted December 24, 2013 Share Posted December 24, 2013 i marked post #3 as a solution (not #4) and whole topic too. Best answer is a post with solution, please remember about that in nearest future thanks in advance, with regards, Milos Link to comment Share on other sites More sharing options...
Recommended Posts