Forums / General Questions / Secure and unsecure items problem

Secure and unsecure items problem

Locked

Views: 3,009

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
13 Apr 2008, 3:58 PM
#1
authenticnz avatar

authenticnz

New Zenner

Join Date:
Feb 2008
Posts:
10
Plugin Contributions:
0

Secure and unsecure items problem

I continue to have problems with my SSL certificate and the broken padlock. I called my web hosting service and was told that my logo was the unsecure item, so I hardcorded it to point to https://store.authenticnz.com... but I still have the problem.

My website is http://store.authenticnz.com. If I choose any item and go to checkout, I get the broken padlock in firefox. In IE, I don't get anything. I assume I should get a padlock?

13 Apr 2008, 7:40 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Secure and unsecure items problem

Zen Cart mediates the logo so you do not have to change this but the net solutions "Site Safe" in the footer is the offending culprit as it comes/links to an http:// off your site

Now they should have told you that

Zen-Venom Get Bitten

13 Apr 2008, 10:12 PM
#3
authenticnz avatar

authenticnz

New Zenner

Join Date:
Feb 2008
Posts:
10
Plugin Contributions:
0

Re: Secure and unsecure items problem

That wasn't the problem - I removed the image and associated script and I still have the problem.

13 Apr 2008, 10:21 PM
#4
authenticnz avatar

authenticnz

New Zenner

Join Date:
Feb 2008
Posts:
10
Plugin Contributions:
0

Re: Secure and unsecure items problem

I was checking similar threads and followed the advice to double-click the broken padlock for more information. This is the list of media for the page:

http://store.authenticnz.com/includes/templates/classic/images/tile_back.gif
https://store.authenticnz.com/images/anz-logo.gif
http://store.authenticnz.com/includes/templates/template_default/buttons/english/button_login.gif
http://store.authenticnz.com/includes/templates/template_default/buttons/english/button_submit.gif

As you can see, my background image and a couple of the buttons point to http:// instead of https://. These are zen-cart generated, so I am not sure how I can set them to load from https instead. That's the same problem I had with my logo, which as I said I hard-coded to load from https.

Any help would be appreicated!

13 Apr 2008, 11:58 PM
#6
authenticnz avatar

authenticnz

New Zenner

Join Date:
Feb 2008
Posts:
10
Plugin Contributions:
0

Re: Secure and unsecure items problem

I didn't hard code it. I just used the classic template through zen cart. I don't know how to set it to point to the secure site (i.e. https://) rather than http://

In the css code, it's set to ../images/tile_back.gif so it's a relative link.

I don't want to hard code it because that appears on all the pages, secure and non-secure.

14 Apr 2008, 4:20 AM
#7
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Secure and unsecure items problem

Think this is more basic than an image or two as when viewing your source for this page:

your site login page source:

<base href="http://store.authenticnz.com/" />

other sites:

<base href="https://www.XXXXXXX.com/" />

Might begin with posting the first 15-20 lines from your includes/configure.php file

Zen-Venom Get Bitten

14 Apr 2008, 10:35 AM
#8
authenticnz avatar

authenticnz

New Zenner

Join Date:
Feb 2008
Posts:
10
Plugin Contributions:
0

Re: Secure and unsecure items problem

Here's my code from includes/configure.php

// Define the webserver and path parameters
  // HTTP_SERVER is your Main webserver: eg, http://www.yourdomain.com
  // HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com
  define('HTTP_SERVER', 'http://store.authenticnz.com');
  define('HTTPS_SERVER', 'https://store.authenticnz.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', '/');
  define('DIR_WS_HTTPS_CATALOG', '/');

  define('DIR_WS_IMAGES', 'images/');
  define('DIR_WS_INCLUDES', 'includes/');
  define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
  define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
  define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
  define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
  define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
  define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');
16 Apr 2008, 1:59 PM
#9
richcolour avatar

richcolour

New Zenner

Join Date:
Dec 2007
Posts:
24
Plugin Contributions:
0

Re: Secure and unsecure items problem

I've just solved this problem on my site. The offending bit of code was in the stylesheet.css for my chosen template. I had hard-coded the URL of the header background gif. To solve it I made it a relative link (../images/header_bg.jpg) and uploaded a copy of the gif into the template's images folder.

Your problem sounds more complex but this might help.

------------------------------------------------------------
I sell plain black and colourful T-shirts thanks to Zen Cart

17 Apr 2008, 12:40 AM
#10
idw avatar

idw

Zen Follower

Join Date:
Dec 2006
Location:
Ontario
Posts:
111
Plugin Contributions:
0

Re: Secure and unsecure items problem

Your sites works fine on firefox. Explorer is really picky.

Your is
define('HTTP_SERVER', 'http://store.authenticnz.com');
define('HTTPS_SERVER', 'https://store.authenticnz.com');

Try
define('HTTP_SERVER', 'http://www.store.authenticnz.com');
define('HTTPS_SERVER', 'https://www.store.authenticnz.com');

19 Apr 2008, 9:38 PM
#11
authenticnz avatar

authenticnz

New Zenner

Join Date:
Feb 2008
Posts:
10
Plugin Contributions:
0

Re: Secure and unsecure items problem

Thanks for the recent responses.

My images, including the background image, are all relative links, so that's not the problem.

As for IDW's suggestions. First, it doesn't work in Firefox (broken padlock) and adding a www. in front of my store URL isn't right, just gives page not found.

Thanks for trying. I'll take any suggestions, as I still don't have it working.