× Joomla Facebook Connect support forum

Topic-icon JFBConnect stop working after installation of JA Amazon S3

Active Subscriptions:

None
JFBconnect was working fine till i installed JA Amazon S3 Component
After installation of JA Amazon S3, all the Modules n Plugins of JFBConnect stop working including Login With Facebook, and JFBCFan

Please look after issue
Here is my site link
mrig.in
The topic has been locked.
Support Specialist
JoomlArt has a bug in their CDN extension that incorrectly converts the inclusion of the Facebook Javascript library (loaded from Facebook) to be loaded from your CDN. Since it doesn't exist on your CDN, it doesn't work.

So, the line of code that looks like:
js.src = "//connect.facebook.net/en_GB/all.js";
Gets updated to look (something) like:
js.src = "http://cdn.mrig.in/connect.facebook.net/en_GB/all.js";

You'll need to contact JoomlArt for a fix and let them know that their CDN is incorrectly converting 'schemeless' CDN links.

Hope that helps. There's not a fix we can recommend in JFBConnect.

Alex
The topic has been locked.
Active Subscriptions:

None
thank you alex :)
The topic has been locked.
Support Specialist
No problem! If you need anything else, just let us know.

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

None
hii alex

Reply from Joomlart Support

"
Please ask sourcecoast team where below code snippet is placed.

Code:

js.src = "//connect.facebook.net/en_GB/all.js";

Then replace it with:
Code:

js.src = "connect.facebook.net/en_GB/all.js";
"
The topic has been locked.
Support Specialist
You can find the file that has that text in /plugins/system/jfbcsystem.php

Once you find the location, you have a choice to make, neither of which is good, and both forced on you by JoomlArt:
1) Use https in the link. If you have an SSL certificate, this is what you should use. However, it will add about 0.5-1s of page load time to every page on your site. That will be whether the page is secure or not.
2) Use http always. If you have an SSL certificate installed, then you will get "Mixed Content" errors on your secure pages. This will make your site look insecure and isn't recommended. However, it will be faster.

The choice shouldn't be required if the JoomlArt plugin wasn't broken, since the way we're doing it should dynamically load the Facebook Javascript library securely depending on if the page is being loaded that way.

Finally, we will not be changing this (correct) behavior in JFBConnect. If you do make the change, please understand you'll need to make the change with each upgrade.

Good luck,
Alex
The topic has been locked.
Active Subscriptions:

None
Okay no problem

Thank :)
The topic has been locked.
Support Specialist
No problem. Good luck with your site, and let us know if there's anything else you need!

Thanks,
Alex
The topic has been locked.