Not showing for me either, but might be related to an undefined jQuery object.

This is the offending line according to IE and Safari... jQuery.event.trigger('fb:init');

JQuery (aggregated via core performance) appears to be loaded right after the facebook javascript chunk. Could that be the issue?

Comments

doublejosh’s picture

Here's the issue...
I get this error on any page where I've chosen NOT to have the FB Link button AND using IE7.

Same offending line from this block of code (using PHP tags for highlighting)...

<script type="text/javascript"> 
     window.fbAsyncInit = function() {
       FB.init({
         appId: "180298948670625",
         status: true, 
         cookie: true,
         xfbml: true});
       
         jQuery.event.trigger('fb:init');    // <<< HERE'S WHAT CAUSES THE ERROR
     };
     (function() {
       var e = document.createElement('script'); 
       e.async = true;
       e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js';
       document.getElementById('fb-root').appendChild(e);
     }());
  </script>

Could it be a JQuery version issue? I'm on 1.2.6

doublejosh’s picture

Problem in Chrome as well.

ferdi’s picture

Status: Active » Closed (cannot reproduce)

Do you still have this issue ?
thanks!

dropbydrop’s picture

Status: Closed (cannot reproduce) » Active

I also have this problem in IE8-9

ferdi’s picture

Status: Active » Fixed

It should be fixed in beta9

wisniewski’s picture

On IE7 Facebook like box doesn't show, beta9 only fixes problem with coma in JS.

NETechnics’s picture

Same problem as #6. Like box block not showing for IE7 and IE8 using beta9. Showing for all other browsers including Chrome, Safari and FF.

NETechnics’s picture

Fixed this by including this declaration in page.tpl.php

xmlns:fb="http://www.facebook.com/2008/fbml">

Like box now shows up in all browsers using beta9.

NETechnics’s picture

apologies, forgot to add the code tags:

Here is the fix:

<html xmlns:og="http://opengraphprotocol.org/schema/"
			xmlns:fb="http://www.facebook.com/2008/fbml">

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.