/    Sign up×
Community /Pin to ProfileBookmark

[RESOLVED] "This page contains both secure and nonsecure items" error in IE

Hello good people—

I recently added an ssl cert to my site. If I visit an https:// page, I get the following error when using internet explorer:

“This page contains both secure and nonsecure items.”

“Do you want to display the nonsecure items?

I don’t really know what I’m doing or how I might be able to fix it. If anyone could point me in the right direction, I would really appreciate it.

Great forum by the way.

Thanks

Joe

to post a comment
HTML

9 Comments(s)

Copy linkTweet thisAlerts:
@FangMar 04.2009 — The page contains links to files or images that are not in the secure folder.

They begin with http:// and not https://
Copy linkTweet thisAlerts:
@sawa0018authorMar 05.2009 — Thanks for the reply. I tried it with in a blank page with no files or images and get the same result. Could it be the links in the footer or along the top?


Thanks
Copy linkTweet thisAlerts:
@TheTeenScripterMar 05.2009 — Thanks for the reply. I tried it with in a blank page with no files or images and get the same result. Could it be the links in the footer or along the top?


Thanks[/QUOTE]


that could very well be possible. could you post the source-code of the blank page as internet explorer sees it?

also, is it possible for you to change the code in the footer/top of the page for the secure part of the site only?
Copy linkTweet thisAlerts:
@sawa0018authorMar 05.2009 — Thanks for the reply.

I’m sure it’s possible to change the code in the footer/top of the page for the secure part of the site only, but I really don’t have any idea how to do it.

In any event, here’s the code. If you could, please let me know if anything jumps out at you.

Thanks

[CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US">

<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

<title>CREfirms.com &raquo; blank test</title>

<link rel="stylesheet" href="https://crefirms.com/wp-content/themes/fluid-blue/style.css" type="text/css" media="screen" />
<link rel="stylesheet" href="https://crefirms.com/wp-content/themes/fluid-blue/print.css" type="text/css" media="print" />
<link rel="alternate" type="application/rss+xml" title="CREfirms.com RSS Feed" href="http://crefirms.com/feed/" />
<link rel="pingback" href="http://crefirms.com/xmlrpc.php" />
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://crefirms.com/xmlrpc.php?rsd" />
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://crefirms.com/wp-includes/wlwmanifest.xml" />
<!-- SuperSlider Base plugin available at http://wp-superslider.com/ -->
<script src="http://crefirms.com/wp-content/plugins/superslider/js/mootools-1.2.1-core-yc.js" type="text/javascript"></script>
<script src="http://crefirms.com/wp-content/plugins/superslider/js/mootools-1.2-more.js" type="text/javascript"></script>
<meta name="generator" content="WordPress 2.6.5" />

</head>

<body>
<div id="page">
<div id="header">














<div id="headertitle">
<h1><a "href=http://crefirms.com title="CREfirms.com: Commercial Real Estate Firms Database">CREfirms.com</a></h1>
<p>Commercial Real Estate Firms Database</p>
</div>

















<!-- Search box (If you prefer having search form as a sidebar widget, remove this block) -->
<div class="search">
</div>
<!-- Search ends here-->

</div>

<div id="navbar">
<ul id="nav">
<li><a href="http://crefirms.com">Home</a></li>
<li class="page_item page-item-1360 current_page_item"><a href="http://crefirms.com/blank-test/" title="blank test">blank test</a></li>
<li class="page_item page-item-696"><a href="http://crefirms.com/tour/" title="Tour">Tour</a>
<ul>
<li class="page_item page-item-568"><a href="http://crefirms.com/tour/executive-contacts-tour/" title="Executive Contacts Tour">Executive Contacts Tour</a></li>
</ul>
</li>
<li class="page_item page-item-29"><a href="http://crefirms.com/free-trial/" title="Free Trial">Free Trial</a></li>
<li class="page_item page-item-669"><a href="http://crefirms.com/contact-us/" title="Contact Us">Contact Us</a></li>
<li class="page_item page-item-662"><a href="http://crefirms.com/retrieve-password-2/" title="Retrieve Password">Retrieve Password</a></li>
<li class="page_item page-item-1089"><a href="http://crefirms.com/members-home/" title=""></a></li>
<li class="page_item page-item-196"><a href="http://crefirms.com/seach-firms1/" title=""></a></li>
<li class="page_item page-item-55"><a href="http://crefirms.com" title=""></a></li>
<li class="page_item page-item-969"><a href="http://crefirms.com/new-sign-up-landing-page/" title=""></a></li>
<li class="page_item page-item-207"><a href="http://crefirms.com/search-executive-contacts/" title=""></a></li>
<li class="page_item page-item-457"><a href="http://crefirms.com/member-faqs/" title=""></a></li>
<li class="page_item page-item-48"><a href="http://crefirms.com/site-map/" title=""></a></li>
<li class="page_item page-item-236"><a href="http://crefirms.com/commercial-real-estate-investment-firm-database/" title="landing page">landing page</a></li>
<li class="page_item page-item-89"><a href="http://crefirms.com/account-information/" title=""></a></li>
<li class="page_item page-item-36"><a href="http://crefirms.com/terms-and-conditions-2/" title=""></a></li>
<li class="page_item page-item-20"><a href="http://crefirms.com/privacy-policy/" title=""></a></li>
<li class="page_item page-item-2"><a href="http://crefirms.com/about/" title=""></a></li>
<li class="page_item page-item-230"><a href="http://crefirms.com/members_home/" title=""></a></li>
</ul>
</div>
<div id="wrapper">

<div id="content">

<div class="post" id="post-1360">




<div class="postentry">
<br />
</div>

<div class="postmetadata">
<div class="postmetadata">
</div>
</div>
</div>



<!-- You can start editing here. -->

<div id="comments">

<!-- If comments are closed. -->


</div>



</div>


</div> <!-- wrapper -->
<div id="footer">

<html>
<body>

<html>
<body>

<p>

<a href="http://crefirms.com/?page_id=36">
Terms and Conditions</a>

&nbsp &nbsp &nbsp &nbsp

<a href="http://crefirms.com/?page_id=20">
Privacy Policy</a>

&nbsp &nbsp &nbsp &nbsp


<a href="http://crefirms.com/?page_id=2">
About Us</a>

&nbsp &nbsp &nbsp &nbsp

<a href="http://crefirms.com/member-faqs/">
FAQs</a>


&nbsp &nbsp &nbsp &nbsp

<a href="http://crefirms.com/?page_id=48">
Site Map</a>
</p>
2009 CREfirms.com All Rights Reserved



</body>
</html>



</body>
</html>


</div>
</div> <!-- page -->
</body>
</html>

[/CODE]
Copy linkTweet thisAlerts:
@FangMar 05.2009 — Your mootool scripts are not secure.
&lt;html&gt;
&lt;body&gt;

&lt;html&gt;
&lt;body&gt;
what's gone wrong here ?
Copy linkTweet thisAlerts:
@sawa0018authorMar 05.2009 — Thanks a lot for taking a look.

Do you know of a resource that might explain how to secure mootool scripts?

As far as the

[CODE]</body>
</html>



</body>
</html>
[/CODE]


I clearly don’t know what I am doing.
Copy linkTweet thisAlerts:
@FangMar 05.2009 — Copy the mootools scripts to a secure folder.

No scripts, objects, images or other documents may be included in the main document from outside the secure folder https
Copy linkTweet thisAlerts:
@sawa0018authorMar 05.2009 — Thanks so much for all your help you guys. I got it figured out. Really a great service you provide here.
Copy linkTweet thisAlerts:
@ravinderchdMar 14.2009 — Hi all,

I wanted to share my solution with all of you. The suggested reasons for the warning can be found on number of websites. I can give you exclusive reasons that no one gave anywhere on the net.

1) Check if you are using <iframe> tag

2) If possible then remove

3) If it is absolutely necessary then check that it should have valid src attribute pointing to secure links (https://www.ringoring.com/b.html etc).

If you have iframe and you do not provide the src then I.E will give the warning. again if the src is there but you did not mention https:// then it will also complain. so the solution is to put absolute path to src property of the <iframe>

To achieve some ajax type results i needed to use Iframes, and I have encountered the same problem and step by step I get to this point. Yes the other stuff you guys provided will also do if you have normal http:// mentioned in a https:// link

I hope this will be great help for someone!!!

Ravi
×

Success!

Help @sawa0018 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...