install_no_profile_error

Versions
5 – 7
install_no_profile_error()

Show an error page when there are no profiles available.

▾ 3 functions call 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...

Code

./install.php, line 498

<?php
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;
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.