I Read README.txt in its entirety several times. Upon supplying all the credentials for my FB app (API key, Secret, etc.) and hitting "Save" I get the white screen of death. If I reload the URL it takes me back to the screen for creating a FB app (with all the fields blank) and there is no FB app in the list on my drupal site.

Looking forward to using this application for several sites but am stuck :( Can anyone help?

Thanks in advance,

Shawn

Comments

Dave Cohen’s picture

You should be able to get an error message from your apache logs, system logs, or by editing php.ini to make php more verbose. Without an error message, I can't help.

smccarthy’s picture

I originally got 3 errors, but now I get no errors (and still a white screen after hitting "save"). The errors I got previously are:

1)

Type fb
Date Saturday, May 1, 2010 - 22:19
User smccarthy
Location http://localhost:8081/sickiphonecovers/admin/build/fb/fb_app_create
Referrer http://localhost:8081/sickiphonecovers/admin/build/fb/fb_app_create
Message Failed to find the Facebook client libraries at modules/fb/facebook-platform/src/facebook.php. Read the README.txt and follow the instructions carefully.
Severity notice
Hostname ::1
Operations

2)

Type php
Date Saturday, May 1, 2010 - 22:19
User smccarthy
Location http://localhost:8081/sickiphonecovers/admin/build/fb/fb_app_create
Referrer http://localhost:8081/sickiphonecovers/admin/build/fb/fb_app_create
Message include() [function.include]: Failed opening 'modules/fb/facebook-platform/src/facebook.php' for inclusion (include_path='.:/Applications/MAMP/bin/php5/lib/php') in /Applications/MAMP/htdocs/sickiphonecovers/modules/fb/fb.module on line 158.
Severity error
Hostname ::1
Operations

3)

Type php
Date Saturday, May 1, 2010 - 22:19
User smccarthy
Location http://localhost:8081/sickiphonecovers/admin/build/fb/fb_app_create
Referrer http://localhost:8081/sickiphonecovers/admin/build/fb/fb_app_create
Message include(modules/fb/facebook-platform/src/facebook.php) [function.include]: failed to open stream: No such file or directory in /Applications/MAMP/htdocs/sickiphonecovers/modules/fb/fb.module on line 158.
Severity error
Hostname ::1
Operations

I did an update and a cron run and now I get no errors after attempting to create a FB app in Drupal (using the appropriate FB credentials).

gilcpd’s picture

Version: 6.x-2.0-rc1 » 6.x-2.0-rc2

Same here!
I have it running in two different test servers. My local and a drupal mirror installation of my site on my production server.
I followed the suggested changes on the settings.php file, changed the arg_separator to "&" and added the XFML "awareness" on my page.tpl.php file, so far no errors of configuration anymore.

But when I try to create a facebook application it gives me (I'm trying to just add Facebook Connect):

Local Server (Windows XP, XAMPP PHP 5.2, CURL enabled):
Fatal error: Call to undefined method Facebook::get_loggedin_user() in C:\xampp\htdocs\rgreenroom.com\sites\all\modules\fb\fb.module on line 220
No errors registered on the log (besides the previous one before I enabled CURL).

Production test site (Fedora 8 XP, Apache PHP 5.2, CURL enabled):
No error... just a white screen... and no error logged either :S
I have PHP show errors = ALL and also the code on top of the page.tpl.php:
error_reporting(E_ALL);
ini_set('display_errors', TRUE);
ini_set('display_startup_errors', TRUE);
to show all the errors, still nothing :S

Any ideas?

Dave Cohen’s picture

My guess is you've downloaded the "new" facebook libraries, which work only with Drupalforfacebook 3.x.

For 2.x you need the older libs. There is a thread somewhere in this queue with a link to them, since facebook took away the old link.

asghar’s picture

Hi guys

How we can solve this issue i am also getting this problem

Thanks

peem83’s picture

Current facebook php-sdk from github.com works properly with version 3.x in version 2.x you get WSOD.

skobe’s picture

Hey,

same prob. Even with v3.0

Did anyone find a solution yet?

thx

-----

i just found this and it at least helped getting out of the WSOD: http://drupal.org/node/727536#comment-2653552