Topic-icon SSL certificate error JFBConnect v4.0.3

Active Subscriptions:

None
14 years 8 months ago #14209 by moemoh
I have the component setup on my local machine (JFBConnect v4.0.3) and even after disabling SSL certificate option i still see the error in the overview page and when i try to login using facebook button.

also i got the following message (We were unable to retrieve your Facebook account information. Please try again)

Please help.
The topic has been locked.
Active Subscriptions:

None
14 years 8 months ago #14210 by moemoh
I had figured out how to over come this problem as follows:

I had inserted the following code in (administrator\components\com_jfbconnect\assets\facebook-api\base_facebook.php) after line 814:

if ($jfbcConfigModel->getSetting('facebook_curl_disable_ssl', true))
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);

and it is working fine now.

could you please let me know if there is any problem in that code?
The topic has been locked.
Support Specialist
14 years 8 months ago #14216 by alzander
No, that should work fine. That's actually what we used to do in the 3.x series. In the 4.0+ releases, we actually try to include a validated SSL authentication file, in case your server can't look one up for Facebook. The setting name is still for the old 3.x release, and needs to be fixed.

Glad you got this working for you though, and we'll re-investigate any issues with our current method.

Thanks,
Alex
The topic has been locked.