I am having an issue with my opencart website/theme, and I can't figure out how to fix it.
At the moment none of the feeds are appearing in Chrome. In Internet Explorer I get a message saying:
"To help protect your security, Internet Explorer has blocked this website from displaying content with security certificate errors". I have to click display blocked content, and then the facebook feed shows up; however twitter is not visible (this was working a few weeks ago).
This is the error displayed by IE:
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C)
Timestamp: Wed, 13 Mar 2013 10:45:03 UTC
Message: 'FB' is undefined
Line: 754
Char: 1
Code: 0
URI: http://mywebsite.co.uk/
This is the script of the module causing issues:
<div class="clear"></div>
<div id="footer-top-outside">
<div class="line-bottom">
<div id="customHome" class="container_12"><?php
if ($about_status == '1') :
?>
<div id="about_us_footer"
class="grid_<?php
echo 12 / $custom_footer_active_columns;
?>">
<h2><?php
echo $about_header;
?></h2>
<?php
if($this->config->get('about_us_image_status') == '1'){
echo '<img class="about_us_image" alt="small logo" src="'. HTTPS_IMAGE . $this->config->get('about_us_image') . '"/>';
}
?>
<p><?php
echo html_entity_decode($about_text);
?></p>
</div>
<?php endif;
?> <!-- TWITTER --> <?php if($twitter_column_status == '1'): ?>
<div id="twitter_footer"
class="grid_<?php echo 12 / $custom_footer_active_columns; ?>">
<h2><?php echo $twitter_column_header ; ?></h2>
<ul id="twitter_update_list">
<script type="text/javascript"
src="https://twitter.com/javascripts/blogger.js"></script> <script
type="text/javascript"
src="https://twitter.com/statuses/user_timeline/<?php echo $twitter_username ; ?>.json?callback=twitterCallback2&count=<?php echo $twitter_number_of_tweets ; ?>"></script>
</ul>
</div>
<?php endif; ?> <?php
if ($contact_status == '1') {
?>
<div id="contact_footer"
class="grid_<?php
echo 12 / $custom_footer_active_columns;
?>">
<h2><?php
echo $contact_header;
?></h2>
<ul>
<li>
<!-- TELEPHONE 1 -->
<?php if (! empty ( $telephone1 )) { ?>
<ul id="tel" class="contact_column">
<li id="footer_telephone"><?php echo $telephone1;?></li>
<!-- TELEPHONE 2 -->
<?php if (! empty ( $telephone2 )) { ?>
<li id="footer_telephone2"><?php echo $telephone2;?></li>
<?php } ?>
</ul>
<?php } ?>
<!-- FAX -->
<?php if (! empty ( $fax )) { ?>
<ul id="fax" class="contact_column">
<li id="footer_fax"><?php echo $fax;?></li>
</ul>
<?php } ?>
<!-- EMAIL 1 -->
<?php if (! empty ( $email1 )) { ?>
<ul id="mail" class="contact_column">
<li id="footer_email"><?php echo $email1;?></li>
<!-- EMAIL 2 -->
<?php if (! empty ( $email2 )) { ?>
<li id="footer_email2"><?php echo $email2;?></li>
<?php } ?>
</ul>
<?php } ?>
<!-- SKYPE -->
<?php if (! empty ( $skype )) { ?>
<ul id="skype" class="contact_column">
<li id="footer_skype"><?php echo $skype;?></li>
</ul>
<?php } ?>
</li>
</ul>
</div>
<?php
}
?> <!-- FACEBOOK --> <?php
if ($facebook_status == '1') {
?>
<div id="facebook_footer"
class="grid_<?php
echo 12 / $custom_footer_active_columns;
?>
">
<h2>Facebook</h2>
<script type="text/javascript"
src="https://static.ak.connect.facebook.com/ ... "></script>
<script type="text/javascript">FB.init("1690883eb733618b294e98cb1dfba95a");</script>
<script language="javascript" type="text/javascript">
//<![CDATA[
document.write('<fb:fan profile_id="<?php echo $facebook_id; ?>" stream="0" connections="<?php echo 12 / $custom_footer_active_columns * 2; ?>" logobar="0" height="200px" width="<?php echo (12 / $custom_footer_active_columns*80) - 20; ?>"css="<?php echo HTTPS_SERVER; ?>catalog/view/theme/ustore-color1/stylesheet/facebook.css?10"></fb:fan> ');
//]]>
</script>
</div>
<?php } ?>
</div>
<div class="clear"></div>
</div>
<div class="line-bottom1"></div>
</div>
Please can someone help me resolve this