Hi, I logged into my site using fbconnect. Then restarted the apache server. Also cleared my drupal cache (caching is off btw).
Then I go back to my site, where I am already logged in - and can't seem to log out.
I get the following error - Thanks for your help
Fatal error: Uncaught exception 'FacebookRestClientException' with message 'Session key invalid or no longer valid' in /hda3/usr/www/dev/trunk/drupal-6.2/sites/all/modules/fbconnect/facebook-client/facebookapi_php5_restlib.php:2457 Stack trace: #0 /hda3/usr/www/dev/trunk/drupal-6.2/sites/all/modules/fbconnect/facebook-client/facebookapi_php5_restlib.php(784): FacebookRestClient->call_method('facebook.fql.qu...', Array) #1 /hda3/usr/www/dev/trunk/drupal-6.2/sites/all/modules/fbconnect/fbconnect.module(362): FacebookRestClient->fql_query('SELECT name,aff...') #2 /hda3/usr/www/dev/trunk/drupal-6.2/sites/all/modules/fbconnect/fbconnect.module(118): fbconnect_get_info_from_fb('1016199425', 'name,affiliatio...') #3 /hda3/usr/www/dev/trunk/drupal-6.2/sites/all/modules/fbconnect/fbconnect.module(222): fbconnect_insert_user_info(Object(stdClass)) #4 [internal function]: fbconnect_init() #5 /hda3/usr/www/dev/trunk/drupal-6.2/includes/module.inc(471): call_user_func_array('fbconnect_init', Array) #6 /hda3/usr/www/dev/trunk/drupal-6. in /hda3/usr/www/dev/trunk/drupal-6.2/sites/all/modules/fbconnect/facebook-client/facebookapi_php5_restlib.php on line 2457 exception 'FacebookRestClientException' with message 'Session key invalid or no longer valid'
Comments
Comment #1
LaNets commentedHi,
This is a facebook librarie error, clear your cookie will solve this problem.
That type of error will be catch in BETA6.
Comment #2
LaNets commentedComment #4
drutube commentedThis is happening in 5.x in the beta 1 version. I cannot update to the beta2 version because it causes the endless reloading of the page I described in another issue thread.
If this issue is fixed in Beta 2 then I wonder if you can give me an idea of the cause becasue i can't use the beta 2 on my sites.
Comment #5
drutube commentedAlso clearing the sessions table does not fix this. Once the user is logged in he stays logged in even if the session is deleted on the server.
Comment #6
vectoroc commented