Topic-icon Not able to register via facebook with CDN activated

Active Subscriptions:

None
13 years 11 months ago #23644 by stibl
Hello!

Just bought the JFBC and JLinked scripts, JLinked seems to work as it should, i can register and login thru it. But JFBC just says "Login With Facebook" Without the facebook skin, and rather just like pure text. But, if i disable CDN for Joomla! it works as it should.
i noticed that it is some extras in the back of the jfbc javascript query:
jfbconnect.js?v=421

But its the same for jlinked in and that works..

Its essential for me to have it running through the CDN network, if not it will be somewhat slow..

The site is check dot diystash dot com
The topic has been locked.
Active Subscriptions:

None
13 years 11 months ago #23645 by stibl
ive tried to exclude jfbconnect.js,jfbconnect.css,jlinked.css,jlinked.js from CDN now, they where properly excluded, but the facebook part still didnt work..

EDIT: Same applies to SCLogin module
The topic has been locked.
Support Specialist
13 years 11 months ago #23649 by alzander
Your CDN extension is improperly converting the line below to act as though it's coming from the CDN and not from Facebook's site:
js.src = "http://checkcdn.diystash.com/connect.facebook.net/en_GB/all.js";
Should be:
js.src = "//connect.facebook.net/en_GB/all.js";
That is a bug in the CDN plugin that will need to be fixed or worked around. If you contact the extension developer, please tell them that they should not make "Schemeless links" load from the CDN. Schemeless links are ones that start with two //, and are part of the HTML specification and the way we load the Facebook Javascript library uses them (and it's the way recommended by Facebook itself).

Hope that helps get you started,
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 11 months ago #23658 by stibl
Aha, nice missed that one. Excluding it and it works like it should now.

Thanks :)
The topic has been locked.
Support Specialist
13 years 11 months ago #23662 by alzander
Awesome. Glad to hear that works. Again, we'd recommend contacting the developer of your extension as it definitely at least has this bug, and maybe others. It should be fixed.

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

None
Go figure I had exactly the same extension and same problem?

I excluded only all.js

Thank you
The topic has been locked.
Support Specialist
13 years 11 months ago #23680 by alzander
Yup, it happens. We're working on adding a detection for CDN shenanigans like this to our Autotune Error Checker to notify our users of the problem. Won't help you guys since you've already worked around it, but hopefully the next hapless victims :)

Good luck!
Alex
The topic has been locked.