Go Back   Web Scribble Forums » Joomla » jConnector
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-16-2009, 04:19 PM
Junior Member
 
Join Date: Nov 2009
Posts: 2
Default Error when logging off facebook then back to site.

I get this error if i login via jconnector in my site then go to facebook then sign out then come back to my site.


Fatal error: Uncaught exception 'FacebookRestClientException' with message 'Session key invalid or no longer valid' in /home/rememb8/public_html/modules/mod_jconnector/facebook/php/facebookapi_php5_restlib.php:3017 Stack trace: #0 /home/rememb8/public_html/modules/mod_jconnector/facebook/php/facebookapi_php5_restlib.php(1655): FacebookRestClient->call_method('facebook.users....', Array) #1 /home/rememb8/public_html/modules/mod_jconnector/mod_jconnector.php(49): FacebookRestClient->users_hasAppPermission('email', '605866348') #2 /home/rememb8/public_html/libraries/joomla/application/module/helper.php(173): require('/home/rememb8/p...') #3 /home/rememb8/public_html/libraries/joomla/document/html/renderer/module.php(84): JModuleHelper->renderModule(Object(stdClass), Array) #4 /home/rememb8/public_html/libraries/joomla/document/html/renderer/modules.php(41): JDocumentRendererModule->render(Object(stdClass), Array, NULL) #5 /home/rememb8/public_html/libraries/joomla/document/html/html.php(190): JDocumentRendererModules->render in /home/rememb8/public_html/modules/mod_jconnector/facebook/php/facebookapi_php5_restlib.php on line 3017
Reply With Quote
  #2 (permalink)  
Old 12-18-2009, 04:24 PM
Junior Member
 
Join Date: Dec 2009
Posts: 2
Default

so am i... so far no solutions im assuming
Reply With Quote
  #3 (permalink)  
Old 01-01-2010, 12:45 PM
Junior Member
 
Join Date: Jan 2010
Posts: 1
Default Same Error

I am having this issue as well. Are there any plans on solving this?
Reply With Quote
  #4 (permalink)  
Old 01-19-2010, 12:29 AM
Junior Member
 
Join Date: Jan 2010
Posts: 4
Default

This is a problem that needs to be fixed. I've looked around but wasn't able to figure it out yet.

Here is a link to a page that talks about session errors
5 Facebook Application Gotchas

that might help. And here is some code that was used for a drupal app

Facebook Auth breaks when trying to login again after logout of facebook. | drupal.org

Maybe this will help.
Reply With Quote
  #5 (permalink)  
Old 01-19-2010, 01:06 PM
Junior Member
 
Join Date: Jan 2010
Posts: 4
Default

The only way I have figured out how to get rid of this for now is to comment out line 49 in mod_jconnector.php like this

//$has_permission = ($facebook->api_client->users_hasAppPermission('email', $facebook_id) ? true : false);
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -5. The time now is 04:05 PM.