Jump to content

Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "/home/bebeski/public_html/albib


alkisgr

Recommended Posts

i have this error

Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "/home/bebeski/public_html/albibaby.gr/themes/flatize/mails/el/order_conf_product_list.txt" on line 2 "{$product[\'reference\']}" - Unexpected "\" <-- thrown in /home/bebeski/public_html/albibaby.gr/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 2

 

But i cant find nowere  {$product[\'reference\']}

 

My configuration is 

{foreach $list as $product}

{$product['reference']}
 
{$product['name']}
 
{$product['price']}
 
{$product['quantity']}
 
{$product['price']}
 
{foreach $product['customization'] as $customization}
{$product['name']} {$customization['customization_text']}
 
{$product['price']}
 
{$product['customization_quantity']}
 
{$product['quantity']}
{/foreach}
{/foreach}
 
I have off the magick quotes
 
Any idea?
Link to comment
Share on other sites

In which file are you looking for the error ?

 

In your theme in use there is an syntax error in themes/flatize/mails/el/order_conf_product_list.txt. There is an \ which should be not there. Please revert to the theme developer. Alternatively you can use notepad ++ for search on server files on folder /themes for the wrong passage: {$product[\'reference\']}

  • Like 1
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...