My Customers Visitors Are Complaining of secure and nonsecure items popup

Mobile
feeds
Welcome Login | Register

My Customers Visitors Are Complaining of secure and nonsecure items popup
Reply Your Comments:
Click this button if you are interested in replying to this topic and leave your comments
Sent To Friend
CLick this button if you want to send this page to a friend.
Subsribe To Rss Feeds
Subscribe to RSS
CLick this button if you want to subscribe to this RSS Feed. You can use your browsers feeds burners if you have mozilla or internet explorer 7 or higher and keep up with updates.
  Forums Index
      » General Errors Forums
        » » My Customers Visitors Are Complaining of secure and nonsecure items popup
My Customers Visitors Are Complaining of secure and nonsecure items popup
Post Description: my customers visitors are complaining of secure and nonsecure items popup General Errors
Post Tags:
This Post Has Been Viewed 7919 Times Since Mon Nov 27, 2006 2:06 am Author mister_MR2 with 13 replies
My Customers Visitors Are Complaining of secure and nonsecure items popup
Advertise On This Page




I have a webpage with a shoping cart, i have installed the ssl to my site with https, but lately, i've been getting complaints from customers and visitors telling me that they are getting a popup window that says:


     Quote:
This Page contains both secure and nonsecure items
do you want to display the nonsecure items?


I've look at my code, and it all appears to be ok. is it something to do with their computer? Is this a user issue?

Any Help you can provide will be helpful


Leave Your Comments

Your Name
Your Email Address (Will Not Be Published)
Notify Me When Someone Replies to this Page
(An email will be sent to you when someone replies to your comments)
Your Comments
Include A Picture with your comments
Share
| More
Share this page by putting this URL in your comments to other websites like myspace, Facebook, Twitter friendster, Hi5, Groups, Boards, Forum or others. Just Copy and Paste this Code
URL:
To embed this topic, just copy the code from the "Embed" box. Once you've copied the code, just paste it into your website or blog to embed it.
Embed:
BBCODE is use on forums. You can put this code on all your BBCODE enabled forums like PhpBB, vBulletin® and others. Just Copy and Paste this code on your Posts and Replies on your forums
BBCODE:
Subscribe Feeds
Webmasters - Exchange Links With Us. Add related websites to this topic
Add Link:
Links Related to : My Customers Visitors Are Complaining of secure and nonsecure items popup

Comments and replies About My Customers Visitors Are Complaining of secure and nonsecure items popup
:: 1 :: Reply #139 Reply By mister_MR2 On Mon Nov 27, 2006 2:32 am
mister_MR2:
Both actually, but the root cause of this error is poor website design. Whoever designed your site, didn't do a good job at linking all the required content to be covered by the ssl to be secured (https). The reason why your visitors are seing this is because there is a one of more items that are included in the page that is not secured ( https ). It could be a picture image, or a file that you are linking to thats not secured.

How to resolve this.

If you are a user and want to get rid of the popup window,
you always get, you can follow the steps in this tutorial: CLICK HERE TO SEE TUTORIAL

But if you are a webmaster, you need to troubleshoot your desing code (html, php, etc..). Check these items:

1. Load the page that is giving the error, and look at the code. these are the most common reason why you may be getting the popup:

a. A link to an image where the images is not secured. To fix this, make sure use https protocol:

Example: In my code i found this:
     Code:
<img src="http://www.mydomain.com/imagefile.jpg">

You need to change it to:
     Code:
<img src="https://www.mydomain.com/imagefile.jpg">


b. Another way to cause an error is to link to a style sheet with the link tag:
     Code:
]<link href="http://www.mydomain.com/style.css" rel="stylesheet" type="text/css" />
Is this example, just make sure you change the protocol from http to https

c. Linking to style sheets that have image properties can also create this error. For examplke, if i am linking to my style sheet with https, but one of the properties in one of my style sheet declarations has an image, make sure its using the https protocol: for example, when i open my style.css, once of my styles is this:
     Code:
body
{
background-color: #000000;
margin: 1px;
font-size: 10px;
font-family: Verdana;
color: #ABAFAB;
background-image: url(/images/backgrounds/dark.gif);
padding: 10px;
}

The above style will cause the nonsecure popup because my dark.gif image is not using the https protocol, so to make sure, i would change the style to look like this:
     Code:
body
{
background-color: #000000;
margin: 1px;
font-size: 10px;
font-family: Verdana;
color: #ABAFAB;
background-image: url(https://www.mydomain.com/images/backgrounds/dark.gif);
padding: 10px;
}


Now you get the idea. So make sure you are using https protocol on all your page content.

Hope this helps

Thanks to Webune Support for their contribution - webune.com
:: 2 :: Reply #140 Reply By mister_MR2 On Mon Nov 27, 2006 2:37 am
mister_MR2:
Thanks,

That worked!!, I changed my css background image to https and now i am not seeing the error anymore. I will monitor for the next few days to see if any visitors report problems.
:: 3 :: Reply #141 Reply By mister_MR2 On Wed Dec 13, 2006 7:31 am
mister_MR2:
I am trying to get rid of this same message ("This Page Contains both secure and non-secure items"). None of the described solutions work for me. I have a SSL web page (https) that displays image files from the local hard drive, of the format:

<img src="C:\Test\Sample Jpegs\640x480\alaska.jpg" border="1" align="center" width="100" height="75">

How can I make this web page display without seeing the warning message?
:: 4 :: Reply #142 Reply By mister_MR2 On Wed Dec 13, 2006 3:01 pm
mister_MR2:
all web pages on the internet run on a protocol called HTTP. From what I know, it started from the Unix world, However, looking at your<img> tag, you have the backlash ( \) character in your img tag, the \ is a primarly a windows path separator, unix on the other hand uses the forward slash ( / ) as a path separator. its the same as when you typ a url in your browser, you would type for example: http://www.wallpaperama.com NOT http:\\www.wallpaperama.com. (go to the bottom of this post to see more information about this subject)

With that in mind, i would advise you to change your code:

Chang From This:

     Code:
<img src="C:\Test\Sample Jpegs\640x480\alaska.jpg" border="1" align="center" width="100" height="75">


Change It To:


     Code:
<img src="/alaska.jpg" border="1" align="center" width="100" height="75">


* assuming that your file (example: index.html) is in the "Test" directory

* * * * * * * * * * more information on the subjet: * * * * * * * * * *
------------------------------------------------------------------------------------
DOS 2. When directories were introduced. Many of the functions
were based on unix, down to a NUL terminated filename and the
name "creat".

But DOS 1 was modelled on CP/M which used "/" as a command
line option flag. You couldn't use a "/" in the DOS shell because
it would be interpreted as the flag. You could change the flag using
a DOS command, eg, to use "-" instead, but that was disabled in
the 3.x days; for good reason.

Hence, the low-level DOS commands (since 2.0) would take
both / and \ as separators, but some codes did their own
filename munging and would not.
:: 5 :: Reply #1440 Reply By Charlie On Tue Apr 10, 2007 3:39 pm
Charlie:
Hopefully I can revive this thread as I am too having the same problem of NEEDING to display an image from the LOCAL HARD DRIVE not my web server on a secured web page. How this is working is we are using a scanner that the website works with. They scan in an image, the image needs to display temporarily (it is NOT stored on our server) of what they just scanned.
I need to figure out a way to get rid of this warning.. please help!
:: 6 :: Reply #1444 Reply By bruce On Tue Apr 10, 2007 6:15 pm
bruce:
you probably need to check your code. I had the same problem with putting the relative path instead of the absolute path. The you can never go wrong with the absolute path.
:: 7 :: Reply #2074 Reply By Jose On Mon Apr 30, 2007 1:33 pm
Jose:
Important: other case is when you use an IFRAME an omit the SRC attribute. See the link below:

http://gemal.dk/blog/2005/01/27/iframe_without_src_attribute_on_https_in_internet_explorer/





:: 8 :: Reply #2930 Reply By RON8O On Fri May 11, 2007 5:20 am
RON8O:
so this message ("this page contains both secure and non-secure items") is caused anytime there are relative links in a secured site?
:: 9 :: Reply #17899 Reply By ram On Wed Aug 29, 2007 6:05 am
ram:
thanks it really helpfull for working in my project.
:: 10 :: Reply #71896 Reply By Jesse On Tue Sep 23, 2008 9:23 pm
Jesse:
very helpful! ... it was so nice to read all this and correct the problem!
:: 11 :: Reply #82945 Reply By Jim On Mon Nov 24, 2008 11:16 am
Jim:
i am having this same problem but have checked all my code and cannot get rid of this message. if anyone has the time, could you check the code on my site and see if i am missing something?

thanks in advance,

https://frcreditrep /partners/index.php
:: 12 :: Reply #82947 Reply By Jim On Mon Nov 24, 2008 11:17 am
Jim:
sorry web page didn't work..

frcreditrepair
dot
co
:: 13 :: Reply #102303 Reply By Anna On Mon May 04, 2009 3:07 pm
Anna:
i'm having the same trouble, only i think it's a little more complicated than putting the https:// in front of the images and so forth. could someone check out this page and let me know what else could be done? hothangups /thecollections.php

i think the problem is the product photos are not secured... but i am not sure how to secure them. they are pulled from a folder on the server through php code that uses references embeded into a regular page like so:

<?php include("/home/httpd/vhosts/hothan /httpdocs/oneadmin42/ecommerce/home ?>

and i'm not sure how to go about implementing the https:// to it.

please help!