This might be a PHP4 thing, but when $db_url is NULL, parse_url($db_url) returns array(path=>'').

So I get the following notices during the install process (just after I select a locale):

Notice: Undefined index: user in /Users/jwilkins/Sites/Drupal-CVS/core-HEAD/install.php on line 162
Notice: Undefined index: pass in /Users/jwilkins/Sites/Drupal-CVS/core-HEAD/install.php on line 163
Notice: Undefined index: host in /Users/jwilkins/Sites/Drupal-CVS/core-HEAD/install.php on line 164

This patch corrects that.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

JohnAlbin’s picture

FileSize
1.24 KB

Added fix for "Notice: Undefined variable: _SESSION in ./install.php on line 603" message when arriving at "Configure site" stage of install.

Dries’s picture

Status: Needs review » Fixed

Committed to CVS HEAD. Thanks, John.

Anonymous’s picture

Status: Fixed » Closed (fixed)