I cannot login to my site if Drupal for facebook is on and configured.
scenario 1:
I enable applications and api and I get the login screen.
i do not get the can't login screen every time i login correctly
I do not get the DFF not configured properly screen
if i disable the require once line in settings.php, then I can login.
I think this might be due to the last change made in the code for session management
I do get that the file cannot be found even though I specified the directory in my php_include path:
sites/all/modules/fb
scenario 2 (did this just to see what would happen):
all DFF modules uninstalled (Note: I have to uninstall from database because there does not seem to be an uninstall script)
If I keep the require once line in settings.php, then I cannot login into my site
I do get the DFF is not configured message
I login and I keep getting the login screen.
But the php and site log and watchdog files show that I am logged in
Comments
Comment #1
Dave Cohen commentedIf you're getting a file cannot be found error, that's probably the root cause. You didn't say which file is not found. Perhaps copying the exact error message would be helpful.
If you still have the modules installed, try enabling the facebook debug info block in your page footer. I'd be curious what's there, especially the session_id and session_name.
Comment #2
socialnicheguru commented[17-Feb-2009 13:01:41] PHP Fatal error: require_once() [function.require]: Failed opening required 'sites/all/modules/fb/fb_settings.inc' (include_path='.:/Applications/MAMP/bin/php5/lib/php:/mysite/beta/sites/all/modules/fb') in /mysite/beta/sites/default/settings.php on line 190
Comment #3
Dave Cohen commentedYou have to edit the require_once in your settings.php to find the file. Try adding /mysite/beta to your PHP include path, or try require_once('fb_settings.php') or require_once('/mysite/beta/sites/all/modules/fb/fb_settings.php');
My recent changes couldn't have caused the problems. The file with the changes is not being found.
Comment #4
Letharion commentedSince Drupal 5 is no longer supported, I'm taking the liberty to close all FB D5 issues. Issues that haven't moved since D5 are unlikely to still be valid.