- Patch #312144 by CorniI, dropcube, EvanDonovan, Damien Tournoud,...
- Patch #312144 by CorniI, dropcube, EvanDonovan, Damien Tournoud, David_Rothstein, tstoeckler: install fails when default.settings.php is not present.
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
'value'=>st('The default settings file does not exist.'),
'severity'=>REQUIREMENT_ERROR,
'description'=>st('The @drupal installer requires that the %default-file file not be modified in any way from the original download.',array('@drupal'=>drupal_install_profile_distribution_name(),'%default-file'=>$default_settings_file)),
);
}
// If settings.php does not exist, throw an error.
if(!$exists){
$requirements['settings file exists']=array(
'title'=>st('Settings file'),
'value'=>st('The settings file does not exist.'),
'severity'=>REQUIREMENT_ERROR,
'description'=>st('The @drupal installer requires that you create a settings file as part of the installation process. Copy the %default_file file to %file. More details about installing Drupal are available in <a href="@install_txt">INSTALL.txt</a>.',array('@drupal'=>drupal_install_profile_distribution_name(),'%file'=>$file,'%default_file'=>$conf_path.'/default.settings.php','@install_txt'=>base_path().'INSTALL.txt')),
'description'=>st('The @drupal installer requires that you create a settings file as part of the installation process. Copy the %default_file file to %file. More details about installing Drupal are available in <a href="@install_txt">INSTALL.txt</a>.',array('@drupal'=>drupal_install_profile_distribution_name(),'%file'=>$file,'%default_file'=>$default_settings_file,'@install_txt'=>base_path().'INSTALL.txt')),
);
}
else{
...
...
@@ -1558,6 +1571,7 @@ function install_check_requirements($install_state) {