Trustlogo displaying SSL cert errors only on IE

Good morning Comodo community,

I recently built a shopping cart with zencart and I installed a Comodo certificate through my webhost provider. After this I tried a few times to install and got the Trustlogo up and running. Everything seems to be working great right now but when you try to access the store via Internet explorer it tries to display the comodo trust logo even though the code is only showing it on secure pages (via login / checkout)

It works fine through Chrome and Firefox but IE does not seem to like this. My first thought is to get Zencart to force using https on every page that way I wont get the error

www.geminitracking.com/store

Code:

jscript_comodocorner.php

<script language="javascript">
//<![CDATA[
var cot_loc0=(window.location.protocol == "https:")? "https://secure.comodo.net/trustlogo/javascript/cot.js" :
"http://www.trustlogo.com/trustlogo/javascript/cot.js";
document.writeln('<scr' + 'ipt language="JavaScript" src="'+cot_loc0+'" type="text\/javascript">' + '<\/scr' + 'ipt>');
//]]>
</script>

The bottom of tpl_main_page.php

<!--eof- banner #6 display -->
<!-- Comodo code -->
<a href="http://www.instantssl.com" id="comodoTL">SSL</a>
<script language="JavaScript" type="text/javascript">
COT("https://www.geminitracking.com/store/images/cornertrust.gif", "SC2", "none");
</script>
<!-- end Comodo code -->
</body>

The bottom of html_header.php

<script language="javascript" type="text/javascript">
//<![CDATA[
var cot_loc0=(window.location.protocol == "https:")? "https://secure.comodo.net/trustlogo/javascript/cot.js" :
"https://www.trustlogo.com/trustlogo/javascript/cot.js";
document.writeln('<scr' + 'ipt language="JavaScript" src="'+cot_loc0+'" type="text\/javascript">' + '<\/scr' + 'ipt>');
//]]>
</script>
</head>

Any help is greatly appriciated if you could let me know how to disable the trustlogo on the http pages that would forgo the error with IE.

Thanks all,

Your problem appears to be located in “bottom of HTML header” file.

It reads…

https://www.trustlogo.com/trustlogo/javascript/cot.js

it should read…

http://www.trustlogo.com/trustlogo/javascript/cot.js

The real question is why you have that code twice… in jscript_comodocorner.php and at the bottom of html_header.php

Looks like I forgot to clean up my mess after redoing the trustlogo from the first time.

Thanks, your fix worked perfectly :-TU