Link to home
Start Free TrialLog in
Avatar of michaeltk26
michaeltk26

asked on

IE users get error: display secure and nonsecure items

My website requires lots of security, so my pages are served over https.  However, many of my IE users are getting the following error message:

Do you want to display secure and nonsecure items?

This is such an annoyance to my users.  I have tried to fix it, but cannot.  I have fixed all of the image sources to state https:, but that didn't work.

Below is the html source of a page that keeps getting the error.  Could someone please scan the source and tell me what references are causing the error?  Thanks so much!

 

<html><!-- InstanceBegin template="/Templates/members.dwt.php" codeOutsideHTMLIsLocked="false" -->
<head>

<!-- InstanceBeginEditable name="doctitle" -->
<title>Music Store Network</title>
<!-- InstanceEndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable -->
<link href="https://www.musicstorenetwork.com/css/musicstorenetwork.css" rel="stylesheet" type="text/css">
<link href="https://www.musicstorenetwork.com/css/musicstorenetwork.css" rel="stylesheet" type="text/css">
</head>

<body background="https://www.musicstorenetwork.com/images/greyback.jpg" link="#FFFFFF" vlink="#FFFFFF" alink="#FFFFFF" topmargin="0" marginwidth="0" marginheight="0">
      <script type="text/javascript" src="https://www.musicstorenetwork.com/dropdown/milonic_src.js"></script>      
      <script      type="text/javascript">
      if(ns4)_d.write("<scr"+"ipt type=text/javascript src=https://www.musicstorenetwork.com/dropdown/mmenuns4.js><\/scr"+"ipt>");            
        else _d.write("<scr"+"ipt type=text/javascript src=https://www.musicstorenetwork.com/dropdown/mmenudom.js><\/scr"+"ipt>");
      </script>
      <SCRIPT type="text/javascript" src="https://www.musicstorenetwork.com/dropdown/menu_data.js"></SCRIPT>
<table width="690" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr align="center" bgcolor="#eff1f2">
          
    <td bgcolor="fcfcfc"><div align="left">
      <table width="100%" border="0" cellspacing="0" cellpadding="3">
        <tr>      
                            
          <td width="50%" valign="bottom"><a href="http://www.musicstorenetwork.com"><img src="https://www.musicstorenetwork.com/images/logo_main.jpg" width="249" height="70" border="0"></a>
          </td>
                        <td class="normaltextsize" width="50%" valign="bottom"><div align="right">
               <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td align="right" valign="top" class="normaltextsize"> <a href="logout.php"><img src="https://www.musicstorenetwork.com/images/logout.jpg" width="54" height="14"></a><br>User:
                     J.R.
                  </td>
                 
                </tr>
              </table>

                          </div>
                              </td>
                      </tr>
              </table>
            </td>
        </tr>
        <tr align="center" bgcolor="06437D">
          
    <td height="25" align="left" bgcolor="354657"><table width="100%" cellspacing="0" cellpadding="0">
        <tr>
          <td width="5">&nbsp;</td>
          <td>
<script type="text/javascript">
with(milonic=new menuname("Home")){
alwaysvisible=1;
position="relative";
orientation="horizontal";
style=topmenuStyle;
aI("text=HOME;url=members.php;");
aI("text=INVENTORY;url=listings.php;");
aI("text=RECORD A SALE OR RETURN;url=sellitem0.php;");aI("text=CONTACT US;url=contact.php;");
}
drawMenus();  
              </script>
          </td>
        </tr>
      </table> </td>
        </tr>
                                <tr bgcolor="660000">
    <td height="25">
      <table width="100%" cellspacing="0" cellpadding="0">
        <tr>
          <td width="5">&nbsp;</td>
          <td><script type="text/javascript">
with(milonic=new menuname("Home")){
alwaysvisible=1;
position="relative";
left=270;
orientation="horizontal";
style=menuStyle;
top=100;
aI("showmenu=Purchasing;text=Purchasing;");
aI("showmenu=eBay;text=eBay;");
aI("text=Customers;url=marketing.php;");
aI("showmenu=Reports;text=Reports;");
aI("text=Employees;url=employees.php;");
aI("showmenu=Preferences;text=Preferences;");}
drawMenus();  
              </script></td>
        </tr>
      </table> </td>
  </tr>
                                 <tr bordercolor="#FFCCCC">  
          <td height="25" background="https://www.musicstorenetwork.com/images/silver_bar.jpg">&nbsp;
            </td>
        </tr>
      <tr>
          <td width="100%" height="25" valign="top" bgcolor="#ffffff"><!-- InstanceBeginEditable name="main_window_edit_region" -->
            
                  
      <table width="100%" height="390" border="0" cellpadding="0" cellspacing="0">
        <tr>
                            
          <td height="390" valign="top" bgcolor="8A9BAC">    

<link href="css/musicstorenetwork.css" rel="stylesheet" type="text/css">

<form style="margin-bottom: 0" name="sortform" method="post" action="itemaction.php">
  <table width="100%" height="400" border="0" cellpadding="5" cellspacing="0">
      <td valign="top" bgcolor="8a9bac"> <table width="100%" cellspacing="0" cellpadding="5">
          <tr>
            <td><table style="border: 1px solid rgb(58,75,92);" width="100%" cellspacing="1" cellpadding="0">
                <tr bgcolor="#660000">
                  <td colspan="10" class="mainheadings">
                      <table width="100%" border="0" cellspacing="0" cellpadding="10">
                        <tr>
                          <td class="mainheadings">
                              Inventory of  Awesome Drums
                             
                            </td>
                        </tr>
                      </table>
                      </td>
                </tr>
                <tr align="right" bgcolor="cccccc">
                  <td colspan="10" valign="top" bgcolor="d0d0d0"> <table width="100%" cellpadding="5" cellspacing="0">
                      <tr>
                        <td width="75%" valign="top">
                          <div align="left">
                            <table width="100%" border="0" cellspacing="0" cellpadding="3">
                              <tr>
                                <td class="normaltextsize"width="50%">Search:
                                  <input name="form_searchstring" type="text" id="form_searchstring" value="" size="16" maxlength="50">
                                  &nbsp; <input type="submit" name="Submit" value="go">
                                </td>
                                <td class="normaltextsize" width="50%" rowspan="2" valign="bottom">
                                  <input type="checkbox" name="showunavailable" value="1" onClick="javascript:document.sortform.submit()"  >
                                  Show unavailable items
                                                                    <br>
                                  <input type="checkbox" name="dividebycat" value="1" onClick="javascript:document.sortform.submit()"  >
                                  Divide by primary category
                                  <input name="bydealer" type="hidden" id="bydealer" value="">
                                  <br>
                                  <input name="dividebysecondarycat" type="checkbox" id="dividebysecondarycat" onClick="javascript:document.sortform.submit()" value="1"  >
                                  Divide by secondary category</td>
                              </tr>
                              <tr>
                                <td class="normaltextsize"><font color="#000000">Sort by: </font> <select name="sort" id="select2" onChange="javascript:document.sortform.submit()">
                                    <option value="brandup">Brand:
                                    Ascending</option>
                                    <option value="branddown">Brand:
                                    Descending</option>
                                    <option value="modelup">Model:
                                    Ascending</option>
                                    <option value="modeldown">Model:
                                    Descending</option>
                                    <option value="yearup">Year:
                                    Ascending</option>
                                    <option value="yeardown">Year:
                                    Descending</option>
                                    <option value="storecostup">Store
                                    Cost: Ascending</option>
                                    <option value="storecostdown">Store
                                    Cost: Descending</option>
                                    <option value="priceup">Sale
                                    Price: Low to High</option>
                                    <option value="pricedown">Sale
                                    Price: High to Low</option>
                                    <option value="quantityup">Quantity:
                                    Low to High</option>
                                    <option value="quantitydown">Quantity:
                                    High to Low</option>
                                  </select> </td>
                              </tr>
                            </table>
                           
                           
                          </div></td>
                        <td width="25%" valign="top">
                          <div align="left"> </font>
                          </div></td>
                      </tr>
                   
                    </table></td>
                </tr>
                <tr>
                  <td valign="top"> <table width="100% cellpadding=" border="0" cellpadding="3"" cellspacing="1" bgcolor="dddddd">
                      <tr bgcolor="#000000">
                                    <td width="12%" height="30" align="center" bgcolor="354657" class="normaltextsize"><font color="#FFFFFF"><strong>
                                      <input name="referralpage" type="hidden" id="referralpage" value="inventory">
                                      Brand</strong></font></font></td>
                        <td width="27%" align="center" bgcolor="354657" class="normaltextsize"><font color="#FFFFFF"><strong>Model</strong></font></font></td>
                        <td width="7%" align="center" bgcolor="354657" class="normaltextsize"><font color="#FFFFFF"><strong>Year</strong></font></font></td>
                        <td width="10%" align="center" bgcolor="354657" class="normaltextsize"><font color="#FFFFFF"><strong>Color</strong></font></font></td>
                        <td width="2%" align="center" bgcolor="354657" class="normaltextsize"><font color="#FFFFFF"><strong>Qty.</strong></font></font></td>
                                                          <td width="2%" align="center" bgcolor="354657" class="normaltextsize"><strong><font color="#FFFFFF" size="2" face="Arial, Helvetica, sans-serif">On
                          Order</font></strong></td>
                                                        <td width="10%" align="center" bgcolor="354657" class="normaltextsize"><font color="#FFFFFF"><strong>Store
                          Cost</strong></font></font></td>
                        <td width="10%" align="center" bgcolor="354657" class="normaltextsize"><font color="#FFFFFF"><strong>Sale
                          Price</strong></font></font></td>
                                                                  <td width="4%" align="center" valign="top" bgcolor=#FFFFFF>
                                                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                        <tr>
                                                <td align="center" class="tinytext">cash</td>
                                        </tr>
                                             <tr>
                                                <td align="center"><font color="#000000" face="Arial, Helvetica, sans-serif" size="1">
                                                  <input name="sellbutton" type="image" id="sellbutton2" src="https://www.musicstorenetwork.com/images/sell.gif" border=0 value="YES">
                                                  </font></td>
                                        </tr>
                                        <tr>
                                                <td align="center" class="tinytext">register</td>
                                        </tr>
                                      </table></font>
                                          </td>
                                                                        
                                                                        <td width="4%" align="center" valign="top" bgcolor=#FFFFFF>
                                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                              <tr>
                                                     <td align="center" class="tinytext">bar</td>
                                              </tr>
                                              <tr>
                                                      <td align="center"><font color="#000000" face="Arial, Helvetica, sans-serif" size="1">
                                                  <input name="listbutton" type="image" id="listbutton2" value="YES" src="https://www.musicstorenetwork.com/images/labels2.gif" width="25" height="25" border=0>
                                                  </font></td>
                                              </tr>
                                              <tr>
                                                      <td align="center" class="tinytext">codes</td>
                                              </tr>
                                            </table>
                                    </td>
                                                                        
                        <td width="4%" align="center" bgcolor=#FFFFFF class="smalltext"><font color="#000000">edit
                          </font></td>
                                     
                                                                        <td width="4%" align="center" bgcolor=#FFFFFF class="smalltext"><font color="$000000">eBay</font></td>
                     
                                </tr>
                      <tr class="row1"><td class="normaltextsize"><font color="#000000">Ludwig</td><td class="normaltextsize"><a href="itemreport.php?itemid=406216774269" class="blacklinks">.</a></td><td class="normaltextsize">&nbsp</td><td class="normaltextsize"><font color="#000000">Pearl White</td><td class="normaltextsize" align="right"><font color="#000000">1</td><td class="normaltextsize" align="right"><font color="#000000">0</td><td class="normaltextsize"><div align="right"<font color="#000000">$105.00</td></div><td class="normaltextsize"><div align="right"<font color="#000000">$229.00</td></div><td colspan="2" align="center"><input name="sellitem[]" type="checkbox" value="406216774269"></td><td align="center"><a href="edititem.php?itemid=406216774269" onmouseover="this.T_WIDTH=50;return escape('edit item')"><img src="https://www.musicstorenetwork.com/images/edit.gif" border="0"></a></td><td align="center"><a href="https://www.musicstorenetwork.com/eBayListItem.php?itemid=406216774269"><img src="https://www.musicstorenetwork.com/images/kpackage.jpg" border="0"></a></td></tr>                    </table></td>
                </tr>
              </table></td>
          </tr>
        </table>
       
       
      </td>
    </table></form>
<script language="JavaScript" type="text/javascript" src="https://www.musicstorenetwork.com/wz_tooltip.js"></script>
             
              </td>
                        </tr>
     
                  </table><!-- InstanceEndEditable -->
            </td>
        </tr>
 
        <tr bordercolor="#FFCCCC">
          <td height="25" background="https://www.musicstorenetwork.com/images/silver_bar.jpg">&nbsp;
            </td>
        </tr>
</table>
</body>
<!-- InstanceEnd --></html>
Avatar of daleoran
daleoran
Flag of United Kingdom of Great Britain and Northern Ireland image

Get your users to do the following

Open up IE
Click 'Tools' > 'Internet Options'
Click 'Security' tab
Click 'Custom Level'
Scroll down to the 'Miscellaneous' section and look for
'Display Mixed Content'
Click 'Enable'
Click 'OK'

Hope this helps

Michael
Avatar of michaeltk26
michaeltk26

ASKER

Sorry, but I'm not going to ask my users to do that.  I need a solution that won't require my users to do any thing.  When was the last time you used a professional website that required you to change your Browser's security settings?
Well to be honest I don't get those messages as I have my browser set to display the secure and non secure items. To be honest I don't know of any way around this. Sorry

Michael
The error generally occurs when your page is pulling content (usually images) from both the https://url and the http://url.

In pages intended for display using SSL, you should make sure *all* paths to images and/or include files are relative (/images/whatever.gif) and not static (http://domain/images/whatever.gif.)

When I get those, it is usually an image in a foorter or CSS style that is called by a static URL.

Regards,
Rod
Rod, I think I did that.  I'd appreciate it if you could check the html that I posted in my message and find the error.
The HTML you posted has all static URLs for images.
I changed all of the image paths to relative paths, and that did not fix the problem.  My hunch is that something in the code is trying to pull a page from http: instead of https:, but I haven't found the culprit yet.
A wild guess, but could it have anything to do with the Template reference at the top?
or in the CSS file....
Hi!

Did you see <a href="http://www.musicstorenetwork.com"? make it https: and see.... None of the links should be http.

Hope this helps,
S:
ASKER CERTIFIED SOLUTION
Avatar of SquareHead
SquareHead

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
prsupriya, links can be http:// you cannot expect all remote sites to have secure pages.

Like some users before said, replace full pathe with relative ones (that way you can use secure and standard šages without problems).

check for tags like src, background,...

I have been on your site (with IE - normal settings) and I didn't  get any popup windows from IE regarding mixed contents.

cheers

For the record, the error was caused by a Microsoft IE bug:

http://support.microsoft.com/default.aspx?scid=kb;en-us;261188

I awarded points to SquareHead because he suggested that the problem was caused by a javascript file.  In reviewing my javascript files and by doing some Google searches, I discovered that Microsoft IE has the aforementioned bug.  I fixed the problem by following Microsoft's recommendations.

If only everyone used Firefox . . .

Thanks for the help!
You mentioned that iframe bug. where on your site you're using iframe?

cheers
The sample code that I provided loads mmenudom.js.  I think it was that javascript file that contained the iframe code.