I installed the V2.1.2 of the sdk, cleared the caches, and when I go to admin/reports/status I get a blank page.

Comments

Dave Cohen’s picture

I'd like to help, but can't without some error message.

nancydru’s picture

There are no error messages in dblog, nor on the screen. I'm guessing that somehow the page data to be rendered is wiped out. I have only fb.module and fb_devel.module enabled. The "Like" button is appearing, so that indicates that the library (2.1.2) is okay.

Dave Cohen’s picture

Usually a WSOD is some fatal PHP error or a seg fault. Try looking in apache error logs, or system logs. I'm just saying that a WSOD almost always has an error message, you just have to find it.

Are you saying the status page works fine when fb.module and fb.devel module are disabled, but WSOD when they are enabled?

nancydru’s picture

That is correct. Actually, the status page worked until I installed the library (i.e., with fb api enabled).

nancydru’s picture

Status: Active » Fixed

Ah ha! Apache: PHP Fatal error: Uncaught exception 'Exception' with message 'Facebook needs the CURL PHP extension.'

So now to my Linux guru...

Dave Cohen’s picture

Status: Fixed » Active

Yes that's your problem.

Before you fix it, can you give the stack trace of the exception? Perhaps a try..catch can fix the WSOD.

nancydru’s picture

How do I get that?

Dave Cohen’s picture

Title: WSOD after installing SDK. » WSOD on admin status page when fb.module installed

In my devel environment, uncaught exceptions result in a stack trace in the log. I think it's because I have xdebug set up.

If I find time, I'll try to track this down. Until then, I'll leave the issue open in case anyone else runs into it.

zatarain21’s picture

Same problem and same solution
I supossed that I have installed php curl
A easy way to install is:
sudo apt-get install php5-curl
Restart apache.

P.D. I am very excited about this module and its possibilities thanks Dave for share your talent.

sandino’s picture

@zatarain21
Thanks a lot!

You saved an hour of my time :)

Dave Cohen’s picture

Status: Active » Fixed

I didn't mark this fixed right away because I figured there might be a way to catch the error, but no one's posted a stack trace, and now I want to clean the issue queue.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.