Download & Extend

Fatal error: Cannot redeclare class facebookrestclient

Project:Drupal for Facebook
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (won't fix)

Issue Summary

Thought I'd have another go at setting this module up but now I'm not even managing to get my infinite session key. When I click on the 'log back into facebook' link on the http://mysite.com/fb/infinite/instructions/mykey page, it takes me to http://mysite.com/fb/infinite/display/mykey but it just displays the following error message:

Fatal error: Cannot redeclare class facebookrestclient in /home/mysite/public_html/sites/all/modules/fb/facebook-platform/php4client/facebookapi_php4_restlib.php on line 36

Not having any luck with searches so thought I'd post. Tried in different browsers, clearing cookies, etc. Installed the simplexml thing and included the settings.inc in my settings.php

Appreciate any direction...

Comments

#1

Status:active» closed (fixed)

OK, I figured this one out - it's because I'm using the facebook_auth module as well and it's already included the FB API, so I just did a temporary hack and commented out the require in fb.module

#2

Category:support request» bug report
Status:closed (fixed)» active

Had some issues w/ this once I upgraded to the newest version... not sure there is any real solution to this if you're using both modules, other than either having a central place for the facebook-platform (which I ended up doing) or having the modules work together fluidly.

#3

Status:active» closed (won't fix)

Cleaning queue.
Reopen if still exists in 6x or 7x

nobody click here