Topic-icon Error when logging in

Active Subscriptions:

None
12 years 9 months ago #11675 by fb_30311413
several of my users have complained of an issue when logging into my site with facebook. Attached is a picture example.

File Attachment:



The error quickly disappears and they are continued after a few seconds and are then logged in but I'm worried the error may cause uncertainties with the stability of my site and some users may quickly leave the site thinking its busted before they are finally logged in.

I am most concerned this is happening now considering we have spent some money into advertising and first impressions are always the most lasting.

Please advise Thanks!
The topic has been locked.
Support Specialist
12 years 9 months ago #11680 by alzander
Replied by alzander on topic Error when logging in
Ed,
Yes, this is a bug in the current version of JFBConnect that has been fixed in the next release. You can make a quick code change below to fix it. Additionally, in general, we'd recommend making sure that the Error Reporting setting in your Joomla Configuration area is set to 'none'. This will hide any PHP warnings that come up from any extension.

Code change - /components/com_jfbconnect/libraries/profile.php, at around line 324, you'll see:
$path = JString::str_ireplace('http://' . $fbCdnUrl, '', $avatarUrl);
Replace that line with (change JString::str_ireplace to just str_replace):
$path = str_replace('http://' . $fbCdnUrl, '', $avatarUrl);

This affects the avatar importing functionality, and should have no effect on your site.. but obviously, test.

Sorry for the troubles, and good luck,
Alex
The topic has been locked.