Results 1 to 10 of 21

Hybrid View

  1. #1
    Join Date
    Feb 2008
    Posts
    41
    Plugin Contributions
    0

    Default secure and nonsecure items base href?

    website: www.bestfriendsquilts.com

    I'm getting the dreaded "this page contains both secure and nonsecure items" error message when accessing supposedly secure pages. If I choose NO, do not display nonsecure items, it basically throws out the entire stylesheet. I cannot find any http: coded images or links in either my header or footer template, or my stylesheet.

    Also, having read some of the other related threads, I looked at my source code and noticed my base href is not https.

    My config files all say to use secure checkout.

    This error does not occur in IE6, but does in IE7. I haven't tried the newest IE yet.

    Btw, in Firefox 3.5.6, I don't get an error message when I go to Log In, but it boots me back to the Home Page... but then lets me through the checkout process normally after that.

    JJ Doench

  2. #2
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

  3. #3
    Join Date
    Feb 2008
    Posts
    41
    Plugin Contributions
    0

    Default Re: secure and nonsecure items base href?

    Maybe I am coding them incorrectly? This is what is in my tpl_header.php file:

    Code:
    <a href="index.php?main_page=index">
    				<IMG SRC="images/logo_01.gif" WIDTH=293 HEIGHT=100 BORDER=0 ALT="Best Friends Quilt Shoppe"></a></TD>
    And so on for the logo_02.gif, etc.

    JJDoench

  4. #4
    Join Date
    Nov 2007
    Location
    Melbourne, Australia
    Posts
    541
    Plugin Contributions
    0

    Default Re: secure and nonsecure items base href?

    You should use the zen-image function to include pictures

    Example:
    Code:
    zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . 'logo_01.gif', HEADER_ALT_TEXT, HEADER_LOGO_WIDTH, HEADER_LOGO_HEIGHT) .
    It is assumed that the images are located in the template folder in the images folder.

  5. #5
    Join Date
    Feb 2008
    Posts
    41
    Plugin Contributions
    0

    Default Re: secure and nonsecure items base href?

    I will try this - thank you!
    JJDoench

  6. #6
    Join Date
    Feb 2008
    Posts
    41
    Plugin Contributions
    0

    Default Re: secure and nonsecure items base href?

    okay, so I get how to do the . zen_image part...

    What I don't get is how to set up the links

    How do I get
    Code:
    <a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">
    to link to specific places within my catalog?

    JJDoench

 

 

Similar Threads

  1. v139h SSL Nonsecure Items Problems w/ Base href
    By coledorsey in forum Basic Configuration
    Replies: 5
    Last Post: 27 Feb 2012, 02:45 AM
  2. New SSL -- Getting Secure and Nonsecure items error in IE
    By cleverpork in forum Basic Configuration
    Replies: 31
    Last Post: 10 Jun 2011, 05:57 AM
  3. Secure and Nonsecure items
    By Rickmann08 in forum General Questions
    Replies: 58
    Last Post: 13 Sep 2009, 10:36 PM
  4. Page Contains Secure and Nonsecure Items...
    By HandcraftedUK in forum General Questions
    Replies: 7
    Last Post: 9 Nov 2008, 07:20 PM
  5. Secure and nonsecure items
    By dealbyethan.com in forum General Questions
    Replies: 3
    Last Post: 29 Aug 2007, 06:13 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