Community Documentation

install_missing_modules_error

5 install.php install_missing_modules_error($profile)

Show an error page when Drupal is missing required modules.

▾ 1 function calls install_missing_modules_error()

install_main in ./install.php
The Drupal installation happens in a series of steps. We begin by verifying that the current environment meets our minimum requirements. We then go on to verify that settings.php is properly configured. From there we connect to the configured database…

File

./install.php, line 521

Code

<?php
function install_missing_modules_error($profile) {
  global $base_url;

  drupal_maintenance_theme();
  drupal_set_title(st('Modules missing'));
  print theme('install_page', '<p>' . st('One or more required modules are missing. Please check the error messages and <a href="!url">try again</a>.', array('!url' => "install.php?profile=$profile")) . '</p>');
  exit;
}
?>
Login or register to post comments