By Donna Delour

2019-07-11 15:22:54 8 Comments

Referring to

I am confused as to what 'If Drupal fails to bootstrap' means.

What is term 'bootstrap' referring to? Does it make a database call? From what I have read bootstrap can mean from the Drupal core.

So if the healthcheck module fails is it because it cannot see the database, will the module render a 200 or some other response code?


@mpdonadio 2019-07-11 17:50:03

In computing, "bootstrapping" refers to software getting to a state to where it can perform the task being requested.

In the context of Drupal, it means the code starts and does everything up to the point where it generates the page. It more-or-less includes

  • connecting to the database
  • reading configuration
  • loading modules

The bootstrap process is pretty much the same for everything request; what happens when a page gets rendered and sent to the browser differs page-to-page.

So, when "Drupal fails to bootstrap", it means that it wasn't able to get to a point to figure out what to do, and is considered a Fatal Error. In my experience nine times out of ten when it happens in a production environment, it is because there was a problem connecting to the database.

Related Questions

Sponsored Content

1 Answered Questions

Theme template.php functions after bootstrap

1 Answered Questions

[SOLVED] Script exits on drupal_bootstrap_full when run from system cron

  • 2016-05-20 13:28:36
  • Lindsay Mickey
  • 124 View
  • 1 Score
  • 1 Answer
  • Tags:   7 cron bootstrapping

2 Answered Questions

[SOLVED] Drupal as a RestAPI

  • 2016-02-12 19:03:14
  • JP Dippenaar
  • 120 View
  • 2 Score
  • 2 Answer
  • Tags:   7 json bootstrapping

2 Answered Questions

[SOLVED] Bootstrapping Drupal from the command line

  • 2013-03-22 21:46:25
  • Sebastien F.
  • 1504 View
  • 2 Score
  • 2 Answer
  • Tags:   bootstrapping

1 Answered Questions

How to build an Isolated Drupal instance for testing

1 Answered Questions

[SOLVED] During which bootstrap phase hook_exit & hook_boot will be invoked?

1 Answered Questions

[SOLVED] Problem with table schema

2 Answered Questions

[SOLVED] Front class not included in body tag in my custom module

Sponsored Content