Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2007
    Posts
    5
    Plugin Contributions
    0

    Default 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/');
    ##########################################################################################

  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,511
    Plugin Contributions
    126

    Default 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.

  3. #3
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default 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

  4. #4
    Join Date
    Mar 2007
    Posts
    5
    Plugin Contributions
    0

    Default 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/scruba...ain_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!!
    Last edited by Ajeh; 13 Mar 2007 at 04:31 AM.

  5. #5
    Join Date
    Jun 2007
    Posts
    24
    Plugin Contributions
    0

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

    Quote Originally Posted by swguy View Post
    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.

 

 

Similar Threads

  1. Replies: 10
    Last Post: 30 Nov 2010, 07:38 AM
  2. HCL (Help Center Live) - Page contains both secure and nonsecure items
    By Ruthless in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 5 Mar 2009, 07:41 AM
  3. Replies: 3
    Last Post: 8 Oct 2008, 01:53 AM
  4. Replies: 10
    Last Post: 18 Apr 2007, 10:29 AM
  5. This page contains both secure and nonsecure items
    By superprg in forum General Questions
    Replies: 21
    Last Post: 21 Mar 2007, 08:26 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg