Hi:
I have uninstalled a bunch of stuff and I still can't find the error. I can't find the Javascript error that you are talking about either. I have turned on the error reporting in IE and it's not reporting any errors.
There are two places in my website that will show the facebook connect. It's on the top right hand corner of the webpage that's not showing up.
Digging a little deeper, I found the following:
I put the your modules in two separate locations in my webpage. What I found is that only one of those modules will have the facebook connect button appear in the website (only happens in IE, not on firefox). Digging a little deeper, it seems like there are some javascript code missing.
<script type="text/javascript">
if(document.namespaces) {
// IE
document.namespaces.add("fb", "
www.facebook.com/2008/fbml");
} else {
var htmlElement = document.getElementsByTagName('html')[0];
htmlElement.setAttribute('xmlns:fb', '
www.facebook.com/2008/fbml');
}
</script>
<script type="text/javascript" src="
static.ak.connect.facebook.com/js/api_li...FeatureLoader.js.php">
<script type="text/javascript">
window.addEvent('domready', function()
{FB_RequireFeatures(["XFBML"],
function() {
FB.Facebook.init("78ba102cca86c1b6f6cda4dfe63a88ec", "/zh/jfbconnect");
});
})
;</script>
Basically, that code is missing from the first login and therefore the Facebook connect button is not showing. On the second login, the code is there, therefore it is showing the Facebook Connect icon. If I disable the second login module, then the first login module’s missing code appears again, hence the facebook connect icon appears again. I dug a little deeper and I commented the following lines from your facebookhelper.php.
self::$addNamespaceCalled = true;
self::$initFbApiCalled = true;
Then it worked again.
Am I breaking anything by doing this?
Any advice will help.
Albert