Topic-icon Facebook Login not working after Joomla2.5.4 update

Active Subscriptions:

None
Hi

Please check the issue here: www.dwbiconcepts.com (login button is located at the top right corner).
Nothing is happening after a user tries to login using the facebook login option.

It was working perfectly fine so far, until I did Joomla 2.5.4 update along with sc_login 1.0.3.

Please check as soon as possible. Thanks in advance

Regards
The topic has been locked.
Active Subscriptions:

None
Not sure if this information is at all helpful, the page throws below errors when trying to login using facebook (I just copied the errors from Chrome developer tools)

Unsafe JavaScript attempt to access frame with URL static.ak.facebook.com/connect/xd_arbite...signed_request=4ZxPj ..... TEwNDAifQ&base_domain=dwbiconcepts.com from frame with URL www.dwbiconcepts.com/. Domains, protocols and ports must match.

Uncaught ReferenceError: jfbcOptionsPermsUrl is not defined
(anonymous function) jfbconnect.js:29
FB.provide.getLoginStatus all.js:38
jfbc.login.login_button_click jfbconnect.js:25
(anonymous function)
FB.provide.invokeHandler all.js:54
FB.subclass._authCallback all.js:81
FB.provide.bind all.js:34
FB.provide.xdResponseWrapper all.js:38
FB.provide._xdRecv all.js:37
FB.provide._xdNextHandler all.js:37
o.register.init.p all.js:23
The topic has been locked.
Active Subscriptions:

None
One more point... does it have anything to do with Amazon cloudfront CDN? I am using Amazon cloudfront and wondering if Cloudfront is still rendering old JFBC files from the cache?
The topic has been locked.
Support Specialist
14 years 1 month ago #21497 by alzander
Akashmitra,
I was just looking into this as you were posting the new information.

Yes, it seems like Amazon is the culprit here. The jfbconnect.js file on your page that's being loaded is old (I think from 4.0, not 4.1.x). With the newer releases, we've been adding some cache busting to the JS inclusion by adding ?vXYZ, so that each release has a new XYZ. For most types of caching, that will make sure that the new file is always loaded. In your case, it seems like that's not the case.

If you compare the following files, you'll see they are very different. The top one is the 'correct' one, but the bottom one is the one actually loaded on your page:
www.dwbiconcepts.com/components/com_jfbc...s/jfbconnect.js?v412
js.dwbiconcepts.com/components/com_jfbco...s/jfbconnect.js?v412

Obviously, cloudfront will clear out it's data after a few days, but until then, I'd tell it to ignore that file if you can.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
Great! I excluded jfbconnect.js from cloudfront CDN and rendered it directly from site, and it's working perfectly now.
Thanks for your time and help!
The topic has been locked.
Support Specialist
14 years 1 month ago #21529 by alzander
Glad to hear that got you going! Should you run into anything else, just let us know.

Alex
The topic has been locked.