I'm still experiencing this issue that was apparently resolved a couple of months ago: http://drupal.org/node/714018
I've tried all the solutions presented in that old ticket but once I connect via facebook (without tieing that to an existing drupal account) my page continues to reload displaying each of three different facebook connect states in the facebook connect block. So for example the first page load shows me as logged in and gives me the log out button but with a blank avatar image, then page reloads and shows my FB avatar and log out button, then page reloads and shows original "connect" button. This will continue to happen unless I open facebook.com in another window and log out.
Previous to trying the dev release I was using the rc1 release and getting the same issue.
I've tried deleting all cookies, checking settings on both FB app and drupal FB app pages. Deleted all previous FB accounts in my drupal database.
Any ideas here? Thanks!
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | Screen shot 2010-05-03 at 2.42.30 PM.png | 17.17 KB | jns120 |
| #2 | Screen shot 2010-05-03 at 2.46.53 PM.png | 25.87 KB | jns120 |
| #2 | Screen shot 2010-05-03 at 2.47.05 PM.png | 14.62 KB | jns120 |
Comments
Comment #1
Dave Cohen commentedDo you have some kind of cache in front of Drupal? Maybe your host has one set up?
Can you reproduce the problem when you are logged into drupal?
Comment #2
jns120 commentedCache is disabled as I'm deving. Double-checking on host caching but it shouldn't be.
Here's what I just did:
Deleted rows in table "users" that were created by facebook connect
Deleted row in table "fb_users_app" that was created by facebook connect
Deleted row in table "fb_register" that was created by facebook connect
Logged into Drupal as admin (UID is 6)
Logged into site using Facebook connect
Page reloaded and kept reloading, showing different version of facebook connect block each time. See screenshots attached.
"Users" table created a new row with facebook information (UID 12)
"FB_users_app" table created new row
"FB_register" table created new row
So no luck yet. I'm not sure why it didn't attach my FB account to the drupal account that I was already logged in with. Or maybe I'm not looking in the right table in the db for that?
But the bigger issue obviously is the infinite reload. Let me know what else I can provide, logs etc. THANKS!
Comment #3
Yourmove commentedUnder Site Building > Facebook Applications > Facebook Connect (tab)
Do you have the Primary Connect Application and Add button to login forms set? I was having this problem but when I set those to my application name the problem vanished.
Comment #4
jns120 commentedAwesome! That fixed the loop issue but it didn't tie my facebook account to my existing drupal account when I did the connect.
I looked in the authmap table and there is an entry there:
aid uid authname module
4 14 610089362 fb_user
The UID 14 is the new id in the user table for the facebook account but it should be mapped to UID 6 which is the drupal account.
Any ideas on that one? Thanks
Comment #5
Dave Cohen commentedIf there's an issue with the authmap, please submit it as a new issue. I suspect in your testing fb_user created uid 14. Delete that row in the authmap (or delete user 14), then log in as uid6, then connect again and the authmap entry should point to uid 6.
Comment #6
jns120 commentedSure thing: http://drupal.org/node/788940