Forums / General Questions / Help with "page contains both secure and nonsecure items"

Help with "page contains both secure and nonsecure items"

Locked

Views: 2,524

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
11 Mar 2007, 8:22 PM
#1
bpais avatar

bpais

New Zenner

Join Date:
Mar 2007
Posts:
5
Plugin Contributions:
0

Help with "page contains both secure and nonsecure items"

I am getting the "This page contains secure and nonsecure items" message on all my secure pages?

I have read most of the other posts concerning this issue but have not been able to resolve my site. As best as I can tell I have not added any http:// links on the secure pages? All of the links come from the links to products or categories the were set up when the categories were created. I thought that all of the links were relative links so I can't find what I did wrong.

I assume the problem may be in my configure.php I uses a shared ssl certificate. Did I set these up wrong? Any help would be greatly appreciated!!!

Here is what the configure.php file looks like:


define('HTTP_SERVER', 'http://www.scrubadub.com');
define('HTTPS_SERVER', 'https://secure.netsolhost.com/scrubadub.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', '/cart/');
define('DIR_WS_HTTPS_CATALOG', '/cart/');


The Admin/configure.php looks like this.....


define('HTTP_SERVER', 'http://www.scrubadub.com');
define('HTTPS_SERVER', 'https://secure.netsolhost.com/scrubadub.com');
define('HTTP_CATALOG_SERVER', 'http://www.scrubadub.com');
define('HTTPS_CATALOG_SERVER', 'https://secure.netsolhost.com/scrubadub.com');
// Use secure webserver for catalog module and/or admin areas?
define('ENABLE_SSL_CATALOG', 'true');
define('ENABLE_SSL_ADMIN', 'false');
// 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_ADMIN', '/cart/admin/');
define('DIR_WS_CATALOG', '/cart/');
define('DIR_WS_HTTPS_ADMIN', '/cart/admin/');
define('DIR_WS_HTTPS_CATALOG', '/cart/');


12 Mar 2007, 12:34 AM
#2
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,718
Plugin Contributions:
56

Re: Help with "page contains both secure and nonsecure items"

Typically when this happens you've hardcoded a link somewhere (probably to an image). Do a view source on the page, and look for "http" instead of "https" - somewhere in there will be your answer.

Scott

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

12 Mar 2007, 2:17 AM
#3
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: Help with "page contains both secure and nonsecure items"

In this case you may want to contact your host and verify the shared SSL link
also make sure that if you are required to have 2 seperate sets of files ( one for non ssl and one for ssl ) that you have made the aproporiate changes to the server paths in the secure folders configure.php files

Zen cart PCI compliant Hosting

13 Mar 2007, 3:28 AM
#4
bpais avatar

bpais

New Zenner

Join Date:
Mar 2007
Posts:
5
Plugin Contributions:
0

Re: Help with "page contains both secure and nonsecure items"

Thanks guys but I'm still stuck.... Everything works great but this!
Best I can tell it is not the shared ssl because I can get to other Https:// pages on another part of our site.

Here is the link to my customer login page. Could some one take a look, find what is wrong and direct me to where to go to fix it? (What file do I need to edit to fix the problem.) The problem is all all of the checkout pages so it must be the same problem on all the pages.

Thanks

https://secure.netsolhost.com/scrubadub.com/cart/index.php?main_page=login

The main cart is at http://www.scrubadub.com/cart/index.php

**** EDITED *** Never ever post in a forum, email, newsletter etc. the zenid or zenAdminID or you will be doomed!!** :eek:

21 Jan 2008, 2:32 AM
#5
hollydoodledesigns avatar

hollydoodledesigns

New Zenner

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

Re: Help with "page contains both secure and nonsecure items"

swguy:

Typically when this happens you've hardcoded a link somewhere (probably to an image). Do a view source on the page, and look for "http" instead of "https" - somewhere in there will be your answer.

Scott

Glad I found this thread. This fixed my issue in IE7. Flash was causing the warning.