-2

I installed the Domain Access module and get the following error:

Domain access failed to load during phase: bootstrap include. Please check your settings.php file and site configuration.

How can I solve this?

  • Have you read the installation instructions bundled with the module? – Letharion Nov 1 '12 at 12:41
  • You're going to have to read the README. – Chapabu Nov 1 '12 at 12:46
4

You can access the readme file here.

There is also a quickstart version here.

The main bit you will need is the following (taken from the quickstart version - line 24):

Add the following four lines of code to your settings.php file:

/**
* Add the domain module setup routine.
*/
include DRUPAL_ROOT . '/sites/all/modules/domain/settings.inc';

NOTE: You may need to alter the file path above based on your site configuration. See INSTALL.txt for further help.

IMPORTANT: You must add these lines to settings.php after the $databases. Normally, you should add these lines to the end of the settings.php file.

NOTE: If you perform a Drupal core version upgrade, you must remove these lines from settings.php. See UPGRADE.txt for details.

0

"Domain access failed to load during phase: bootstrap include. Please check your settings.php file and site configuration."

Solution was the following: you need to add the 4 line to the settings.php file, right? But, to do it, you need to set the 'default' folder permission to '777' After this, you can delete the settings.php... upload the new one, which includes this: /** * Add the domain module setup routine. */ include DRUPAL_ROOT . '/sites/all/modules/domain/settings.inc

at the bottom of the file. Changed the permission back to '555' and thats it... Enjoy!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.