Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2008
    Posts
    1,700
    Plugin Contributions
    6

    Default Non-secure Items Warning

    I'm getting the "This page contains both secure and nonsecure items" message on my site. I've identified what's causing it, but I'm not sure how to get around the problem.

    I have a sidebox on the right called "Why Choose Us" which contains some images. These images are absolute linked to a subfolder in the main images directory, using a http. On the left side, I have the Newsletter Subscribe mod (which uses SSL on its pages). If you click on the subscribe button (can leave the email address blank), it throws the nonsecure warning.

    I'm not sure what to do. The images in question need to somehow be configured to work on both SSL pages and normal pages.
    I tried changing the links to the images to https but I then got some warnings when looking at non SSL pages. I'm not sure whether a relative link would solve this?

    It's not a problem at checkout because I disable the right side column during this process. It's just the Newsletter mod which is causing the problem.

    Can anyone help?

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

    Default Re: Non-secure Items Warning

    As I understand it, making those image links relative should solve the problem.

    How come the newsletter sign-up page told me (in a big red box) to 'try again' the first time i went there?

  3. #3
    Join Date
    Jan 2008
    Posts
    1,700
    Plugin Contributions
    6

    Default Re: Non-secure Items Warning

    Quote Originally Posted by stevesh View Post
    As I understand it, making those image links relative should solve the problem.

    How come the newsletter sign-up page told me (in a big red box) to 'try again' the first time i went there?
    The idea is that you enter your email address and *then* click subscribe. I thought it best to suggest leaving it blank because I didn't want anyone from here thinking that they had to enter their address, or even worse someone elses, in order to test the problem.

    How would I make them relative? I searched on the forum but I didn't find any information.

  4. #4
    Join Date
    Jan 2008
    Posts
    1,700
    Plugin Contributions
    6

    Default Re: Non-secure Items Warning

    The images are being called from includes\languages\english\html_includes\custom\define_editable_sidebox_content. php

    The images are located in images\WhyChoose

    I tried using..
    <img src="../../../../../images/WhyChoose/etc"> but it didn't work very well. The images displayed ok and no warning was thrown, but the images then didn't display at all on the SSL page.

    How can I solve this?

  5. #5
    Join Date
    Jan 2008
    Posts
    1,700
    Plugin Contributions
    6

    Default Re: Non-secure Items Warning

    Ok, I tried getting rid of all the "../" and instead just used <img src="images/WhyChoose/etc">

    Seems to work now.

 

 

Similar Threads

  1. v150 SSL warning mixed secure non-secure content
    By familynow in forum Basic Configuration
    Replies: 2
    Last Post: 1 Oct 2013, 04:13 PM
  2. Replies: 0
    Last Post: 15 Jan 2012, 05:37 PM
  3. 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
  4. Replies: 7
    Last Post: 30 Jun 2009, 04:43 AM
  5. Get secure/non-secure items warning in IE
    By tqualizer_man in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 12 Dec 2006, 02:24 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