It seems like I don't have any luck when updating modules.
Today I updated to the latest dev-version, and now FBconnect no longer works:
I can't link or unlink any accounts. When trying to link, it just refreshes the page and when trying to unlink, I get a fatal error:
Fatal error: Uncaught exception 'FacebookRestClientException' with message 'Invalid API key' in drupal/sites/all/modules/fbconnect/facebook-client/facebookapi_php5_restlib.php:3374 Stack trace: #0 drupal/sites/all/modules/fbconnect/facebook-client/facebookapi_php5_restlib.php(378): FacebookRestClient->call_method('facebook.auth.r...', Array) #1 drupal/sites/all/modules/fbconnect/fbconnect.module(714): FacebookRestClient->auth_revokeAuthorization('502273319') #2 drupal/sites/all/modules/fbconnect/fbconnect.pages.inc(223): fbconnect_unregister('502273319') #3 /web/kazouleuven/kazou-leuven.be/online/drupal/includes/form.inc(776): fbconnect_user_settings_form_submit(Array, Array) #4 drupal/includes/form.inc(416): form_execute_handlers('submit', Array, Array) #5 drupal/includes/form.inc(119) in drupal/sites/all/modules/fbconnect/facebook-client/facebookapi_php5_restlib.php on line 3374
When I edit the settings of FBconnect, I get the "can't autoconfigure"-error. To fix that error, I'm supposed to link my fb-account to my user 1, but since linking and unlinking is broken, i can't do anything.
The API key is also right as I've been using it for a while now.
Between updating the module and me noticing it wasn't working, all I did was remove the fb-logo from the user pictures with another account than user 1. Don't know if this caused the problem though.
Comments
Comment #1
vectoroc commentedtry to reinstall fbconnect module
Comment #2
DruKaz commentedif by that you mean disable the module, remove all it's files, upload a new copy of the module and enable it again... then it didn't work.
I did manage to upload the old dev version to have it work again.
Comment #3
vectoroc commentedDisable and uninstall (admin/build/modules/uninstall)
Comment #4
DruKaz commentedThat unfortunately has the same results.
Edit: Uninstalling also has another nasty result: It only seems to remove the fbconnect_users-table and not the fbconnect-settings from the users themself.
So when a user looks at his fbconnect settings, it will say his account is still linked, but because it isn't listed in fbconnect_users, unlinking doesn't work.
Luckily we're only in the testfase of our website and only 5 users were using fbconnect, so I could manually readd them to that table.
Comment #5
vectoroc commentedtry version from github or last dev (will be available soon, just commited)
Comment #6
vectoroc commentedComment #8
MakeOnlineShop commentedHello,
Same problem here, any more help ?
Thanks a lot.