× Joomla Facebook Connect support forum

Topic-icon Upgrade to JFBConnect 4.0 crashes other component

Active Subscriptions:

None
14 years 8 months ago #13518 by josheu
After upgrading com_jfbconnect to version 4.0 the component com_gallery_pro from netqcreative crashes in frontend in a php file with an error "Cannot redeclare class BaseFacebook".
I currently use only the JFBCFan Module (v 4.0) - but even not in that page which crashes.
After reinstalling com_jfbconnect 3.4.1 the com_gallery_pro works with no problems.
Can you please advice me. In the near future i want to use more features from com_jfbconnect and have to upgrade to 4.0.
Regards!
Josef
The topic has been locked.
Support Specialist
14 years 8 months ago #13530 by alzander
The base_facebook class is distributed by Facebook, and it's their API class for normal communication between your site and them. In previous releases, we've renamed this class to prevent the type of conflict you're running into. We're investigating a few minor issues that will probably necessitate a 4.0.2 release, and if so, we'll get this change in there as well and out probably late next week.

If it's urgent for you to upgrade to 4.0 for some feature that's included, let us know, and we can likely provide some code changes for you. If not, I'd recommend just waiting a week. Another concern is what the Gallery Pro extension is doing with Facebook, as multiple extensions communicating with Facebook can cause other issues.

Hope this helps explain, and thanks for the bug report,
Alex
The topic has been locked.