Needs review
Project:
Drupal for Facebook
Version:
7.x-3.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
18 Feb 2011 at 17:51 UTC
Updated:
17 Mar 2011 at 21:50 UTC
Jump to comment: Most recent file
Comments
Comment #1
Dave Cohen commentedThanks for the report.
Do you have more than one application configured? If only one, is the "primary" checkbox selected?
Comment #2
asaal commentedHi Dave,
the same problem exists on my side ...
One application and the primary field is selected.
I have checked the source of fb.module ... the $GLOBALS['_fb'] is not set
but used in many modules of facebook for drupal.
Best regards,
Alex
Comment #3
Dave Cohen commentedThanks for info, will look into this.
I can tell you the wrong page status is a problem in fb_devel.module. That works properly when you include modules/fb/fb_settings.inc in your settings.php, but I recently noticed it is wrong otherwise. Will fix (eventually).
Comment #4
cybernostra commentedSame, receive :
Fatal error: Call to a member function getAppId() on a non-object in /homez.52/medianos/www/drupal7/sites/all/modules/fb/fb.module on line 449
after commented for testing purpose the fb_settings.inc in my settings.php cause i've noticed somes stranges interactions between my fb app and the d7 site in the user authorize scheme and the facebook connect module.
Comment #5
l33tdawg commentedsub
Comment #6
john_b commentedSame error message for me.
After enabling fb connect module the site was still working OK. I could log in to my FB account via the Connect button, but that did NOT log me in to the Drupal site. No error message, with Devel. not enabled.
After I enabled fb User module, I could log in to my existing (admin) account on the Drupal 7 site with my Facebook details. (As a separate problem, even when I changed admin's email address on the Drupal 7 User page, the facebook login took me straight to the Drupal 7 admin account originally set up with, but no longer using, the email address I use for facebook.)
However, after using this log-in method a couple of times, I started getting the error message in this thread. As Anonymous I could see a homepage with no css and the error message at bottom. It was still possible to log in as a non-admin Authenticated user on an account not associated with FB. However it was impossible to log in with the admin account I had accessed a couple of times via FB Connect, I just got the error message and nothing else on the screen. I removed the entire fb module directory to regain access to my site.
Comment #7
willhowlett commentedsubscribing
Comment #8
jessepinho commentedSame problem for me (but on line 449, not 450). Subscribing.
Comment #9
frankstar commentedSubscribing.
Comment #10
Dave Cohen commentedI have a fix for D6 that I will get checked in before long.
workaround, find the fb_get_token() function and change this...
... into this...
(insert those two lines)
Comment #11
acoustika commentedsubscribing
Comment #12
jaialin commentedsubscribing for D7.
Workaround in #10 works.
I did read the README.txt from start to finish. ;)
Comment #13
Michsk commented#10: worked on my D7 site, thanks for this my whole site was screwed up :P
Comment #14
alasda commentedPatch for review.