1) Start with totally fresh install, no settings.php files should exist
2) Click "Save and continue" and the "Save and continue" again on the "Choose Language Screen"
3) Errors are generated at the top of the page:

Warning: Invalid argument supplied for foreach() in /path/to/install/includes/database/database.inc on line 1438 Warning: Cannot modify header information - headers already sent by (output started at /path/to/install/includes/database/database.inc:1438) in /path/to/install/includes/bootstrap.inc on line 1003 Warning: Cannot modify header information - headers already sent by (output started at /path/to/install/includes/database/database.inc:1438) in /path/to/install/includes/bootstrap.inc on line 1003 Warning: Cannot modify header information - headers already sent by (output started at /path/to/install/includes/database/database.inc:1438) in /path/to/install/includes/bootstrap.inc on line 1003 Warning: Cannot modify header information - headers already sent by (output started at /path/to/install/includes/database/database.inc:1438) in /path/to/install/includes/bootstrap.inc on line 1003 Warning: Cannot modify header information - headers already sent by (output started at /path/to/install/includes/database/database.inc:1438) in /path/to/install/includes/bootstrap.inc on line 1003 Warning: Cannot modify header information - headers already sent by (output started at /path/to/install/includes/database/database.inc:1438) in /path/to/install/includes/bootstrap.inc on line 1003 

The errors disappear after you create the settings.php file

CommentFileSizeAuthor
#3 no_setting_file_fix.patch534 bytesSteve Dondley

Comments

Steve Dondley’s picture

Title: Errors thrown at top of screen when file directories do not exist » Errors thrown at top of screen when settings.php file does not exist

Changed title to more accurately reflect problem.

Steve Dondley’s picture

Assigned: Unassigned » Steve Dondley
Status: Active » Needs review
StatusFileSize
new534 bytes

A patch.

asimmonds’s picture

There's a earlier issue on this #671366: Installer is broken

Steve Dondley’s picture

Been a while since I contributed to core. Don't know how picky people are these days. Below is a slightly more readable/efficient way, perhaps?

function _db_check_install_needed() {
  global $databases;
  if (empty($databases)) {
    if (!drupal_installation_attempted()) {
      include_once DRUPAL_ROOT . '/includes/install.inc';
      install_goto('install.php');
    }    
    else {
      $databases = array();
    }    
  }
}
Steve Dondley’s picture

Status: Needs review » Closed (duplicate)