françois 40 Posted February 5, 2018 Share Posted February 5, 2018 Bonjour à tous voilà j ai un soucis une erreur http 500 est apparut j'ai donc suivi la procédure qui consiste à débugger le dossier head.tpm et voici le message que j ai maintenant Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "/home/www/kidsparty.fr.1/prestashop/themes/default-bootstrap/header.tpl" on line 35 "function gtag(){dataLayer.push(arguments);}" - Unexpected ".", expected one of: "}" <-- thrown in /home/www/kidsparty.fr.1/prestashop/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 35 Rien à faire j ai changé le . pour un } mais le message reste , je suis désemparée ^^ Quelqu'un aurait une solution Link to comment Share on other sites More sharing options...
Eolia Posted February 5, 2018 Share Posted February 5, 2018 ca sent le script Google mis à l'arrache dans le header.tpl ça... Link to comment Share on other sites More sharing options...
françois 40 Posted February 5, 2018 Author Share Posted February 5, 2018 Bonjour Eolia , c'est à dire ??? moi pas comprendre c 'est moi qui aurait mis le script google ? ou ça vient d autre chose? Merci Link to comment Share on other sites More sharing options...
Eolia Posted February 5, 2018 Share Posted February 5, 2018 Toi ou quelqu'un d'autre, mais il n'y est pas nativement. Le module ganalytics le fait plus proprement en tout cas et l'erreur n'est pas arrivée par "magie"... Link to comment Share on other sites More sharing options...
françois 40 Posted February 5, 2018 Author Share Posted February 5, 2018 ok j y connais rien lol tu penses que je peux retirer les scripts ? J ai vu qu'il y en avait deux un google manager et un google vérification je peux juste les enlever ans rien endommager de plus lol ? Link to comment Share on other sites More sharing options...
Eolia Posted February 6, 2018 Share Posted February 6, 2018 Oui, mais bon, ils ne sont pas venus là tout seuls ces scripts... Link to comment Share on other sites More sharing options...
françois 40 Posted February 6, 2018 Author Share Posted February 6, 2018 J ai réussit !!! tu avais raison c 'était bien le script google analytics qui faisait tout planter ! Merci beaucoup 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