Chocolatine88 Posted January 2, 2017 Share Posted January 2, 2017 Bonjour, Je sollicite votre aide car j'ai un soucis lorsque je clique sur magasin, je commence a voir la map s'afficher puis après j'ai un message d'erreur: PETIT PROBLÈME... UNE ERREUR S'EST PRODUITE GOOGLE MAPS NE S'EST PAS CHARGÉ CORRECTEMENT SUR CETTE PAGE. POUR PLUS D'INFORMATIONS TECHNIQUES SUR CETTE ERREUR, VEUILLEZ CONSULTER LA CONSOLE JAVASCRIPT. J'ai fait le tour sur le site ou ailleurs je n'ai pas trouvé la solution. Je vous mets aussi la liste des erreurs. js:94 You have included the Google Maps API multiple times on this page. This may cause unexpected errors. Vg @ js:94 js?sensor=true®ion=FR:94 You have included the Google Maps API multiple times on this page. This may cause unexpected errors. Vg @ js?sensor=true®ion=FR:94 js?sensor=true®ion=FR:34 Google Maps API error: MissingKeyMapError https://developers.google.com/maps/documentation/javascript/error-messages#missing-key-map-error _.jb @ js?sensor=true®ion=FR:34 util.js:211 Google Maps API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys ZA.j @ util.js:211 util.js:211 Google Maps API warning: SensorNotRequired https://developers.google.com/maps/documentation/javascript/error-messages#sensor-not-required ZA.j @ util.js:211 js?sensor=true®ion=FR:34 Google Maps API error: MissingKeyMapError https://developers.google.com/maps/documentation/javascript/error-messages#missing-key-map-error Merci pour votre aide je suis sous prestashop1.6.0.14 Link to comment Share on other sites More sharing options...
ChDUP Posted January 2, 2017 Share Posted January 2, 2017 Le problème est que vous appelez l'API Google Map plusieurs fois sur la page vous n'avez pas un module qui l'utilise ? Link to comment Share on other sites More sharing options...
Chocolatine88 Posted January 2, 2017 Author Share Posted January 2, 2017 Non je n'ai pas d'autre module a ma connaissance. Comment puis je solutionner le problème ? Link to comment Share on other sites More sharing options...
ChDUP Posted January 2, 2017 Share Posted January 2, 2017 regardez déjà dans votre code source ce qui appelle maps.google.fr Link to comment Share on other sites More sharing options...
Chocolatine88 Posted January 2, 2017 Author Share Posted January 2, 2017 euh ... je l'ai mis en commentaire le code source Link to comment Share on other sites More sharing options...
ChDUP Posted January 2, 2017 Share Posted January 2, 2017 euh ... je ne le vois pas Link to comment Share on other sites More sharing options...
Chocolatine88 Posted January 2, 2017 Author Share Posted January 2, 2017 <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true®ion=FR"></script> uniquement Link to comment Share on other sites More sharing options...
ChDUP Posted January 2, 2017 Share Posted January 2, 2017 alors c'est que l'un de vos fichiers js doit l'appeler également Quel thème utilisez-vous et d'où provient il ? Link to comment Share on other sites More sharing options...
Chocolatine88 Posted January 2, 2017 Author Share Posted January 2, 2017 j'utilise un theme de template monster qui s'appel style. (Vous pouvez tester la page si vous voulez http://comptoirniortais.fr/index.php?controller=stores) Merci Link to comment Share on other sites More sharing options...
ChDUP Posted January 2, 2017 Share Posted January 2, 2017 il y a bien 2 appels à l'api google maps ligne 182 et 144 à vous de voir ce qui fait ces appels maintenant Link to comment Share on other sites More sharing options...
Eolia Posted January 2, 2017 Share Posted January 2, 2017 C'est un problème mais qui n'est pas bloquant. Par contre depuis juillet 2016, pour tous les domaines créés après cette date une api key est obligatoire (gratuite mais obligatoire ) Plus d'infos ici http://blog.belvg.com/how-to-fix-google-maps-api-error-missingkeymaperror-in-prestashop.html Link to comment Share on other sites More sharing options...
Chocolatine88 Posted January 2, 2017 Author Share Posted January 2, 2017 oui j'ai bien compris mais je n'arrive pas à trouver l'endroit ou il faut rentrer la clé j'ai rajouté dans le header.tpl mais rien ne change Link to comment Share on other sites More sharing options...
Eolia Posted January 2, 2017 Share Posted January 2, 2017 Lisez bien le tuto^^ Il faut la mettre dans le script qui appelle la map Link to comment Share on other sites More sharing options...
Chocolatine88 Posted January 2, 2017 Author Share Posted January 2, 2017 Allez je vais ressayer ! J'ai déjà vu vos posts concernant ce sujet ! Je retente Link to comment Share on other sites More sharing options...
Chocolatine88 Posted January 2, 2017 Author Share Posted January 2, 2017 Avez vous déja eu un problème avec la clé ? 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