I'm doing a bit of playing which includes periodically starting with a fresh install -- so I noticed that the added line in settings.php which requires "settings_domain_prefix.inc" breaks the install by jumping directly to the DRUPAL_BOOTSTRAP_DATABASE phase before system tables have been created.
I remedied this by simply prefixing the include with a check for SCHEMA_INSTALLED like so:
if (SCHEMA_INSTALLED) require_once './sites/all/modules/domain/domain_prefix/settings_domain_prefix.inc';
Comments
Comment #1
agentrickardInteresting.
Can you explain what SCHEMA_INSTALLED does and why we should check it rather than just making a note in the INSTALL file?
Comment #2
agentrickardThe documentation doesn't help. http://api.drupal.org/api/constant/SCHEMA_INSTALLED/5
This fix should go into the include file itself. Let's not burden settings.php with conditional statements.
file: settings_domain_prefix.inc
file: settings_domain_conf.inc
In both cases, the functions should likely be wrapped in this conditional.
But I still don't understand if this is necessary.
Comment #3
agentrickardStill waiting for justification for this feature. Seems like user error to me.
Perhaps simply add to the documentation.
Comment #4
agentrickardThis is a phantom issue. The cause and solution are both obvious.