Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Nov 2008
    Posts
    5
    Plugin Contributions
    0

    Default Page contains nonsecure items warning?

    I've searched through the forum, and tried to find the most appropriate threads. I've followed the instructions and solutions offered in all of them, but still have been having no luck. I've also tried asking my questions within those threads, but have not gotten any replies. I've also read all the FAQ answers on zen-cart, and followed those instructions with no luck.

    I've set up a zen-cart store, and it opperates perfectly, but after I installed the SSL certificate, I started getting the "this page contains secure and nonsecure items" warning.

    I've gone through every option I can think of. I've checked:

    - That none of the links are leading to outside pages.
    - That there are no hard-coded http:// links
    - None of the images are using src=http
    - I've tried turning on and off every single sidebox, until only the header and footer remained, still the message was popping up.

    I have been recieving emails from customers, saying that they don't feel safe buying on the site, because of that popup warning.

    Any and all help towards this solution would be greatly appreciated.

    Here's the includes/configure.php

    define('HTTP_SERVER', 'http://www.comicsxp.com');
    define('HTTPS_SERVER', 'https://www.comicsxp.com');

    define('ENABLE_SSL', 'true');

    define('DIR_WS_CATALOG', '/cxpstore/');
    define('DIR_WS_HTTPS_CATALOG', '/cxpstore/');


    and here's the admin/includes/configure.php

    define('HTTP_SERVER', 'http://www.comicsxp.com');
    define('HTTPS_SERVER', 'https://www.comicsxp.com');
    define('HTTP_CATALOG_SERVER', 'http://www.comicsxp.com');
    define('HTTPS_CATALOG_SERVER', 'https://www.comicsxp.com');

    define('ENABLE_SSL_CATALOG', 'true');
    define('ENABLE_SSL_ADMIN', 'true');

    In case it was unclear, the store url is www.comicsxp.com

    Thanks guys.

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Page contains nonsecure items warning?

    Looks like you got it fixed?

  3. #3

    Default Re: Page contains nonsecure items warning?

    I am seeing the same thing does this happen with the classic template?

    If it SSL works in the classic template but not the custom then I would have to say there is something in that template that is being called wrong. Has this just started happening.

    Did it ever work with SSL before?
    Last edited by hhstudio; 3 Sep 2009 at 05:42 AM. Reason: adding questions making it sound better

  4. #4
    Join Date
    Jul 2009
    Posts
    122
    Plugin Contributions
    0

    Default Re: Page contains nonsecure items warning?

    I think you will find that it might have something to do with whatever swf files you are using. I had the same issue on my site until I disabled my flash banners which were being shown at the bottom of the page. I fixed my problem by disabling them from being shown under SSL in my admin panel.

    The problem is also not shown when using Firefox (I am using version 2.0.0.20) but when I view your page using my IE plugin for Firefox then the non secure and secure message pops up. I also tested your login page with IE version 7.0.5730.11 and the non secure and secure message comes up.

    As suggested in a previous post. Try switching back to the classic template and see if you still get this problem. But I am thinking you won't as I am thinking it has something to do with the swf files you are using.

  5. #5
    Join Date
    Nov 2008
    Posts
    5
    Plugin Contributions
    0

    Default Re: Page contains nonsecure items warning?

    Well, I fixed the problem.

    It wasn't the swf as you had suggested, but that did make me think to check on some of the other uncalled scripts.

    I added lightbox to the pages, for previewing comic pages. It turns out, this was the culprit all along.

    Thank you everyone for taking the time to try and help me. In the hopes that this will save someone else some headaches, here was the fix I applied.

    Since I wanted to keep Lightbox, but there is no need for it to show up on the secure pages (checkout, my account). I changed the script for lightbox to this:

    if (getenv('HTTPS') == 'on') {
    // do nothing
    } else {
    // echo the script for lightbox here
    }

    Basically, this turned off Lightbox, if the page is in https mode. So, no more call, no more problem.

    Thank you again, everyone.

  6. #6
    Join Date
    Aug 2009
    Posts
    59
    Plugin Contributions
    0

    Default Re: Page contains nonsecure items warning?

    Quote Originally Posted by ComicsXP View Post
    Well, I fixed the problem.

    It wasn't the swf as you had suggested, but that did make me think to check on some of the other uncalled scripts.

    I added lightbox to the pages, for previewing comic pages. It turns out, this was the culprit all along.

    Thank you everyone for taking the time to try and help me. In the hopes that this will save someone else some headaches, here was the fix I applied.

    Since I wanted to keep Lightbox, but there is no need for it to show up on the secure pages (checkout, my account). I changed the script for lightbox to this:

    if (getenv('HTTPS') == 'on') {
    // do nothing
    } else {
    // echo the script for lightbox here
    }

    Basically, this turned off Lightbox, if the page is in https mode. So, no more call, no more problem.

    Thank you again, everyone.
    Which file did you edit and where exactly did you place your change?
    I'm about to run screaming into the night with the same problem you had. I am about to start promoting my site and I know people will not make any purchases with that warning.

 

 

Similar Threads

  1. 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
  2. Page Contains Secure and Nonsecure Items...
    By HandcraftedUK in forum General Questions
    Replies: 7
    Last Post: 9 Nov 2008, 07:20 PM
  3. Help with "page contains both secure and nonsecure items"
    By bpais in forum General Questions
    Replies: 4
    Last Post: 21 Jan 2008, 03:32 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