Page 1 of 1

SSL error

Posted: Sat Dec 11, 2010 2:15 pm
by lith07
Hey guys,

My host has installed an SSL certificate on my site, I have enabled it through the admin, and i have edited my admin/config file, but I am having some problems when I come to an SSL page. When checking out, I get an https crossed out in red (in google chrome) and right clicking it says that this page is encrypted, but contains resources that are not. How can I fix this? It looks worse then not having an SSL at all!

Heres my admin/config...

<?php
// HTTP
define('HTTP_SERVER', 'http://pulsenutritional.com/admin/');
define('HTTP_CATALOG', 'http://pulsenutritional.com/');
define('HTTP_IMAGE', 'http://pulsenutritional.com/image/');

// HTTPS
define('HTTPS_SERVER', 'https://pulsenutritional.com/admin/');
define('HTTPS_IMAGE', 'https://pulsenutritional.com/image/');

Thanks for any help!

Re: SSL error

Posted: Sat Dec 11, 2010 2:48 pm
by justinv
you need to make sure that there are no images, links etc on the page that do not point to https:// locations. If you find the text http:// on the page, and the page is supposed to be secure, then you have a problem.

Go to one of your https pages that has the security warning, click (in firefox) Tools->View Source and search for http://

Hope that helps!

Re: SSL error

Posted: Sun Dec 19, 2010 8:12 pm
by gmoussa73
hi ppl....i found lots of http links and images within https page...this is the problem? then how to solve if? any suggestions around? this issue is driving me crazy , up till now i couldn't solve it...plz help

Re: SSL error

Posted: Sun Dec 19, 2010 10:29 pm
by Qphoria
yes that is the problem. You are linking to http:// for googles jquery api. change that to just src="//ajax.google....." and it will fill the http/https as needed

Re: SSL error

Posted: Mon Dec 20, 2010 7:10 am
by moreno13
Hi Q I got the same problem now whit my SSL where sure I apply this fix
" http:// for googles jquery api. change that to just src="//ajax.google....." and it will fill the http/https as needed "
can you help me I just up date to 1.4.9.2
I am not a expert on coding so please help me on this one
Thank you Q :)

any help on fixing all this issues will be appreciate
Thank you to anyone who take the time to help me
God Bless everybody on this forum.

Re: SSL error

Posted: Mon Dec 20, 2010 8:00 am
by Moggin
Hi moreno13....in your case it looks as if you have one unsecured image
fix_mac.png

fix_mac.png (68.24 KiB) Viewed 2951 times

...maybe this was hardcoded into the module.

If so, try replacing the code with a relative path to the image, eg

Code: Select all

img src="image/data/info.jpg"
..I think that will work. Try it

Re: SSL error

Posted: Mon Dec 20, 2010 8:28 am
by moreno13
Thanks you very very much Moggin
I was not able to fix the code I just remove the image and make a link to the page
and that fix the problem I have with the SSL
Thank you Very much for you help
God Bless you Moggin ;)
Moreno13

Re: SSL error

Posted: Mon Dec 20, 2010 9:22 am
by Moggin
You're welcome moreno13! Thank you for your kind words. :)

Re: SSL error

Posted: Mon Dec 20, 2010 9:26 am
by JAY6390
Nicely done Moggin 8)

Re: SSL error

Posted: Mon Dec 20, 2010 9:54 am
by Moggin
8)