Updated: Comment #N

Problem/Motivation

Once #1887750: Use path relative to DRUPAL_ROOT in configuration directories is in, is impossible install Drupal because it throws an error related to the config directories structure.
directories array expects a string, but an array is provided instead.
requirements error

Proposed resolution

Use 'path' key instead of the full array returned from config_get_config_directory()

Remaining tasks

Create Patch.
Add tests.

User interface changes

None

API changes

None

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

plopesc’s picture

Issue summary: View changes
Issue tags: +Need tests
FileSize
938 bytes

This a quick patch that fixes it... Not sure if could be a better option.

Tests are needed.

plopesc’s picture

Issue summary: View changes
Berdir’s picture

Status: Active » Closed (works as designed)

As discussed, this is by design :)

If you re-install, you need to delete your settings.php manually, it's impossible to detect and handle this.

Or you can simply edit $config_directories manually, then you don't need to re-install, see https://drupal.org/node/2164727 for the before/after.

oadaeh’s picture

Issue tags: -Need tests

Removing tag.