Lorks-Sub Posted August 6, 2014 Share Posted August 6, 2014 (edited) Bonjour à tous, Depuis aujourd'hui j'ai un problème de page blanche sur ma boutique Prestashop. Pourtant j'ai effectué aucune mise à jour, aucun bidouillage depuis plusieurs mois car tout fonctionne nickel depuis plus de 2 ans. Voilà ce que me dit le navigateur : Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/home/boutiqueqo/www/themes/dm-free-black14/header.tpl" on line 49 "var priceDisplayPrecision = {$priceDisplayPrecision*$currency->decimals};" - Unexpected "&"' in /home/boutiqueqo/www/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php:431 Stack trace: #0 /home/boutiqueqo/www/tools/smarty/sysplugins/smarty_internal_templateparser.php(2855): Smarty_Internal_TemplateCompilerBase->trigger_template_error() #1 /home/boutiqueqo/www/tools/smarty/sysplugins/smarty_internal_templateparser.php(2920): Smarty_Internal_Templateparser->yy_syntax_error(39, '&') #2 /home/boutiqueqo/www/tools/smarty/sysplugins/smarty_internal_smartytemplatecompiler.php(51): Smarty_Internal_Templateparser->doParse(39, '&') #3 /home/boutiqueqo/www/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php(82): Smarty_Internal_SmartyTemplateCompiler->doCompile('<head>??<meta h...') #4 /home/boutiqueqo/www/tools/smarty/sysplugins/smar in /home/boutiqueqo/www/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 431 Merci de vos réponses Edited August 6, 2014 by Lorks-Sub (see edit history) Link to comment Share on other sites More sharing options...
Lorks-Sub Posted August 9, 2014 Author Share Posted August 9, 2014 Personne a une idée ?? PS : quand je change de thème tout redevient normal mais j'aimerai garder mon thème de départ avec toutes les modifs que j'ai effectuées dessus comprends toujours pas du jour au lendemain j'ai eu cette erreur sans toucher aux fichiers du thème ou prestashop... Link to comment Share on other sites More sharing options...
2FR3 Posted August 9, 2014 Share Posted August 9, 2014 Bonjour, Je pense a un probleme de cache, videz le Si vous ne savez comment faire, donnez nous la version de presta SVP. Link to comment Share on other sites More sharing options...
Lorks-Sub Posted August 13, 2014 Author Share Posted August 13, 2014 Merci pour ta réponse 2FR3 Alors j'ai prestashop 1.4.3 j'ai mis le cache smarty : Forcer la compilation : On et Cache : NON et j'ai effacé manuellement via FTP le répertoire cache et compile du répertoire Smarty Bilan : toujours pareil même erreur avec un autre thème cela fonctionne correctement Link to comment Share on other sites More sharing options...
Deithso Posted August 13, 2014 Share Posted August 13, 2014 Bonjour, Vous avez une erreur de frappe certainement dans votre code "/home/boutiqueqo/www/themes/dm-free-black14/header.tpl" on line 49 "var priceDisplayPrecision = {$priceDisplayPrecision*$currency->decimals};" - Unexpected "&"' in Référez vous à votre code au lieux de mettre $currency->decimals vous avez mis $currency-$>decimals Link to comment Share on other sites More sharing options...
Lorks-Sub Posted August 15, 2014 Author Share Posted August 15, 2014 Merci pour ta réponse Désolé pour la réponse tardive j'étais en déplacement pro ... j'ai beau changer de plusieurs façons cette ligne : var priceDisplayPrecision = {$priceDisplayPrecision*$currency->decimals}; erreur.... 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