Site was working fine - I have DFF installed, configured and enabled, but I'm not exposing it for the moment.

Suddenly, Lightbox2 went away - I was able to track this down to Facebook API, which is now showing the following JS errors:

---console output---

FB.provide is not a function
FB.provide('Array',{indexOf:function(a...|c.hasOwnProperty(d))a(c[d],d,c);}});
all.js (line 4)

FB.XFBML is undefined
FB.XFBML.parse(elem);
fb.js?y (line 282)

GET http://www.facebook.com/ajax/connect/connect_widget.php?a=1&id=xxxxxxxxx... 200 OK 651ms

---end console---

Disabling Facebook API (and consequently all DFF functionality) restores Lightbox2. Did FB change something? Hope this helps... thanks!

Comments

Dave Cohen’s picture

Title: Javascript error - breaks Lightbox2 » FB.provide is not a function or FB.XFBML is undefined
Category: bug » support

You have some module or code including an old version of facebook's javascript.

Use your browser's view source, and look for any inclusion of any javascript from facebook.com. You should see only one place, in the page footer, where a url to "all.js" is defined in drupal settings.

bcobin’s picture

Status: Active » Fixed

FacebookShare was the culprit. I disabled it and everything seems to be working OK now. I filed a report on the project's issue queue referencing this post. See http://drupal.org/node/1138000

Setting this to fixed - thanks for the prompt reply - you are a true rockstar, Dave!

Status: Fixed » Closed (fixed)

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