Read the README.txt went to http://github.com/facebook/php-sdk/archives/v2.1.2 downloaded the package, edited the facebook.php to my specifications and uploaded the directory facebook-php-sdk-b14edfa (which was default) to the modules directory on my server. Error remained. Changed the directory I uploaded to facebook-php-sdk refreshed the browser, the entire site crashed. Removed the uploaded directory, refreshed and the site came back up. Any help here is greatly appreciated.

Comments

likewhoa’s picture

did you rename the directory to facebook-php-sdk?

bluefoxox’s picture

yes, maybe I should have been more clear; this is how it was /sites/all/libraries/facebook-php-sdk/ as stated above this crashed the entire site. Once I removed /facebook-php-sdk/ and refreshed the browser the site came back up. I can give you a shell account and or an ftp account on the server (this is only a testing site at the moment) http://www.patricktoday.com/

likewhoa’s picture

it doesn't crash for me, it will just not work. You're probably missing the libraries module and if you do, you can either install it so
/sites/all/libraries/facebook-php-sdk works or you can put facebook-php-sdk in sites/all/modules/fbconnect/

matias’s picture

bluefoxox,

I had the same problem and it turned out that I needed to install cURL and PHP cURL in my server.
Maybe it'll help you too.

vectoroc’s picture

Status: Active » Closed (duplicate)
brisbanett’s picture

Status: Closed (duplicate) » Active

worked it out just followed the read me - removed any file numbers in the upload zip and works -

just becareful everybody as if you test as an administrator and log in with your facebook name - drupal keeps using your facebook name!

I freaked out - until I typed "admin" into the adress bar which uses a different theme and for some reason allowed me to log in -this still persists but I quickly gave myself all admin rights the first time if this ever causes a big problem.

amittarkar’s picture

Version: 6.x-2.0-alpha3 » 7.x-2.x-dev
Issue summary: View changes

Which version of php-sdk is compatible? I am getting this error "Fbconnect : Facebook PHP library not found. See README.txt"