Topic-icon facebook login giving blank page

Active Subscriptions:

None
12 years 7 months ago #13579 by marsne
That didn't work for me either but some more info:
1) Switching to a clean (no cache) opera browser allowed me to sign in (I am super user)
2) In Chrome, I found the following on the console in the developers tools:

3) After clearing all browsing history in chrome, it works. I'm guessing there are some cookies created?
4) Returning to Firefox after a restart seems to have also worked. Might have been because of the app changes above and just a lag while they propagated across facebook servers.

Seems to be working fine now.
The topic has been locked.
Support Specialist
12 years 7 months ago #13580 by alzander
Mark,
Ahh, yes. We actually had a similar post yesterday for a user that just upgraded. If you're using any sort of minification, caching or javascript combining extensions (also sometimes integrated into templates), that would have been the problem. The Javascript we use in JFBConnect v4.0 drastically changed to support the new OAuth2.0 protocol from Facebook. If your minification cache hadn't reset on it's own, it would have been serving the v3.x Javascript, which will throw the exact errors you mention above.

I'd recommend doing a Clean Cache in Joomla as well, and in any separate extensions you use for caching if they have the ability to clean their own cache.

Definitely hope you're all figured out now, but if not, let us know.

Huw,
Please let us know if the above helps you or if you're still running into issues after clearing cache, trying different browsers, etc.

Alex
The topic has been locked.
Active Subscriptions:

None
12 years 7 months ago #13593 by marsne
It looks like it's all working fine now, thanks for the quick responses!

Mark
The topic has been locked.
Active Subscriptions:

None
12 years 7 months ago #13595 by fb_548860032
First thing I try after having issues with an update is to clear all caches, enable debug and try it again. I'm still not getting anywhere.

As I mentioned it appears to be that it's my account that it's having issues with. If I try another raccount it logs in fine. I use a mac mostly and have checked the console but it shows nothing. If I do it on a pc which then asks me to login with my facebook details it throws up and error 500.

It's a tough one! I'm not seeing any other errors anywhere just a blank page on most browsers but a 500 error when in explorer 7 on a windows VM
The topic has been locked.
Support Specialist
12 years 7 months ago #13601 by alzander
Huw,
It looks like you're affected by the login bug I was mentioning above. We're working on a fix, and should be able to implement it on your site on Tuesday. It affects very few users, so very hard for us to debug. We'll definitely look forward to your feedback on the issue, and will let you know when it's fixed up.

One final thing you can try is deleting the application from that user's profile (not the Facebook application itself). You can do so by going to Account->Account Settings. Click Applications in the left. Then edit, and delete your application. This will make you re-grant permissions the next time you hit the Login With Facebook button, and may resolve the issue.

Sorry for the inconvenience, but we'll get you fixed up soon.

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

None
12 years 7 months ago #13619 by fb_548860032
HI Alex,

Thanks for all the prompt suggestions but I'm afraid so far none of them work. if it's of any use to you I could give you login details to my facebook account that won't log in?
The topic has been locked.
Support Specialist
12 years 7 months ago #13672 by alzander
Huw,
If you're still having the issue with a specific user, yes, please send us the Facebook credentials for that user and leave the super admin account info you sent to us earlier intact (or send us new credentials).

We have some changes that should fix what's happening to that user, if it's what we think it is, but this is very very rare, so we can't recreate it ourselves.

Sorry for the troubles, but we'll hopefully get you fixed up soon.

Thanks,
Alex
The topic has been locked.
Support Specialist
12 years 7 months ago #13689 by alzander
Huw,
Got into your site, but couldn't log in with your Facebook account.. they wanted the answer to your secret question.

Anyways, I did the following things, which likely won't fix the problem, but will hopefully give more information to localize the issue:
1) We changed some code to re-arrange and perform a better check where we think the white page/PHP error was coming from - You hopefully won't get a blank page any more
2) We added multiple Joomla system messages for more status during the login process. Nothing should be intrusive/bad for real users on the site, but there are additional error messages now being output. When you try to login again, please let us know any of the red/blue system messages you get.
3) Your current front-end template was not showing system messages, so I added the following tag to your template directly above where the component is displayed. This lets the red/blue system messages show.. you may see more of them now as any extension, as well as Joomla, will use them for status messages:
<jdoc:include type="message />
That shouldn't be a problem to have, and is normal, but you can remove it after you get the status messages for us.

Please let us know if this improves the situation or gives us more details to narrow things down,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 7 months ago #13697 by fb_548860032
Sorry Alex, totally forgot taht there was no message or debug tag in the template. Thanks for adding it.

I still cannot log in as you expected.

I've unlocked my facebook account, it apparently locked it because my account was accessed from somewhere I'd not used it from before, so I've said that that's OK and you should now be able to log in.

When I do attempt to login using facebook on the site I no longer get a blank page but I get

Creating your account based on your Facebook profile.

This email is already registered.
There was an error creating your account.
User Id not set. We can't log you in. Please try again.

Feel free to log into my facebok and website using the details I provided for you to investigate further.\

Good luck!
The topic has been locked.
Support Specialist
12 years 7 months ago #13701 by alzander
Ahh.. that's actually a little different than I was expecting. I didn't see a user with the email address you specified, but one thing that might just fix you right up (with the minor changes I made), is enabling the "Automatically Link Facebook Users by Email:".

If not, we'll test again with your Facebook account, because, again, I'm not sure it's saying the email is already registered since I didn't see that user in the User Manager, but possibly I missed something.

Either way, we're narrowing in on the issue!

Alex
The topic has been locked.