Results 1 to 10 of 22

Hybrid View

  1. #1
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: This page contains both secure and nonsecure items

    What is the URL where this is happening ?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  2. #2
    Join Date
    Feb 2006
    Location
    Chicago
    Posts
    1,162
    Plugin Contributions
    0

    Default Re: This page contains both secure and nonsecure items

    Try this

    Click here

    Try the login page and checkout page!
    Tutorials on Zen Cart
    http://tutorials.zen-cart.com/index.php
    ---------------
    advanced.programmer at gmail dot com
    In love with Zen Cart!!

  3. #3
    Join Date
    Feb 2006
    Location
    Chicago
    Posts
    1,162
    Plugin Contributions
    0

    Default Re: This page contains both secure and nonsecure items

    ----
    Anyone??
    ----
    Tutorials on Zen Cart
    http://tutorials.zen-cart.com/index.php
    ---------------
    advanced.programmer at gmail dot com
    In love with Zen Cart!!

  4. #4

    Default Re: This page contains both secure and nonsecure items

    superprg,

    I took a look at your source, and it appears that this is responsible for your problem:

    Code:
    <base href="http://www.poker-dude.com/" />
    I don't know the fix myself, but the following might help:

    http://www.zen-cart.com/forum/showthread.php?t=54680

  5. #5
    Join Date
    Feb 2006
    Location
    Chicago
    Posts
    1,162
    Plugin Contributions
    0

    Default Re: This page contains both secure and nonsecure items

    Well in my template I have
    <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER . DIR_WS_HTTPS_CATALOG : HTTP_SERVER . DIR_WS_CATALOG ); ?>" />
    Tutorials on Zen Cart
    http://tutorials.zen-cart.com/index.php
    ---------------
    advanced.programmer at gmail dot com
    In love with Zen Cart!!

  6. #6

    Default Re: This page contains both secure and nonsecure items

    I'm sorry that I don't know more to tell you why it's happening. For whatever reason, however, your cart is serving that line of source in your secure pages, and your visitors browsers in turn are grabbing all of your relative url content via http.

    --Joe

  7. #7
    Join Date
    Feb 2006
    Location
    Chicago
    Posts
    1,162
    Plugin Contributions
    0

    Default Re: This page contains both secure and nonsecure items

    Well, what do I do now?

    As instructed by Ajeh

    I put this script in the server
    Code:
    <?php
    $request_type = ((isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) == 'on') || (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == '1') || (isset($_SERVER['HTTP_X_FORWARDED_BY']) && strstr(strtoupper($_SERVER['HTTP_X_FORWARDED_BY']),'SSL')) || (isset($_SERVER['HTTP_X_FORWARDED_HOST']) && strstr(strtoupper($_SERVER['HTTP_X_FORWARDED_HOST']),'SSL')) || (isset($_SERVER['SCRIPT_URI']) && strtolower(substr($_SERVER['SCRIPT_URI'], 0, 6)) == 'https:') || (isset($_SERVER['SERVER_PORT']) && $_SERVER['SERVER_PORT'] == '443' ) ) ? 'SSL' : 'NONSSL';
    echo 'I SEE ' . $request_type;
    ?>
    and all I get is I SEE NONSSL
    Tutorials on Zen Cart
    http://tutorials.zen-cart.com/index.php
    ---------------
    advanced.programmer at gmail dot com
    In love with Zen Cart!!

 

 

Similar Threads

  1. This page contains both secure and non-secure items?
    By doubletiger in forum General Questions
    Replies: 2
    Last Post: 11 Sep 2010, 01:16 PM
  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. 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
  5. Replies: 10
    Last Post: 18 Apr 2007, 10:29 AM

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