I am having a similar issue to https://drupal.org/node/2078259.
The problem is:
1) the environment is set to something different than is specified in the settings.php $conf['environment_override'] variable. (In my case, I don't have any environment set in the db but have $conf['environment_override'] = 'development' in my settings.php file)
2) on init the environment tries to change via environment_force hook_init, but fails to change because the force flag isn't set. Then everything comes to a crashing halt because the drupal_set_message is set to error.
I will submit a patch which simply adds the force flag.
-Alex
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | environment_force_2200863_add-force-flag.patch | 530 bytes | arknoll |
Comments
Comment #1
arknoll commentedComment #2
arknoll commentedComment #3
mrfelton commentedI believe this is the correct approach. Without this patch, environment_force doesn't really do a whole lot.
Comment #5
arknoll commentedPatch approved. Thanks mrfelton!