Magento Forum

   
SSL at checkout not secure
 
samharveytaylor
Jr. Member
 
Total Posts:  17
Joined:  2009-12-21
 

Hello,

Hoping someone can advise. I recently changed the SSL certificate on our site but now when you visit the checkout page it says it is secure but there are non secure items on the page.

These items are images from our template and the errors are like this:
The page at https://www.examplesite.com/checkout/onepage/ displayed insecure content from http://www.examplesite.com/skin/frontend/default/pink/images/body_back.jpg.

I dont know if this is because I have installed the SSL certificate wrong or it is just these image files should be showing as https:// not http://

If it is the image files that need to be changeddddd, how do I go about it?

Thanks in advance for any help,

 
Magento Community Magento Community
Magento Community
Magento Community
 
goivvy
Guru
 
Avatar
Total Posts:  322
Joined:  2010-12-15
Moscow, Russia
 

try

<?php echo $this->getSkinUrl('images/yourimage.png',array('_secure'=>true));?>

or

<?php $path = parse_url($this->getSkinUrl('images/yourimage.png')); echo $path['path'];?>

 
Magento Community Magento Community
Magento Community
Magento Community
 
samharveytaylor
Jr. Member
 
Total Posts:  17
Joined:  2009-12-21
 

Thanks for your reply, could you let me know where I should put that code?

 
Magento Community Magento Community
Magento Community
Magento Community
 
goivvy
Guru
 
Avatar
Total Posts:  322
Joined:  2010-12-15
Moscow, Russia
 

i can answer your question if you provide your website link, cant say what images exactly

 
Magento Community Magento Community
Magento Community
Magento Community
 
RapidSSLcerts
Jr. Member
 
Total Posts:  2
Joined:  2012-02-08
 

Give me your web site link just over of path location that we won\’t be able to say that where actually issue has raised on your web site.

or else implement below enlisted script from ivvy_ru to your template page and let me know

<?php echo $this->getSkinUrl('images/yourimage.png',array('_secure'=>true));?>

or

<?php $path = parse_url($this->getSkinUrl('images/yourimage.png')); echo $path['path'];?>

 
Magento Community Magento Community
Magento Community
Magento Community
 
magentodevguru
Jr. Member
 
Total Posts:  7
Joined:  2011-12-22
 

I\’ve had the same problem. Thank you for advice, guys))))))

 
Magento Community Magento Community
Magento Community
Magento Community
 
cjpwood
Member
 
Total Posts:  55
Joined:  2008-10-24
Manchester UK
 

Hi guys,

i have the same problem. thanks for the points. Please can you tell me where exactly should i put the code?

this is the error i get:

The page at https://www.MYSITE.co.uk/checkout/onepage/ displayed insecure content from http://www.MYSITE.co.uk/image.php?width=200&height;=42&image;=https://www.MYSITE.co.uk/skin/frontend/default/MYTHEME/images/logo.png.

im using magento 1.6.0.0?
thanks,

chris

 
Magento Community Magento Community
Magento Community
Magento Community
 
AngA
Jr. Member
 
Total Posts:  10
Joined:  2012-08-21
 

Yes, where do I insert the code?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Magento Lab
Sr. Member
 
Avatar
Total Posts:  77
Joined:  2010-11-09
Paris
 

You can enable template path hints through your admin panel to see which template file needs to be modified.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top