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.
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
Comment #1
Dave Cohen commentedWhat do your apache logs say?
Comment #2
mariano.barcia commentedI'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
Comment #3
Dave Cohen commented#446170: Fatal error: Cannot use object of type stdClass as array in /sites/all/modules/fb/fb_app.module on line 340
Comment #4
problue solutionsIm 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.
Comment #5
problue solutionsbtw - 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?
Comment #6
Dave Cohen commentedYeah, 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.
Comment #7
problue solutionsI 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 :)
Comment #8
problue solutionsLike 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?
Comment #9
Dave Cohen commentedYou 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'.
Comment #10
13rac1 commented6.x-2.x is deprecated. Closing.