Jump to content

ssl padlock yellow sign?


Nick20000

Recommended Posts

Hi. I have just paid and installed my ssl but when i go to my link to view the pages in https is shows the padlock with a yellow sign. I asked my host but was told this....


"This is being caused by code within your pages loading items over the insecure connection, the javascript image loader is using the non-ssl URL to load the images so you will need to modify this to either remove the URL or always use HTTPS."

what do i need to do and how?

thank you.

Link to comment
Share on other sites

You need to enable SSL in backoffice > preferences.

PS does not use HTTPS except when using the account section of the site or checking out an order. If you load your site normally, then go to the My Account section, you should see it switch to https:// with a fully functioning padlock symbol in your browser.

Link to comment
Share on other sites

Problem is your menu it loads all images through http :

loadImage1.src = "http://www.nitrogames.co.uk/img/menu2.png";
staticImage1 = new Image();
staticImage1.src = "http://www.nitrogames.co.uk/img/menu1.png"; 



So try to edit header.tpl and replace for every image in 2 menus

"http://www.nitrogames.co.uk/img/image.png"


with

baseDir+"img/image.png"



that should work.

Link to comment
Share on other sites

  • 2 years later...

Problem is your menu it loads all images through http :

 

loadImage1.src = "http://www.nitrogames.co.uk/img/menu2.png";staticImage1 = new Image();staticImage1.src = "http://www.nitrogames.co.uk/img/menu1.png";

So try to edit header.tpl and replace for every image in 2 menus

"http://www.nitrogames.co.uk/img/image.png"
with

baseDir+"img/image.png"

that should work.

 

Hi I have a similar problem, i get erros from pict_add_wishlist.png can anyone help?

 

Prestashop 1.5.6.2

Link to comment
Share on other sites

and is there any chance to get url to your website where the problem occurs?

Sure: https://www.tekcenter.pt/store/pt/order tested on http://www.whynopadlock.com/

 

Edit: I think i have fixed the problem, I've follow the razaro's solution:

I changed the file: modules/blockwishlist/blockwishlist.css 

arround the line 20 i found this:

background:url(img/icon/pict_add_wishlist.png) no-repeat 0 0 transparent

and changed to this:

background:url(baseDir+"img/icon/pict_add_wishlist.png") no-repeat 0 0 transparent

it works, no more errors on http://www.whynopadlock.com

please vekia, advise if this is the correct procedure for the prestashop 1.5.6.2

 

tanks for your time

Edited by majority (see edit history)
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...