Jump to content

Prestashop 1.4 - SSL - Problème javascript - JE GALERE


Recommended Posts

Bonjour, 

J'aurais besoin de votre aide car cela fait 1 mois que je galère et je n'arrive pas à trouver la solution.

Je souhaite passer mon site prestashop (1.4.9) en SSL pour l'identification et le processus de commande.

Mon certificat est bien activé cependant je rencontre 2 problèmes majeur de MIXED CONTENT.

 

Le premier concerne mon bloc catégorie. Toutes les catégories sont dépliées, normalement il faut cliquer sur une rubrique afin d'afficher les sous-rubriques (exemple visible sur https://gastromania.com/ sur le bloc catégorie à gauche.

 

Mon deuxième problème, le plus gênant concerne le processus de commande. Lorsqu'un client souhaite acheter, dans la partie order step 1 dans laquelle il doit renseigner son adresse de livraison et facturation, les 2 adresses ne s'affichent pas   ( https://gastromania.com/commande?step=1)

 

Tous mes problèmes concernent les scripts javascript j'ai l'impression. La page doit faire appel au script qui lui se trouve sur une page HTTP mais impossible de trouver comment la faire appel en HTTPS.

 

Exemples d'erreurs : 

- Mixed Content: The page at 'https://gastromania.com/commande?step=1' was loaded over HTTPS, but requested an insecure script 'http://gastromania.com/js/jquery/jquery-1.4.4.min.js'. This request has been blocked; the content must be served over HTTPS.
commande?step=1:1

Mixed Content: The page at 'https://gastromania.com/commande?step=1' was loaded over HTTPS, but requested an insecure script 'http://gastromania.com/js/jquery/jquery.easing.1.3.js'. This request has been blocked; the content must be served over HTTPS.
commande?step=1:1

Mixed Content: The page at 'https://gastromania.com/commande?step=1' was loaded over HTTPS, but requested an insecure script 'http://gastromania.com/js/tools.js'. This request has been blocked; the content must be served over HTTPS.
commande?step=1:1

Mixed Content: The page at 'https://gastromania.com/commande?step=1' was loaded over HTTPS, but requested an insecure script 'http://gastromania.com/themes/prestashop/js/tools.js'. This request has been blocked; the content must be served over HTTPS.
commande?step=1:1

Mixed Content: The page at 'https://gastromania.com/commande?step=1' was loaded over HTTPS, but requested an insecure script 'http://gastromania.com/themes/prestashop/js/order-address.js'. This request has been blocked; the content must be served over HTTPS.
commande?step=1:1

Mixed Content: The page at 'https://gastromania.com/commande?step=1' was loaded over HTTPS, but requested an insecure script 'http://gastromania.com/js/jquery/jquery.fancybox-1.3.4.js'. This request has been blocked; the content must be served over HTTPS.
commande?step=1:1

Mixed Content: The page at 'https://gastromania.com/commande?step=1' was loaded over HTTPS, but requested an insecure script 'http://gastromania.com/themes/prestashop/js/cart-summary.js'. This request has been blocked; the content must be served over HTTPS.
commande?step=1:1

Mixed Content: The page at 'https://gastromania.com/commande?step=1' was loaded over HTTPS, but requested an insecure script 'http://gastromania.com/js/jquery/jquery-typewatch.pack.js'. This request has been blocked; the content must be served over HTTPS.
commande?step=1:1

Mixed Content: The page at 'https://gastromania.com/commande?step=1' was loaded over HTTPS, but requested an insecure script 'http://gastromania.com/modules/blockcart/ajax-cart.js'. This request has been blocked; the content must be served over HTTPS.
commande?step=1:1

Mixed Content: The page at 'https://gastromania.com/commande?step=1' was loaded over HTTPS, but requested an insecure script 'http://gastromania.com/themes/prestashop/js/tools/treeManagement.js'. This request has been blocked; the content must be served over HTTPS.
commande?step=1:1

Mixed Content: The page at 'https://gastromania.com/commande?step=1' was loaded over HTTPS, but requested an insecure script 'http://gastromania.com/js/jquery/jquery.autocomplete.js'. This request has been blocked; the content must be served over HTTPS.

 

Je suis sous prestashop 1.4.9.

Merci pour votre aide, je galère vraiment.

 

 

 

Share this post


Link to post
Share on other sites

Bonjour,

Pour un PrestaShop 1.4 il faut faire quelques adaptations pour passer le site en full SSL.

Faut retrouver les appels au fichier JS pour les passer en HTTPS. Ca fait longtemps que j'ai pas toucher à une 1.4, je me souviens plus ou sont les appels.

Cdt

 

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More