Topic-icon No avatar photo

Active Subscriptions:

None
10 years 1 month ago #42962 by alincorneliuandries
Replied by alincorneliuandries on topic No avatar photo
I moved the site to 8059 so I could go on with my things, now you have two test sites, on ports 8059 an 8062

Thanks, Sean, to me it looks like a JFB problem since it replicates on a clean Jommla with only Jomsocial installed or, in your case, with Kunena.
The topic has been locked.
Active Subscriptions:

None
10 years 1 month ago #42999 by alincorneliuandries
Replied by alincorneliuandries on topic No avatar photo
no good news? :((
The topic has been locked.
Support Specialist
10 years 1 month ago #43008 by alzander
Replied by alzander on topic No avatar photo
Sorry for the delay. First, a few issues accessing your site to diagnose things further:
Your live site, www.ateiagnostici.ro/, doesn't work for me at all. isitup.org also says it's down
Your site at port 8059 and 8069 are also down and won't load for me.

At port 8062, I was able to test on the front-end, but the password you sent me won't let me login to the admin area, so I can't check configuration settings there.

As for testing on the front-end, when I first registered using Facebook the following warning message showed:

ERROR: plg_jomsocial_kunenagroups: Kunena 2.0 (or later) is not installed on your system!!!

That's not from JFBConnect, but if that plugin is interfering with registration, that may be the cause of the profile data not being imported.

Looking at my JomSocial profile, I'm not seeing any profile data having been imported. Can you verify that you've enabled the SocialProfiles - JomSocial plugin and configured it in the JFBConnect -> Profiles area? If that's configured properly, we'd definitely need admin access to investigate further.. I'm unsure what's going on, but we'll gladly help.

Sean,
We haven't heard of any issues with Kunena at all lately. Can you tell me if your FB avatar is set? There is one bug we've just found through our automated tests where Facebook changed how they notify us if the avatar for the user isn't set. In that case, the avatar in Kunena could be overwritten with the silhouette default image from Facebook.

As for the 'no image' you're seeing, can you check if it's the Facebook no image or the Kunena default? That will help narrow things down. We just ran our automated suite and all Kunena tests passed, but it's always possible we missed something.

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

None
10 years 1 month ago - 10 years 1 month ago #43019 by alincorneliuandries
Replied by alincorneliuandries on topic No avatar photo
You are right, I was sending you the wrong info, the pass was missing the final backslash (\\ instead of \)

the 8059 was published under .eu name, not under .ro (fixed that too) and the main site, I continue to mess with it, so it could be down, nevermind, we should test it on 8059 or better 8062 since it has only JFB CONNECT and JomSocial. There was a "Kunena groups" plugin installed and active - probably installed with JomSocial since there's no Kunena forum installed.

Anyway, connecting with a new FB account, the message was "Facebook profile successfully connected. ", nothing about Kunena, I disabled the plugin, the things remained the same.

I'm really out of ideas.
Last edit: 10 years 1 month ago by alincorneliuandries.
The topic has been locked.
Active Subscriptions:

None
10 years 1 month ago #43071 by alincorneliuandries
Replied by alincorneliuandries on topic No avatar photo
in case you need more info, let me know :(
The topic has been locked.
Active Subscriptions:

None
10 years 1 month ago #43089 by alincorneliuandries
Replied by alincorneliuandries on topic No avatar photo
maybe the next week? :(
The topic has been locked.
Support Specialist
10 years 1 month ago #43094 by alzander
Replied by alzander on topic No avatar photo
Sorry for the delay. I investigated a little the other day, but was unable to make any changes that worked, and I couldn't understand why. After further investigation today, I found that the correct path to edit was Joomla_011 instead of 009, which you had mentioned in your PM. You have a lot of sites in that directory, with generic names, which makes it tough to navigate.

As for the issue itself, the problem is that JFBConnect tries to use the highest level of security possible. We always configure our outgoing connections to verify that the remote SSL certificate is correct. With the Heartbleed security issue that's been in the news lately, Facebook has updated their SSL certificates. The certificate bundles on your server are out of date and are not recognizing that Facebook's new certificate is valid, and therefore, rejecting the connection. That's causing an empty avatar and cover to be set.

To fix, I edited our /libraries/sourcecoast/utilities.php file. Around line 399, you'll see:
$ch = curl_init();
        curl_setopt($ch, CURLOPT_URL, $url);
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
        curl_setopt($ch, CURLOPT_HEADER, true);

        $response = curl_exec($ch);
We updated that to:
$ch = curl_init();
        curl_setopt($ch, CURLOPT_URL, $url);
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
        curl_setopt($ch, CURLOPT_HEADER, true);
        curl_setopt($ch, CURLOPT_SSL_VERIFYPEER,false); // ADD THIS

        $response = curl_exec($ch);
That made things work as expected. We're investigating another change for the next release which may make this work with an additional (distributed) certificate bundle that we can keep up to date as well.

I also enabled the Social Profiles - JomSocial plugin and configured it in the JFBConnect -> Profiles area, but I'm assuming you know how to do that.

I hope that gets you going. Should you need any more help, just let us know.

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

None
10 years 1 month ago #43124 by alincorneliuandries
Replied by alincorneliuandries on topic No avatar photo
You are GREAT!

Thanks, it worked like a charm! ;))

:D
The topic has been locked.
Support Specialist
10 years 1 month ago #43127 by alzander
Replied by alzander on topic No avatar photo
Very glad to hear that got you going. I do apologize for the delays, but I hope you can understand the complexities of this issue and why it took a while longer than we would have liked to to get you going.

If you run into any other issues, or have any other questions or general feedback, please let us know.

Finally, if you haven't already, please consider leaving a rating and review for JFBConnect, or our support, on the Joomla Extension Directory. It certainly isn't required, but is very appreciated:
extensions.joomla.org/extensions/social-...ook-integration/7215

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

None
10 years 6 days ago #43907 by fb_100000214934509
Replied by fb_100000214934509 on topic No avatar photo
alex this fix you issued fixed my problem as well.. thank you
The topic has been locked.