function install_no_profile_error in Drupal 5
Same name and namespace in other branches
- 6 install.php \install_no_profile_error()
- 7 includes/install.core.inc \install_no_profile_error()
Show an error page when there are no profiles available.
3 calls to install_no_profile_error()
- drupal_check_profile in includes/
install.inc - Check a profile's requirements.
- drupal_verify_profile in includes/
install.inc - Verify a profile for installation.
- 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 498
Code
function install_no_profile_error() {
drupal_maintenance_theme();
drupal_set_title(st('No profiles available'));
print theme('install_page', '<p>' . st('We were unable to find any installer profiles. Installer profiles tell us what modules to enable and what schema to install in the database. A profile is necessary to continue with the installation process.') . '</p>');
exit;
}