Error message

You are browsing documentation for drupal 7.x, which is not supported anymore. Read the updated version of this page for drupal 11.x (the latest version).

function DatabaseTasks::fail

Assert test as failed.

7 calls to DatabaseTasks::fail()
DatabaseTasks::checkEngineVersion in includes/install.inc
Check the engine version.
DatabaseTasks::connect in includes/install.inc
Check if we can connect to the database.
DatabaseTasks::runTestQuery in includes/install.inc
Run SQL tests to ensure the database can execute commands with the current user.
DatabaseTasks_pgsql::checkBinaryOutput in includes/database/pgsql/install.inc
Check Binary Output.
DatabaseTasks_pgsql::checkEncoding in includes/database/pgsql/install.inc
Check encoding is UTF8.

... See full list

File

includes/install.inc, line 360

Class

DatabaseTasks
Database installer structure.

Code

protected function fail($message) {
 $this->results [$message] = FALSE;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.