Full message:
Domain access failed to load during phase: -1. Please check your settings.php file and site configuration.
I'm a n00b at this, and currently attempting to set up one primary site (in a /drupal subdir) and three shared sites (subdomains one.mysite.com two.mysite.com three.mysite.com); as I was loading the modules to the primary site's /modules directory, for them to be accessible and shared, I enabled "Domain Access" and began getting the above message. Verified my settings.php and site config several times.
Finally got a gut feeling to turn off the Domain Access module, and voila~! The error went away.
That begs the question "what am I missing" of course...or do I even need Domain Access?
(Hadn't enabled Organic Groups yet, but have the module uploaded. Could that be a factor?)
Comments
Comment #1
agentrickardPlease read the Domain Access installation guide. In particular, parts 1-3 of INSTALL_QUICKSTART.txt.
Comment #2
moskit commented3. Add the following four lines of code to your settings.php file:
include './sites/all/modules/domain/settings.inc';
Comment #3
S.Siva commentedwat four lines ???
can u explain me in detail pls ??
Comment #4
agentrickardREAD THE DOCUMENTATION.
Comment #5
opp67 commentedThat guy is an epididymis, here ya go:
/**
* Add the domain module setup routine.
*/
include './sites/all/modules/domain/settings.inc';
IMPORTANT: You must add these lines to settings.php after the
$db_url. Normally, you should add these lines to the end of the
settings.php file.
Comment #6
agentrickardReally? You enjoying all the free software and support?
Don't be an ass to a maintainer.
Comment #7
rodicaro commentedI tried doing what you said, but I'm told settings.php is locked. What do I do?
Comment #8
iasminb commentedrodicaro,
The problem has to do with the permissions of the file. Make the file writable and it will work.
Comment #9
literar1 commentedI'm sure he didn't know you are the maintainer. People should really learn how to read module documentation before posting issues. That why maintainers go through all the trouble of writing them. And it so happens that Domain access has a good detailed documentation.
THANKS For THE MODULE AND KEEP UP THE GOOD WORK AGENTRICKARD.