Zen Cart Logo
Forums / General Questions / Secure Pages Stripping out Images

Secure Pages Stripping out Images

Locked

Views: 1,209

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
9 Nov 2008, 5:15 PM
#1
spiralmedia avatar

spiralmedia

New Zenner

Join Date:
Oct 2008
Posts:
31
Plugin Contributions:
0

Secure Pages Stripping out Images

Hello,

I couldn't find any help topics related to SSL certs and code problems so I am hoping someone can send me in the right direction. I have built an eCommerce with a custom template and added an SSL certificate from Comodo onto it. When I go to change the checkout pages from http:// to https:// all the template images and product images are stripped out leaving me with almost nothing. I'm using absolute paths in my style sheet, which is where the images are loading from, which I've read is supposed to fix it, but it still is not working.

The site is http://shop.metime.com

Any ideas on what I should do or where I can go to figure this out would be much appreciated.

Thanks

9 Nov 2008, 5:43 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Secure Pages Stripping out Images

Check if you have an image protect turned on in your Control Panel for your site ...

Usually just adding your secure URL will fix the problem ...

9 Nov 2008, 6:05 PM
#3
spiralmedia avatar

spiralmedia

New Zenner

Join Date:
Oct 2008
Posts:
31
Plugin Contributions:
0

Re: Secure Pages Stripping out Images

Not sure that I know where image protect is, could you give me the admin path to find it. Are you saying that if I add my secure url to the image protection settings it should fix the problem? Thanks.

9 Nov 2008, 6:09 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Secure Pages Stripping out Images

This may be called: HotLink Protection

Also, are you using your shop in a subdomain for any particular reason?

I know I would never think to type in:
shop.some_thing.com

vs something normal like:
some_thing.com
some_thing.com/shop

10 Nov 2008, 12:41 AM
#5
spiralmedia avatar

spiralmedia

New Zenner

Join Date:
Oct 2008
Posts:
31
Plugin Contributions:
0

Re: Secure Pages Stripping out Images

Not sure what HotLink protection is, do you have more info.

The entire site is metime.com, the shop is just part of the entire site. You can get to it via metime.com/shop or shop.metime.com. I don't think it matters either way.

10 Nov 2008, 4:04 AM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Secure Pages Stripping out Images

Could you post, from the server, without your username and password, the file(s):
/includes/configure.php
/admin/includes/configure.php

it strikes me that something may be setup incorrectly ...

13 Nov 2008, 11:01 PM
#7
spiralmedia avatar

spiralmedia

New Zenner

Join Date:
Oct 2008
Posts:
31
Plugin Contributions:
0

Re: Secure Pages Stripping out Images

Got it to work, thanks. The only thing it is doing now is when you go from secure page to secure page it is asking me to confirm that I want to display secure and nonsecure items. Is this a browser thing or is it a problem that I can fix? Thanks for your help.

14 Nov 2008, 5:21 AM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Secure Pages Stripping out Images

You have some hard coded paths on some images ...

It is easiest to see this in FireFox where you can click the Login and then click the gold lock and click the Media Tab to show you which images are not secure ...

20 Nov 2008, 10:09 PM
#10
spiralmedia avatar

spiralmedia

New Zenner

Join Date:
Oct 2008
Posts:
31
Plugin Contributions:
0

Re: Secure Pages Stripping out Images

bluedotted:

Seems to me the image at the footer is the one in non secure mode http://www.metime.com/images/payment.gif is what shows up needs to be https://www.metime.com/images/payment.gif

This should fix your issue
Thanks, that is the one, where do I place that so that it is in the https:// part of the site. I am not the developer and my developer has bailed on me so if you could steer me in the general direction to taking care of that it would save my day. I love these forums, tons of smart people.

Thanks again.