Jump to content

Fatal error


Recommended Posts

I have error in my shop:

 


Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "/home/qamille/public_html/sklep/themes/leo_odin/sub/product-item/product-item.tpl" on line 52 "<a class="add_to_compare btn-product" href="{$product.link|escape:'html':'UTF-8'}" data-id-product="{$product.id_product}" title="{l s='Add to Compare'">" - Unexpected """, expected one of: "}" <-- thrown in /home/qamille/public_html/sklep/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 52

The home page and CMS are not working, but the subpages are working:

 

homepage: 

http://qamille.kylos.pl/sklep/

 

subpage:

 

http://qamille.kylos.pl/sklep/80-plakaty

 

Link to comment
Share on other sites

This line of code ends incorrectly.

<a class="add_to_compare btn-product" href="{$product.link|escape:'html':'UTF-8'}" data-id-product="{$product.id_product}" title="{l s='Add to Compare'">"

Specifically this line is wrong.  provide the entire file or the entire line of code

title="{l s='Add to Compare'">"

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...