Please help with Uncaught ReferenceError: TrustLogo is not defined

D3athD00r

Well-Known Member
Joined
Sep 20, 2014
Messages
436
Reaction score
3
Location
Fourways
Hi Guys,

I'm currently stumped with getting my SSL logo onto my site. The error I get in chrome's developer tools is "Uncaught ReferenceError: TrustLogo is not defined"

When I look at the script supplied by the comodo website I don't know what could be the issue.

here is the offending code:

Code:
<script language="JavaScript" type="text/javascript">
TrustLogo("https://*.co.za/wp-content/uploads/2015/11/comodo_secure_100x85_transp-compressor.png", "CL1", "none");
</script>
<a  href="https://ssl.comodo.com" id="comodoTL">SSL Certificate</a>

Please help steer me in the right direction

Thanks in advance
 
Hi D3athD00r

You are getting this error because the function you are tying to call does not exist in your case it's "TrustLogo".
Please add this part before your script tag <script language="JavaScript" src="https://secure.comodo.net/trustlogo/javascript/trustlogo.js" type="text/javascript">
</script>


it should look like this

<script language="JavaScript" src="https://secure.comodo.net/trustlogo/javascript/trustlogo.js" type="text/javascript">
</script>
<script language="JavaScript" type="text/javascript">
TrustLogo("https://*.co.za/wp-content/uploads/2015/11/comodo_secure_100x85_transp-compressor.png", "CL1", "none");
</script>
<a href="https://ssl.comodo.com" id="comodoTL">SSL Certificate</a>

Hope this helps
Kind Regards
 
Hi D3athD00r

You are getting this error because the function you are tying to call does not exist in your case it's "TrustLogo".
Please add this part before your script tag <script language="JavaScript" src="https://secure.comodo.net/trustlogo/javascript/trustlogo.js" type="text/javascript">
</script>


it should look like this

<script language="JavaScript" src="https://secure.comodo.net/trustlogo/javascript/trustlogo.js" type="text/javascript">
</script>
<script language="JavaScript" type="text/javascript">
TrustLogo("https://*.co.za/wp-content/uploads/2015/11/comodo_secure_100x85_transp-compressor.png", "CL1", "none");
</script>
<a href="https://ssl.comodo.com" id="comodoTL">SSL Certificate</a>

Hope this helps
Kind Regards

Thank-you very much BladedGhost. That code has worked perfectly.

I wonder why their wizard doesn't have this
 
Top
Sign up to the MyBroadband newsletter
X