Jump to content

SSL Unsecure Prestashop V1.5.6.2


Recommended Posts

Hi everyone;

 

I Install the new Prestashop V1.5.6.2,  and my SSL not working correctly, appeared to me(unsecure lock)chrome_95440_https_warning_triangle.png.

 

Then i do the next steeps for the Front Office

 

https://github.com/PrestaShop/PrestaShop/commit/640100f10f789129dc50a0d68e3e82cedf85aad3

 

Change the line 410 off classes/link.php:

 

return Tools::getProtocol().Tools::getMediaServer($filepath).$filepath;

to

return $this->protocol_content.Tools::getMediaServer($filepath).$filepath;

 

 

And the next steeps for the Back Office:

 

1º-Backoffice Menu: Click on Modules

2º-Next Search for Module: Merchant Expertise

3º-Click to Disable

 

 

I hope to help someone with the same problem of my.

Edited by Teco Alexandre (see edit history)
  • Like 1
Link to comment
Share on other sites

Gosh!!! Thank you so much for that great work of search-study Teco Alexandre. I searched the forum for this solution days and nights. Now I know my searching question statements must have been wrong, because I didn't find any thread about this fault in time.
All days long, since this fault occured at my server, I thought my installation must be lousy. Maybe some static pathes on pictures and so on. Thanks a lot to "gRoussac" in Github, too!!!

Edited by mreisbeck (see edit history)
  • Like 1
Link to comment
Share on other sites

Many Thanks it worked on my admin panel grt work..

 

 

could you pls see why some image in the front end is loading as http instead of https

 

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... 

  • Like 1
Link to comment
Share on other sites

Anybody else having the problem of both the Reassurance Block and the Store locator block tripping the SSL set the "some items are insecure" warning off?

 

I can fix it by disabling them, and I do not really care about the store locator, but I would like to have the Reassurance Block.

Link to comment
Share on other sites

  • 1 month later...

I have the same problem for a month with vs 1.5.4.1 and tried a lot of solutions from the Forum, with no success.

 

All my secured pages load some css and scripts from folders THEMES/MODULES and JS as http, instead of https (link media and script type references).

 

I use a custom theme based on default (minor css modifications), but the default theme, in a different folder has the same problem.

 

It's not a fresh installation, it was working fine for months untill I tried to configure the media servers fields. As I couldn't do that, I revert everything, and then nothing works under SSL anymore.

 

Anybody have an idea? Where can I adjust those references to load the files from HTTPS instead of HTTP? I had a suspicious about the header.tpl, but I don't think it's the problem, since the default theme has the same problem.

 

the site is http://lcsmotorparts.com

 

Thanks for helping

Link to comment
Share on other sites

When you have SSL installed and you wish to used Media Servers you also need to install SSL certificates for all the domains used for Media Servers. Most browsers today support  Server Name Indication (SNI) extension so the requirement for separate IP addresses for each certificate is no longer a problem.

 

You should thoroughly and manually clean your web site cache files and then reset your SSL. Clean both the smarty cache and your theme cache.

Link to comment
Share on other sites

  • 2 months later...

When you have SSL installed and you wish to used Media Servers you also need to install SSL certificates for all the domains used for Media Servers. Most browsers today support  Server Name Indication (SNI) extension so the requirement for separate IP addresses for each certificate is no longer a problem.

 

 

 

Link to comment
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...