Warning: Invalid argument supplied for foreach() in Drupal\Core\Config\InstallStorage->getComponentNames() (line 138 of core/lib/Drupal/Core/Config/InstallStorage.php).

CommentFileSizeAuthor
bug.jpg153.5 KBwnemail

Comments

VBN’s picture

Same here on the install for one.com host.
Is this due following changes are made to the .htaccess file in request of the host?

# Don't show directory listings for URLs which map to a directory.
# Options -Indexes

# Follow symbolic links in this directory.
# Options +FollowSymLinks
goodarzi121’s picture

HI
i changed .htaccess. but see errors again!

dags’s picture

See this issue #2032907: OPEN_BASEDIR set causes drupal 8 install fail. Also, #2019911: Add install requirement that open_basedir = Off since 8.x currently doesn't support it

In summary, check the output of php_info() and make sure you don't have the open_basedir set.

UpcomingMedia’s picture

Status: Active » Fixed

Thought I would try out the latest alpha build on a fresh (DV) Managed VPS hosted on MediaTemple.net with php 5.4.

Getting the same error reported, had:

Warning: Invalid argument supplied for foreach() in Drupal\Core\Config\InstallStorage->getComponentNames() (line 138 of core/lib/Drupal/Core/Config/InstallStorage.php).

open_basedir = {DOCROOT}/:{TMP}/

Set it to:

open_basedir = {WEBSPACEROOT}/:{TMP}/

Still got the same result.

Had to set open_basedir = default in order for errors to fix.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

valdir.marcos’s picture

Version: 8.0-alpha2 » 8.0-alpha3
Status: Closed (fixed) » Active

Error is still happening during all screens on installation.

After setting mysql information, show this other message:
Fatal error: Call to undefined function theme() in /home/xyz/www/drupal8a3/core/includes/install.core.inc on line 954

And the installation is aborted.

valdir.marcos’s picture

Hosting company said that I am not allowed to change php.ini settings on the shared server...
Is there any other solution to install Drupal 8 alpha 3?

valdir.marcos’s picture

Priority: Normal » Critical

Since installation on shared hosting servers is not possible, should we address this ticket as critical?
Should we close this as a duplicate of #2019911: 'open_basedir = On' throws exception - drop support?.

catch’s picture

Status: Active » Closed (duplicate)
dcrocks’s picture

Status: Closed (duplicate) » Active

Should this have been closed as a duplicate of itself?

catch’s picture

iantresman’s picture

Just received this error on attempting to install Drupal 8 for the first time.

PHP 5.3.27 No PHP settings made, no file permission settings made.

After changing "open_basedir" from "default" to "none", the error disappeared.

It would be better to catch the error, and give at least a suggestion regarding open_basedir, or adding something to one of the configuration files, or mentioning it on the "Verify requirements" page.

stolzenhain’s picture

Having the same problem as comment #6.
Shared hoster, safe_mode: off, open_basedir: no value, PHP 5.3.18

If I understood comments correctly, this means it should work, because open_basedir isn't set, right?