Closed (fixed)
Project:
Drupal for Facebook
Version:
6.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
31 May 2009 at 15:02 UTC
Updated:
3 Nov 2011 at 16:06 UTC
Warning: include(/drupal/sites/all/modules/fb/fb_settings.inc): failed to open stream: No such file or directory in /drupal/sites/default/settings.php on line 301
Warning: include(): Failed opening '/drupal/sites/all/modules/fb/fb_settings.inc' for inclusion (include_path='.:') in /drupal/sites/default/settings.php on line 301
I read the entire readme.
This happened after I upgraded from the previous version to the newest version (5/29 i believe).
my include path includes sites/all/modules
Thanks,
Chris
Comments
Comment #1
Dave Cohen commentedMake sure there is actually a file where you expect it, /drupal/sites/all/modules/fb/fb_settings.inc. Then make sure it is readable by your server software. Then tweak your include line so that it works, which will depend on how your PHP is set up. Try include('sites/all/modules/fb/fb_settings.inc');
Not according to your error message above, (include_path='.:')
Comment #2
socialnicheguru commentedI get this error when I try to use the DRUSH module.
Drush module which works for every other module..
solution is that I had to put in the absolute path to the fb_settings.inc file in my default/settings.php file
My include_path is defined except when Drush and fb are enabled.
Chris
Comment #3
Michsk commentedI'm having the same issue when i use drupal_set_html_head() in my custom module.
Then in my cometchatjs.php i see
And this breaks my chat script because of above.
Comment #4
Michsk commentedI solved my problem by not including settings.php in the cometchat script. The cometchat script included settings.php to get db settings and that including seems to be the problem. Maybe drush also calles for settings.php?
Comment #5
socialnicheguru commentedfixed in newest version