× Joomla Facebook Connect support forum

Topic-icon Blank page on login/register

Active Subscriptions:

None
13 years 1 month ago #8971 by JuJ
Hi there,

I just installed JFB Connect. I configured it as specified on the install tutorial.
I am just testing the connection, and I have a blank page issue. As mentionned on the troubleshooting page, I activated the "Error reporting" to maximum and reloaded the page. But nothing happens, the white page still remains alone, without any error log on it.

Any help would be appreciated.

Best.
The topic has been locked.
Support Specialist
13 years 1 month ago #8976 by alzander
That's definitely strange. Sometimes, servers can prevent errors from displaying, regardless of whether you've enabled Error Reporting in Joomla.

Can you please let us know the following:
* Post (or private message us) the url of the page you're testing with
* Also, please let us know the URL that's generating the white page (just in case we can't see it)
* Finally, do you have any SEF components or Joomla's core SEF enabled?

Thanks, and we'll help you get to the bottom of it!
The topic has been locked.
Active Subscriptions:

None
13 years 1 month ago #8978 by JuJ
Replied by JuJ on topic Blank page on login/register
Hi Alzander,

I am testing it as a visitor on the homepage of my site: www.michaeljackson-city.com
Just try to register with the Facebook connect in the left menu. You'll have to accept to link your profile to my site, then after that a blank page will be generated.
Yes, I have sh404SEF running on my site.

Thanks a lot for your help! If you need something, just ask.
The topic has been locked.
Support Specialist
13 years 1 month ago #8994 by alzander
JuJ,
Whew.. took a bit, but we think we found the issue with the login link. We need to run this through our automated tests (to make sure it doesn't break non-sh404 or other unforseen problems, so we don't have a release available with the fix. If you want to test though, it's a simple one-line change and that will hopefully get you set up.

In the /components/com_jfbconnect/libraries/facebook.php file, on line 95, you'll see the definition for $loginLink = ... Replace that line with:
$loginLink = $uri->toString(array('scheme', 'host')).JRoute::_("index.php?option=com_jfbconnect&task=loginFacebookUser&return=" . base64_encode($return));

Please let us know if that fixes you up, we'd love to hear confirmation. We'll be releasing 3.2.1 later this week, and this change will be included as well as a few other fixes for minor issues (though this is one of the bigger ones).

Thanks for your patience, and good luck!
The topic has been locked.
Active Subscriptions:

None
13 years 1 month ago #8998 by JuJ
Replied by JuJ on topic Blank page on login/register
Hi there,

I've tried your solution, but sorry to tell you that it doesn't work.
Before, I had a "confirmation" FB page, now I don't have it, and I still have the white page...
The topic has been locked.
Support Specialist
13 years 1 month ago #9001 by alzander
JuJ,
The Confirmation FB page only appears once. Once the user approves the application, they won't have to approve it again, so that's normal. Obviously, the white error page is not.

Is it possible to Private Message me super administrator credentials to try to figure out what's going wrong on your site? We'd like to get this fixed asap to have the fix in our 3.2.1 release.

Thanks!
The topic has been locked.
Active Subscriptions:

None
13 years 1 month ago #9003 by JuJ
Replied by JuJ on topic Blank page on login/register

alzander wrote: JuJ,
The Confirmation FB page only appears once. Once the user approves the application, they won't have to approve it again, so that's normal.


Really? Because before the code you gave me, I had to confirm 2 times: one time in a popup, and then I was redirected to the same page in full size...
I'll PM you this in few seconds.

Thanks.
The topic has been locked.
Support Specialist
13 years 1 month ago #9004 by alzander
Yup, once a user approves your application, they don't have to do it on any other returning visits (unless they delete the application from their account on facebook.com).

Thanks for the PM. Will look into this very soon.
The topic has been locked.
Support Specialist
13 years 1 month ago #9006 by alzander
JuJ,
We're hard-pressed to figure out the cause of the problem. We've tried changing the configuration of quite a few items without any luck. The updated change you did is implemented correctly and works as expected on a few of our tests sites. The only thing we see really different is the version of sh404 you're using, which is over 6 months old. There's been numerous fixes for compatibility issues that sh404 had in the early days of it's version 2 release, and all we can figure/hope is that if you upgrade to the newer version, the problem will be resolved.

The URL that's failing is Facebook's return of the user to your site with the authentication cookie stating that they successfully approved your application. If we disable sh404, everything happens like normal. Enabling it seems to be preventing JFBConnect from reading the authentication cookie and logging the user in, obviously necessary steps in the process.

Please update sh404, and if you continue to have issues, let us know, and we'll be able to try some more things using the newer release.

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

None
13 years 1 month ago #9018 by JuJ
Replied by JuJ on topic Blank page on login/register
Hi Alex,

I updated the sh404 component. It seems to work now, but I still have some things to say:
1- Is there a real translate to french for the component and modules, because I experienced some troubles: the frontpage module has a strange display: it seems that some texts are missing.
2- If a user try to register the site with the FB connect, he has to authorize the FB connection. Great. But after that, a view is displayed, and believe me, in french, it is just awful: I think the french file have to be save in uft8 WITHOUT BOM, because there's a lot of strange caracters.

My wife tried to register my site with the FB connect: she clicked on the FB button, she granted the access, and she was redirected to a page that asked her to put her login and password of FB OR to register. How to make it in one click only? For those users that don't want to register through FB, I would use the classic register page. Is this possible?
The topic has been locked.