Another Partial SSL Encryption
I have my site set up and I believe the config file to be correct, but I still get a partial encryption error on my store. I am not using Google Analytics. I have looked at the media info under firefox and it shows that all the linked images are coming through as from the https side. I am hosted on a unix box. When I am on the admin portion, everything works fine. Is there something that is wrong with my template files that could do this?
here is the basics of my config.
define('HTTP_SERVER', 'http://www.mysite.com');
define('HTTPS_SERVER', 'https://www. mysite.com');
// Use secure webserver for checkout procedure?
define('ENABLE_SSL', 'true');
// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
// * DIR_WS_* = Webserver directories (virtual/URL)
// these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
define('DIR_WS_CATALOG', '/store/');
define('DIR_WS_HTTPS_CATALOG', '/store/');
Re: Another Partial SSL Encryption
can we get a link to look at, hard to fix what we cant see LOL
Re: Another Partial SSL Encryption
sorry
http://bobblebabes.com/store/
you thought it was lol before wait until you see my clients product =)
Re: Another Partial SSL Encryption
http://www.websiteoptimization.com/s...bes.com/store/
First your images need optimizing.
Second they are all being pulled through the HTTP not HTTPS - what kind of server are you using? Do you have separate HTTP and HTTPS directories?
Re: Another Partial SSL Encryption
try renaming the html_header.php
in your over rides common folder
Re: Another Partial SSL Encryption
I am on a unix server. Networksolutions is the host provider. I believe the ssl should work on all subdirectories for the site. It works fin in admin. I see that they are being pulled through http. What I don't know is why. I have the html_header in my template directory. but am not sure what you mean by renaming it. I have 5 or 6 stores that don't have this issue. But for some reason this one does.
Re: Another Partial SSL Encryption
I want you to rename the html_header.php in your custom directory so that it pulls from the default,
I am looking to see if there is an error in that code thats calling the base href
Re: Another Partial SSL Encryption
Mind if I bump this thread? I'm having the same problem. I'm using a Template Monster template that I paid somebody to fix. (Not sure if that has anything to do with this or not).
I'm not doing anything out of the ordinary with images.. they're all in the standard Zen-Cart images folder.
I lock icon has a red line through it, and when I hover over it, it says, "Warning: Contains Unauthenticated Content."
Here is the site: http://www.feldenkrais.com/shop
Thanks for any help you can provide!
Ken
Re: Another Partial SSL Encryption
take a look in
includes/templates/YOUR TEMPLATE/common/html_header.php
check and see what the base href is set to
Re: Another Partial SSL Encryption
Wow, that was fast.
Here is what I have on that line:
<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER . DIR_WS_HTTPS_CATALOG : HTTP_SERVER . DIR_WS_CATALOG ); ?>" />
Re: Another Partial SSL Encryption
Re: Another Partial SSL Encryption
Engine Hosting (formerly pMachine Hosting):
http://enginehosting.com/
They recently replied to me:
"Do you have links or images that are not referencing https? It usually means you have insecure content references on the page."
So, after reading about SSL a bit on the Zen Cart forums, that is what I'm persuing now, unless you tell me there is another problem.
Thanks for the quick responses.
Ken
Re: Another Partial SSL Encryption
thats not it,
your entire cart is not switching to https
this is the same issue that has been happening for network solutions
Re: Another Partial SSL Encryption
So, I need to get back in touch with Engine Hosting?
Re: Another Partial SSL Encryption
try switching to the default template see if that fixes the SSL issue,
if not then yes they will need to figure it out,
Re: Another Partial SSL Encryption
Nope, didn't work. Ok, I'll get in touch with my host. Thanks for your help!
Re: Another Partial SSL Encryption
Ok, my host is still saying I'm referencing images or CSS incorrectly.
I viewed source on my login page, and the base dir is:
http://www.feldenkrais.com (not https), despite my previous post about the base dir line in the html_header template.
Is there any place else I can check? Being a newbie to Zen Cart, here are some specific questions:
1. Can I search all my templates for 'http://' and change them to https://? Will that accomplish anything?
2. If I link to an external site from one of my product descriptions, would that cause this problem? (I don't know if that condition exists, because I didn't enter the product descriptions; just trying to figure this out).
Any other ideas?
Thanks,
Ken
Re: Another Partial SSL Encryption
yo can change the entire site to https
Re: Another Partial SSL Encryption
The certificate was installed to work on the entire site, but it's only critical that it work on the zen-cart section, at least for now.
I have another question. Does any link to an external site cause this warning to occur, or is it only content being pulled into a page, like an image or stylesheet that would cause it?
Re: Another Partial SSL Encryption
content from another site can cause this but its your ENTIRE SITE thats not recognizing the ssl
you can set ALL urls to https in the includes/configure.php and admin/includes/configure.php
Re: Another Partial SSL Encryption
That did it. Thanks for your help and patience.
Re: Another Partial SSL Encryption
you can now let your host know that they have the same stupid setup that network solutions has
you should never have to run the entire site as SSL