lemandingo Posted January 6, 2015 Share Posted January 6, 2015 (edited) Bonjour, Sur une de mes boutique j'ai une page blanche avec ce message en mode débug Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "/home/objetpubm/www/themes/default-bootstrap/mails/fr/order_conf_product_list.txt" on line 2 "{$product[\'reference\']}" - Unexpected "\" <-- thrown in /home/objetpubm/www/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 2 Pour info j'ai modifié les emails la veille mais la je bloque ... car dans le fichier qu'il me précise je ne vois rien... {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} Edited January 6, 2015 by lemandingo (see edit history) Link to comment Share on other sites More sharing options...
4e75 Posted January 6, 2015 Share Posted January 6, 2015 Salut, Pour moi il t'indique comme erreur -> l'anti-Slash ! Après verification je n'ai pas les \ dans mes fichiers Prestashop 1.6.0.9 .... Link to comment Share on other sites More sharing options...
lemandingo Posted January 6, 2015 Author Share Posted January 6, 2015 (edited) Exact mais ce que je ne comprends pas c'est que dans mes traductions... il est comme ceci {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} je vais essayer par le ftp... Edited January 6, 2015 by lemandingo (see edit history) Link to comment Share on other sites More sharing options...
4e75 Posted January 6, 2015 Share Posted January 6, 2015 Ca doit etre un bug de l'éditeur du Backoffice ... Essaye de remplacer ou nettoyer le fichier sans passer par le Backoffice ca va permettre de confirmer si c'est ca ... Link to comment Share on other sites More sharing options...
lemandingo Posted January 6, 2015 Author Share Posted January 6, 2015 Bon j'ai nettoyé le fichier en virant tous les anti slash et c'est ok maintenant. en effet cela devait être un problème de l'éditeur, il a buggé Je te remercie énormément. Link to comment Share on other sites More sharing options...
digiac Posted January 20, 2015 Share Posted January 20, 2015 Bonjour lemandingo, ou on peut nettoyer ces fichiers ? merci Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now