I have installed everything as per the Read Me doc. Whenever I try to create a facebook app through Drupal and press submit I get a WSOD.

Comments

Dave Cohen’s picture

Category: bug » support
Priority: Critical » Normal
Status: Active » Postponed (maintainer needs more info)

What do your apache logs say?

mariano.barcia’s picture

Version: 5.x-2.x-dev » 6.x-3.x-dev
Status: Postponed (maintainer needs more info) » Active

I'm getting a WSOD too, upon submitting a new facebook app. I've read the README.TXT and the related resources in d.o. in order to properly configure the module before using it.

The error in the apache log is:

PHP Fatal error: Cannot use object of type stdClass as array in /home/colaborativa/domains/drupal-dev.colaborativa.net/public_html/www1/sites/all/modules/fb/fb_app.module on line 340

problue solutions’s picture

Version: 6.x-3.x-dev » 6.x-2.0-beta4
Status: Closed (duplicate) » Active

Im also getting WSOD when creating new facebook app, JSON 1.2.1 is enabled according to phpinfo.

Everything followed VERY carefully in installation instructions.

Server error log does not show any error.

problue solutions’s picture

btw - my server (lighttpd) doesnt support clean URLs, could this be the problem?

in the README.TXT it says:

"You must enable clean URLs. If you don't, some links that drupal
creates will not work properly on canvas pages."

but could this be causing the WSOD issue when merely creating a new app to begin with?

Dave Cohen’s picture

Yeah, lack of clean urls will cause problems. Are you trying to make canvas pages?

If you want help with the WSOD, provide some details. When do you get it? Do you have the fb_devel.module enabled? Make your php logging verbose. For sure there is an error being produced somewhere.

problue solutions’s picture

I just disabled everything other than the minimum required fb modules and I was able to create the app ok.

However I have realised that I had fb connect module enabled (not the connect module as part of your suite, this one: http://drupal.org/project/fbconnect) which I was using simply to allow users to sign in with their facebook login details, obviously this is gonna cause some issues? I'll try re-enabling the additional fb modules and see how it goes.

Its probably very obvious that having that other fbconnect module installed is gonna mess things up, but maybe worth mentioning it in the docs in case ppl forget all about having it already installed...like me :P

I'll report back here if all is well without it enabled...bedtime :)

problue solutions’s picture

Like I mentioned it was indeed the other fbconnect module linked in the last post that was the problem, but I have a large number of users who access the site with just their facebook details, and now they cant because I have disabled the fbconnect module in order to get DFF working.

Any ideas what to do about this?

Dave Cohen’s picture

You have to create an appropriate entry in the authmap table for each user. I assume the other module created authmap entries as well. Take a look at your authmap table and see what they look like.

When using dff, the authmap.module should be 'fb_user'.

13rac1’s picture

Status: Active » Closed (won't fix)

6.x-2.x is deprecated. Closing.