Jump to content
nycbicycleshop

Prestashop Mixed Content Error After ssl Certificate Installation

Recommended Posts

I installed the ssl certificate to our website https://www.nycbicycleshop, I tested the website with whynopadlock.com but I am getting some mixed content error on some of the picture links. I am using custom waterthemes template. Which tpl files I have to edit?

Thanks for the help

5aaa06e1403e5_ScreenShot2018-03-15at1_12_22AM.thumb.png.28f73e7b9efc69bf9703a4c04afd0eed.png

 

 

Share this post


Link to post
Share on other sites

As it shows you have some CMS pages where you added images at the time the shop was on http; go to Preferences->CMS and edit those images src to https instead.

Share this post


Link to post
Share on other sites

Hi Rho_bur

I just updated the image links with https  and everything works now. But I am getting  ajax error now on the homeslider module, I looked on the Chrome console error code, looks  related the https, can you help me on this? actually module is the Waterthemes module but supports are very slow, before the ssl no problem, this start when I switch the https. Below is the error code also I am using https  login to backend and htaccess forcing the https connection.

Thanks

jquery-1.11.0.min.js:4 Mixed Content: The page at 'https://www.nycbicycleshop.com/mylogin/index.php?controller=AdminModules&configure=wtslideshow&token=872c6ba5ca53131666a15ffa48e382c4&id_slide=9&addlayer=1' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://www.nycbicycleshop.com/modules/wtslideshow/ajax_wtslideshow.php'. This request has been blocked; the content must be served over HTTPS.

Edited by nycbicycleshop (see edit history)

Share this post


Link to post
Share on other sites

This means that module has an AJAX request and the URL for that request is set to http; you should check either the module's js file (possibly views/js/front.js if it respects the recommended js location) or the module's template for an URL variable (bottom of the file).

I think the first is more likely.

Share this post


Link to post
Share on other sites

Dear Rho_Bur, 

 

I have the same problem. Can you please specify wat you mean with " respects the recommended js location" ? 

Greatz Vincent 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

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