An AJAX HTTP request terminated abnormally.
Debugging information follows.
Path: /drupal-8.0.0/core/install.php?rewrite=ok&langcode=en&profile=standard&id=1&op=do_nojs&op=do
StatusText: error
ResponseText:
ReadyState: 0

CommentFileSizeAuthor
#24 2558371-23.patch734 bytesalexpott
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

kami786 created an issue. See original summary.

cilefen’s picture

Priority: Major » Normal

This is unusual. Are there any PHP errors reported in the server log?

Is this the first time you have tried to install Drupal 8 in this environment?

Alaa Rihan’s picture

Same error.

I tried to install Drupal 8 beta15 in Wamp server

When I clicked the error page I saw this result:

Error
The website encountered an unexpected error. Please try again later.
Drupal\Core\Config\UnmetDependenciesException: Configuration objects (block.block.bartik_search, core.entity_form_display.node.article.default, core.entity_form_display.node.page.default, rdf.mapping.comment.comment, rdf.mapping.node.article, rdf.mapping.node.page, rdf.mapping.taxonomy_term.tags) provided by standard have unmet dependencies in Drupal\Core\Config\UnmetDependenciesException::create() (line 89 of core\lib\Drupal\Core\Config\UnmetDependenciesException.php).
Drupal\Core\Config\UnmetDependenciesException::create('standard', Array)
Drupal\Core\Config\ConfigInstaller->checkConfigurationToInstall('module', 'standard')
Drupal\Core\ProxyClass\Config\ConfigInstaller->checkConfigurationToInstall('module', 'standard')
Drupal\Core\Extension\ModuleInstaller->install(Array, )
Drupal\Core\ProxyClass\Extension\ModuleInstaller->install(Array, )
install_install_profile(Array)
install_run_task(Array, Array)
install_run_tasks(Array)
install_drupal(Object)
Alaa Rihan’s picture

Version: 8.0.0-beta14 » 8.0.0-beta15
cilefen’s picture

Please check the requirements for Drupal 8. Does your WAMP install have the correct version of PHP, RAM, etc?

Are you installing from a zip download?

kevincam’s picture

I have this same error and can't complete the install. I have all the requirements met.

cilefen’s picture

Title: Drupal 8 installation fails with an AJAX error » Drupal 8 installation fails with an AJAX error: configuration objects provided by standard have unmet dependencie
Component: ajax system » install system

@kevincam Can you please share details of your environment. Also: Is this beta15? Do you have the same PHP errors as @alaaddeen reported in #3.

cilefen’s picture

Title: Drupal 8 installation fails with an AJAX error: configuration objects provided by standard have unmet dependencie » Drupal 8 installation fails with "Configuration objects ... provided by standard have unmet dependencies"
sourabhutani’s picture

I was also facing same issue but by adding below line the problem is sorted out.

Add following line in settings.php file then error will fix.
ini_set('xdebug.max_nesting_level', 300);

sourabhutani’s picture

Status: Active » Fixed
MichaelB’s picture

Status: Fixed » Active

I am still experiencing the same problem as #3, even with the fix proposed by #9.
My environment : wamp on windows 7 with apache 2.4.9 and php 5.5.12

Edit : It actually worked with the minimal profil install, not working with the default one.

cilefen’s picture

@MichaelB Is xdebug enabled on your system?

MichaelB’s picture

@cilefen It is

It actually worked with the minimal profil install, not working with the default one.

cilefen’s picture

@MichaelB Try disabling xdebug and see if it works. Incidentally, I turn on xdebug only when needed because it is a performance hit.

MichaelB’s picture

Status: Active » Fixed

Great, It worked.
Thanks @cilefen

kevincam’s picture

I just tried Beta 16 and it installs with not problem.

Status: Fixed » Closed (fixed)

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

inkeyes’s picture

Standard installation Drupal 8.1.6 fails with an error of (Apache/2.4.7 (Ubuntu), Php 5.5.9)

[Mon Jul 18 09:36:37.259046 2016] [:error] [pid 24192] [client 81.101.134.93:55130] RuntimeException: Failed to start the session because headers have already been sent by "/home/drupal_test/www/htdocs/vendor/symfony/http-foundation/Response.php" at line 1158. in /home/drupal_test/www/htdocs/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php on line 140, referer: http://drupal_test.lms.cm-hosting.com/core/install.php?langcode=en&profi...

[Mon Jul 18 09:36:45.833749 2016] [:error] [pid 24187] [client 81.101.134.93:55135]
Drupal\\Core\\Config\\UnmetDependenciesException: Configuration objects (block.block.bartik_account_menu, block.block.bartik_branding, block.block.bartik_breadcrumbs, block.block.bartik_content, block.block.bartik_footer, block.block.bartik_help, block.block.bartik_local_actions, block.block.bartik_local_tasks, block.block.bartik_main_menu, block.block.bartik_messages, block.block.bartik_page_title, block.block.bartik_powered, block.block.bartik_search, block.block.bartik_tools, block.block.seven_breadcrumbs, block.block.seven_content, block.block.seven_help, block.block.seven_local_actions, block.block.seven_login, block.block.seven_messages, block.block.seven_page_title, block.block.seven_primary_local_tasks, block.block.seven_secondary_local_tasks, block_content.type.basic, comment.type.comment, contact.form.feedback, core.entity_form_display.block_content.basic.default, core.entity_form_display.comment.comment.default, core.entity_form_display.node.article.default, core.entity_form_display.node.page.default, core.entity_form_display.user.user.default, core.entity_view_display.block_content.basic.default, core.entity_view_display.comment.comment.default, core.entity_view_display.node.article.default, core.entity_view_display.node.article.rss, core.entity_view_display.node.article.teaser, core.entity_view_display.node.page.default, core.entity_view_display.node.page.teaser, core.entity_view_display.user.user.compact, core.entity_view_display.user.user.default, editor.editor.basic_html, editor.editor.full_html, field.field.block_content.basic.body, field.field.comment.comment.comment_body, field.field.node.article.body, field.field.node.article.comment, field.field.node.article.field_image, field.field.node.article.field_tags, field.field.node.page.body, field.field.user.user.user_picture, field.storage.node.comment, field.storage.node.field_image, field.storage.node.field_tags, field.storage.user.user_picture, filter.format.basic_html, filter.format.full_html, filter.format.restricted_html, node.type.article, node.type.page, rdf.mapping.comment.comment, rdf.mapping.node.article, rdf.mapping.node.page, rdf.mapping.taxonomy_term.tags, taxonomy.vocabulary.tags) provided by standard have unmet dependencies in /home/drupal_test/www/htdocs/core/lib/Drupal/Core/Config/UnmetDependenciesException.php on line 84, referer: http://drupal_test.lms.cm-hosting.com/core/install.php?langcode=en

Symmorphia’s picture

I have the same problem as #18 when I try to install Drupal 8.2.4 (standard or minimal) on Apache 2.4.18 (Ubuntu) with PHP 7.0.8.

Every time I try to install Drupal, after submitting my database configuration the installation wizard redirects back me to its start page and after selecting language and profile again, I get the error message above. I noticed that not all database tables are created, so the initial exception probably occurs during table creation.

cilefen’s picture

Status: Closed (fixed) » Active

Have you got xdebug enabled?

funjay17’s picture

have the same error drupal-8.2.4.

centos 7 with php5.6 and apache

after deleting the db and trying numerous times it just goes through..

on re-installation it repeats itself. this is a bug

Drupal\Core\Config\UnmetDependenciesException: Configuration objects (automated_cron.settings, block.block.bartik_account_menu, block.block.bartik_branding, block.block.bartik_breadcrumbs, block.block.bartik_content, block.block.bartik_footer, block.block.bartik_help, block.block.bartik_local_actions, block.block.bartik_local_tasks, block.block.bartik_main_menu, block.block.bartik_messages, block.block.bartik_page_title, block.block.bartik_powered, block.block.bartik_search, block.block.bartik_tools, block.block.seven_breadcrumbs, block.block.seven_content, block.block.seven_help, block.block.seven_local_actions, block.block.seven_login, block.block.seven_messages, block.block.seven_page_title, block.block.seven_primary_local_tasks, block.block.seven_secondary_local_tasks, block_content.type.basic, comment.type.comment, contact.form.feedback,

alexpott’s picture

@funjay17 are you using the same settings.php file or are you generating a fresh one?

funjay17’s picture

@alexpott

i just delete the database and start the install.php again.. i do this like 2 to 3 times before it goes through
try to re-install and still getting same error. (will go through the routine of deleting an restarting to get it through)

alexpott’s picture

FileSize
734 bytes

And can you try this patch out? Just going on a hunch.

alexpott’s picture

Oh @funjay17 I've just read the issue do you have xdebug enabled? And if so what is the max nesting level?

funjay17’s picture

@alexpott . xdebug not installed cos i cant find it in my phpinfo

MartinMa’s picture

Very strange: Now I have the same problem with 8.5.0 !!!

Drupal\Core\Config\UnmetDependenciesException: Configuration objects provided by standard have unmet dependencies: block.block.bartik_help (help), block.block.bartik_search (search), rdf.mapping.comment.comment (rdf) in Drupal\Core\Config\UnmetDependenciesException::create() (line 98 of core/lib/Drupal/Core/Config/UnmetDependenciesException.php).

Updating all exiting 8.4 worked, but installing a new one failed now (but before installing new website worked one or two times)

MartinMa’s picture

Applied patch #24

patching file core/includes/install.core.inc
Hunk #1 succeeded at 1040 (offset 7 lines)

Reinstalling failes

Cleared database

Reinstalling worked :-)

Sourabhagouda SP’s picture

I'm Trying to install reservoir 8.6.3, after filling all database details, I'm getting error as follows.

Drupal\\Core\\Config\\UnmetDependenciesException: Configuration objects provided by reservoir have unmet dependencies: core.entity_form_display.node.article.default (image.style.thumbnail, image, path, text), core.entity_view_display.node.article.default (image.style.large, image, text), editor.editor.basic_html (ckeditor, editor), field.field.node.article.body (field.storage.node.body, text, field), field.field.node.article.field_image (image, field), field.field.node.article.field_related_articles (field), field.storage.node.field_image (file, image, node, field), field.storage.node.field_related_articles (node, field), field.storage.node.field_tags (node, taxonomy, field), filter.format.basic_html (editor, filter), node.type.article (node), taxonomy.vocabulary.tags (taxonomy), user.role.client_developer (reservoir_ui) in /var/www/html/myproject/docroot/core/lib/Drupal/Core/Config/UnmetDependenciesException.php on line 98 #0 /var/www/html/myproject/docroot/core/lib/Drupal/Core/Config/ConfigInstaller.php(485): Drupal\\Core\\Config\\UnmetDependenciesException::create('reservoir', Array)\n#1 /var/www/html/myproject/docroot/core/lib/Drupal/Core/ProxyClass/Config/ConfigInstaller.php(132): Drupal\\Core\\Config\\ConfigInstaller->checkConfigurationToInstall('module', 'reservoir')\n#2 /var/www/html/myproject/docroot/core/lib/Drupal/Core/Extension/ModuleInstaller.php(150): Drupal\\Core\\ProxyClass\\Config\\ConfigInstaller->checkConfigurationToInstall('module', 'reservoir')\n#3 /var/www/html/myproject/docroot/core/lib/Drupal/Core/ProxyClass/Extension/ModuleInstaller.php(83): Drupal\\Core\\Extension\\ModuleInstaller->install(Array, false)\n#4 /var/www/html/myproject/docroot/core/includes/install.core.inc(1663): Drupal\\Core\\ProxyClass\\Extension\\ModuleInstaller->install(Array, false)\n#5 /var/www/html/myproject/docroot/core/includes/install.core.inc(709): install_install_profile(Array)\n#6 /var/www/html/myproject/docroot/core/includes/install.core.inc(584): install_run_task(Array, Array)\n#7 /var/www/html/myproject/docroot/core/includes/install.core.inc(125): install_run_tasks(Array, NULL)\n#8 /var/www/html/myproject/docroot/core/install.php(44): install_drupal(Object(Composer\\Autoload\\ClassLoader))\n#9 {main}, referer: http://localhost/myproject/docroot/core/install.php
[Wed Nov 14 11:24:54.494068 2018] [php7:notice] [pid 15274] [client 127.0.0.1:38600] Drupal\\Core\\Config\\UnmetDependenciesException: Configuration objects provided by reservoir have unmet dependencies: core.entity_form_display.node.article.default (image.style.thumbnail, image, path, text), core.entity_view_display.node.article.default (image.style.large, image, text), editor.editor.basic_html (ckeditor, editor), field.field.node.article.body (field.storage.node.body, text, field), field.field.node.article.field_image (image, field), field.field.node.article.field_related_articles (field), field.storage.node.field_image (file, image, node, field), field.storage.node.field_related_articles (node, field), field.storage.node.field_tags (node, taxonomy, field), filter.format.basic_html (editor, filter), node.type.article (node), taxonomy.vocabulary.tags (taxonomy), user.role.client_developer (reservoir_ui) in /var/www/html/myproject/docroot/core/lib/Drupal/Core/Config/UnmetDependenciesException.php on line 98 #0 /var/www/html/myproject/docroot/core/lib/Drupal/Core/Config/ConfigInstaller.php(485): Drupal\\Core\\Config\\UnmetDependenciesException::create('reservoir', Array)\n#1 /var/www/html/myproject/docroot/core/lib/Drupal/Core/ProxyClass/Config/ConfigInstaller.php(132): Drupal\\Core\\Config\\ConfigInstaller->checkConfigurationToInstall('module', 'reservoir')\n#2 /var/www/html/myproject/docroot/core/lib/Drupal/Core/Extension/ModuleInstaller.php(150): Drupal\\Core\\ProxyClass\\Config\\ConfigInstaller->checkConfigurationToInstall('module', 'reservoir')\n#3 /var/www/html/myproject/docroot/core/lib/Drupal/Core/ProxyClass/Extension/ModuleInstaller.php(83): Drupal\\Core\\Extension\\ModuleInstaller->install(Array, false)\n#4 /var/www/html/myproject/docroot/core/includes/install.core.inc(1663): Drupal\\Core\\ProxyClass\\Extension\\ModuleInstaller->install(Array, false)\n#5 /var/www/html/myproject/docroot/core/includes/install.core.inc(709): install_install_profile(Array)\n#6 /var/www/html/myproject/docroot/core/includes/install.core.inc(584): install_run_task(Array, Array)\n#7 /var/www/html/myproject/docroot/core/includes/install.core.inc(125): install_run_tasks(Array, NULL)\n#8 /var/www/html/myproject/docroot/core/install.php(44): install_drupal(Object(Composer\\Autoload\\ClassLoader))\n#9 {main}, referer: http://localhost/myproject/docroot/core/install.php

Can anyone help me with this?

cilefen’s picture

auxiliaryjoel’s picture

I'm getting this error when trying to install Drupal 8.6.13 (localhost MAMP on mac):

Error
The website encountered an unexpected error. Please try again later.
Drupal\Core\Config\UnmetDependenciesException: Configuration objects provided by standard have unmet dependencies: block.block.bartik_account_menu (block), block.block.bartik_help (help, block), block.block.bartik_search (search, block), block_content.type.basic (block_content), comment.type.comment (comment), contact.form.feedback (contact), core.entity_form_display.block_content.basic.default (text), core.entity_form_display.node.article.default (image.style.thumbnail, comment, image, path, text), core.entity_form_display.node.page.default (path, text), core.entity_form_display.user.user.default (image.style.thumbnail, image), core.entity_view_display.node.article.default (image.style.large, comment, image, text), core.entity_view_display.node.article.rss (core.entity_view_mode.node.rss), core.entity_view_display.node.article.teaser (core.entity_view_mode.node.teaser, image.style.medium, image, text), core.entity_view_display.node.page.teaser (core.entity_view_mode.node.teaser, text), editor.editor.basic_html (ckeditor, editor), field.field.block_content.basic.body (field.storage.block_content.body, text, field), field.field.comment.comment.comment_body (field.storage.comment.comment_body, text, field), field.field.node.article.body (field.storage.node.body, text, field), field.field.node.article.comment (comment, field), field.field.node.article.field_image (image, field), field.field.node.article.field_tags (field), field.storage.node.comment (comment, node, field), field.storage.node.field_image (file, image, node, field), field.storage.node.field_tags (node, taxonomy, field), field.storage.user.user_picture (file, image, field), filter.format.basic_html (editor, filter), filter.format.restricted_html (filter), node.type.article (node), rdf.mapping.comment.comment (comment, rdf), rdf.mapping.node.article (node, rdf), rdf.mapping.taxonomy_term.tags (taxonomy, rdf), taxonomy.vocabulary.tags (taxonomy) in Drupal\Core\Config\UnmetDependenciesException::create() (line 98 of core/lib/Drupal/Core/Config/UnmetDependenciesException.php).

Drupal\Core\Config\UnmetDependenciesException::create('standard', Array) (Line: 485)
Drupal\Core\Config\ConfigInstaller->checkConfigurationToInstall('module', 'standard') (Line: 132)
Drupal\Core\ProxyClass\Config\ConfigInstaller->checkConfigurationToInstall('module', 'standard') (Line: 150)
Drupal\Core\Extension\ModuleInstaller->install(Array, ) (Line: 83)
Drupal\Core\ProxyClass\Extension\ModuleInstaller->install(Array, ) (Line: 1663)
install_install_profile(Array) (Line: 709)
install_run_task(Array, Array) (Line: 584)
install_run_tasks(Array, NULL) (Line: 125)
install_drupal(Object) (Line: 44)

I have 2 other sites that installed fine inside same MAMP/htdocs directory a month or so ago, but now today when replicating the process for a 3rd site the above error occurs

Does anyone have a fix for this?

cilefen’s picture

@auxiliaryjoel Did you read through this issue? What have you tried so far?

cilefen’s picture

Category: Bug report » Support request
Status: Active » Fixed

If I remember correctly, this could be from not setting max_allowed_packet high enough in MySQL or #9 above. This is covered in the system requirements.

cilefen’s picture

Status: Fixed » Closed (duplicate)
vlad13’s picture

@auxiliaryjoel, try to delete `settings.php` or `sudo mv settings.php settings.php.bak` in your `sites/default` folder. And navigate to http://sitename-or-ip/core/install.php

Finally, try to install from drush, not GUI:

cd /var/www/html/<your.sitename>/web
../vendor/bin/drush site-install --db-url=mysql://root:pass@localhost/db_name
auxiliaryjoel’s picture

Hi cilefen, yes I tried #9 and it did not fix the issue, the error remains.
However maybe I need to scrap the build/directory entirely and do the #9 fix first, prior to running the installer.
I will try that shortly, but first I will see if any other replies solve the issue...

I also tried installing via composer in of different ways, eg. this way:
composer create-project drupal-composer/drupal-project:8.x-dev mydir --stability dev --no-interaction
and this way:
composer create-project drupal-composer/drupal-project:8.x-dev mydir --no-interaction

but in either case, the same error occurs after the database and install type steps, next step after that displays the issue with no ability to ignore or proceed

auxiliaryjoel’s picture

Hi vlad13
I did try going direct to the install.php path as you suggested,
Once with settings.php still there,
and the process occurred as always:
allows me to run through steps, add database, choose install type, but then the error occurs

Next I tried same again with the settings.php file removed,
but now it just gives me a page within the installer telling me I need to provide a settings.php file
so I went back to reinstate the settings php, and noticed that the system had already built it's own one...?
so I jumped back to the install browser window and hit refresh, and I got the same error again

auxiliaryjoel’s picture

Hi again cilefen
I checked the System Requirements link that you provided me and followed the links within that page,
but when searching all those pages I could not find any mention of:
max_allowed_packet
or
packet

So not sure how to address that one?

auxiliaryjoel’s picture

And just to clarify, cilefen,
I am running this on localhost inside MAMP on Mac,
And in MAMP's htdocs I have to previous sites still running OK that both installed fine using the same method
so I'm not sure how this new one could be an issue whilst the other 2 (both made within the last 3months) both installed OK and run OK.

The fact the other 2 are working alright makes me wonder if the drupal source files that composer reaches for when it runs:

composer create-project drupal-composer/drupal-project:8.x-dev mydir --no-interaction

have changed in some way?

jboyette36’s picture

I was having the same issue as @auxiliaryjoel (Drupal core 8.6.13) but was finally able to get the install to work using the drush method suggested by @vlad13 in #35. (Thanks a bunch, BTW.) One thing surprised me though, I had to make sure and NOT setup an empty database database_name like I was used to doing with Drupal 6/7. Then, when drush asks "You are about to CREATE the database. Do you want to continue?" type "yes." Not sure if the same would help when using the UI based install.

cilefen’s picture

This is I reminder that I closed this issue as a duplicate of #2594351: UnmetDependenciesException when installing Drupal 8.

auxiliaryjoel’s picture

Sorry cilefen I will stop commenting on this thread, and will move any of my relevant/helpful info into the situation over to the thread you suggested here:
https://www.drupal.org/project/drupal/issues/2594351

auxiliaryjoel’s picture

In case anyone is still reading this,
@weitzman commented on the github link for composer project, that this recent issue might be the reason:
https://www.drupal.org/project/drupal/issues/3045349

yookoala’s picture

I reached a similar issue with my own profile.

Upon test, I would see this problem at the beginning of my installation (right after pressing "Next" after the language selection). There are some database table in my target database (I have configured database in my settings.php manually before running installation). And I need to remove my database to restart the process.

Now, if I clear the database and the with file folder (i.e. "sites/default/files"), my installation would go into the same deadend. But if I leave the files in "sites/default/files" and only clear the database, the installation would go successful. The difference in the public file folder would only be a translation .po file and some php cache for twig.

I'm guessing that the download or generation of twig cache is parallel to other installation parts and expected a relatively fast I/O speed. If the installation phase continued before the backend cache is done, the unexpectedly long rendering time of previous step might cause errors of such in later steps (i.e. the database doesn't yet know about the previously installed module was there because of some write lock pending on slow filesystem I/O.)