You are here

function install_missing_modules_error in Drupal 5

Show an error page when Drupal is missing required modules.

1 call to 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

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;
}