Jump to content

Cannot turn on Recompile templates if the files have been updated.


Recommended Posts

Hi,

I am running a store on Prestashop 1.5.6.0.

It us incredibly slow but every time i attempt to turn on "Recompile templates if the files have been updated" under the Template Cache i get a syntax error when trying to open a product.

The error is:

Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/home/esheesh/public_html/presta/themes/theme745/modules/productscategory/productscategory.tpl" on line 25 "{if $category.name == 'E-Volve Starter Kit' return}" too many shorthand attributes' in /home/esheesh/public_html/presta/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php:667 Stack trace: #0 /home/esheesh/public_html/presta/tools/smarty/sysplugins/smarty_internal_compilebase.php(71): Smarty_Internal_TemplateCompilerBase->trigger_template_error('too many shorth...', 25) #1 /home/esheesh/public_html/presta/tools/smarty/sysplugins/smarty_internal_compile_if.php(31): Smarty_Internal_CompileBase->getAttributes(Object(Smarty_Internal_SmartyTemplateCompiler), Array) #2 /home/esheesh/public_html/presta/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php(485): Smarty_Internal_Compile_If->compile(Array, Object(Smarty_Internal_SmartyTemplateCompiler), Array, NULL, NULL) #3 /home/eshe in /home/esheesh/public_html/presta/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 667

 

Store URL: e-sheesh.com/presta

 

Please help as without it the store in unbearably slow.

 

Thanks in advance for any help.

Link to comment
Share on other sites

Hi El Patron,

Thanks for the reply.

That's the particular product I was trying to view but this happens with any product and the error changes to that product.

Any idea how to resolve?

 

Thanks

 

Hi, thanks for the update...

 

can you attach the file to this post?

theme745/modules/productscategory/productscategory.tpl

Link to comment
Share on other sites

×
×
  • Create New...