mijosh Posted February 13, 2014 Share Posted February 13, 2014 (edited) Hi Every one , When Enabling SSL to the entire site. Some images are loading in http:/ instead of https The Shop logo The banner slider images in home page (Module) The footer image in customer reassurance block (Module) Due to this the domain is not getting a full SSL Green padlock logo Many Thanks in advance... Great work Presta Team........... Edited February 13, 2014 by mijosh (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted February 14, 2014 Share Posted February 14, 2014 check this: https://github.com/PrestaShop/PrestaShop/commit/640100f10f789129dc50a0d68e3e82cedf85aad3 Link to comment Share on other sites More sharing options...
mijosh Posted February 14, 2014 Author Share Posted February 14, 2014 Many thanks every one it worked grt work team ................................................. Link to comment Share on other sites More sharing options...
GaryLB Posted June 18, 2014 Share Posted June 18, 2014 Same problem for me I think. PrestaShop seems to be creating absolute links using http: instead of https:. I make the change recommended for the Link.php file. I have selected yes to the fist two ssl questions in general preferences. But my source code still calls to resources with http: links. Any advice? https://appromed.net/Store/ . By the way, on the html site, www.ApproMed.net, the SSL is fine. Link to comment Share on other sites More sharing options...
vekia Posted June 18, 2014 Share Posted June 18, 2014 where you've got links without secured protocol? i see there links with https only Link to comment Share on other sites More sharing options...
GaryLB Posted June 18, 2014 Share Posted June 18, 2014 Sorry Vekia, I fixed that faster than I thought I would. However, you can see the problem on the home page. It turns out the problem was coming from three modules: (1) HomeSlider (2) Assurance and (3) Favorite Products. I was able to diagnose it simply by viewing source in Chrome and searching for "http:". The code around the links labeled what module was generating the links - very eloquent BTW. Then I disabled the latter two problematic modules in the interest of time. As for the HomeSlider, I decided that an SSL warning on the home page is okay, as long as the check out pages showed a clean SSL message. So you can still see the SSL warning in Chrome. IE just gives up and doesn't show a lock of any kind. If you view source and search for "http:", you can still see where HomeSlider is calling to the linked images with unsecure links. I found in another post where you diagnosed the exact problem and helped someone else replace the one problematic line of code. Kudos. I read in another post on this forum that the CustomerAssurance (sometimes seen as Customer Insurance) Bar is fixed fairly easily. The problem occurs when you have SSL and leave the default images. Another poster figured out that if you download the default images and then upload them where the configuration says "no image selected" the module will start calling to the images using https links. For the sake of time, I just disabled the module. Many thanks. All the help you have given others moved me through this process well. Link to comment Share on other sites More sharing options...
Recommended Posts