errors for require fb/fb_settings.inc when Drush module installed

SocialNicheGuru - May 31, 2009 - 15:02
Project:Drupal for Facebook
Version:6.x-2.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Issue tags:drush
Description

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

#1

Dave Cohen - June 1, 2009 - 17:07
Category:bug report» support request

Make 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');

my include path includes sites/all/modules

Not according to your error message above, (include_path='.:')

#2

SocialNicheGuru - June 1, 2009 - 22:41
Title:errors for require fb/fb_settings.inc» errors for require fb/fb_settings.inc when Drush module installed

I 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

 
 

Drupal is a registered trademark of Dries Buytaert.