Bachir Bakhouche Posted May 12, 2020 Share Posted May 12, 2020 Bonjour tout le monde, j´étais en train de changer quelques photos quand après j ai eu ce message en voulant rentrer dans le tableau de bord : "Syntax error in template "file:/home/......./public_html/....../themes/default/template/header.tpl" on line 33 "<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':" - Unexpected "[", expected one of: "}" SmartyCompilerException in vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php (line 33) */ public static $_tag_objects = array(); /** * counter for prefix variable number * * @var int */ public static $prefixVariableNumber = 0; Quelqu´un peut-il m´aider ? Link to comment Share on other sites More sharing options...
doekia Posted May 12, 2020 Share Posted May 12, 2020 Encadrer le block script avec {literal}<script>....</script>{/literal} 1 Link to comment Share on other sites More sharing options...
Eolia Posted May 12, 2020 Share Posted May 12, 2020 Le monsieur risque de ne pas comprendre le rapport avec ses photos vu qu'il a "oublié" de nous dire qu'il avait copié/collé le script du google Tag Manager dans son header. Ce qui est encore plus bizarre c'est que cette balise n'a rien à faire en BO donc je pencherai en plus pour une erreur de tpl^^ Link to comment Share on other sites More sharing options...
Bachir Bakhouche Posted May 12, 2020 Author Share Posted May 12, 2020 Merci @Doekia et enjoy the coffee ;). @Eolia pourquoi vous mettez "oublié" entre parenthèses comme si c´était intentionnel de ma part ? J´avais effectivement copié/collé le TM mais je n´ai pas fait la relation, je suis novice. Link to comment Share on other sites More sharing options...
doekia Posted May 12, 2020 Share Posted May 12, 2020 Ce que @Eolia veux dire c'est que de plus en plus de monde pose des question avec un nombre d'information tellement infinitésimale que la plupart du temps ils nous est impossible de répondre à cause de ce manque d'information. Ici par chance là cause était facile mais nous avons tellement l'habitude de galérer pour fournir du support que ça en devient fatiguant .. Link to comment Share on other sites More sharing options...
Bachir Bakhouche Posted May 12, 2020 Author Share Posted May 12, 2020 Ok @doekia, désolé et merci encore. 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