Results 1 to 10 of 22

Hybrid View

  1. #1

    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

  2. #2
    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!!

  3. #3

    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

  4. #4
    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!!

  5. #5
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: This page contains both secure and nonsecure items

    Who is your host?
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

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

    Default Re: This page contains both secure and nonsecure items

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

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

    Default Re: This page contains both secure and nonsecure items

    Images on the site are not being referenced as https
    Is that the problem??
    Someone please help!
    Last edited by superprg; 21 Mar 2007 at 06:52 PM.
    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