Download & Extend

"Undefined index" notices during install

Project:Drupal core
Version:6.x-dev
Component:install system
Category:bug report
Priority:normal
Assigned:JohnAlbin
Status:closed (fixed)

Issue Summary

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.

AttachmentSizeStatusTest resultOperations
install_notices.patch917 bytesIgnored: Check issue status.NoneNone

Comments

#1

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

AttachmentSizeStatusTest resultOperations
install_notices_0.patch1.24 KBIgnored: Check issue status.NoneNone

#2

Status:needs review» fixed

Committed to CVS HEAD. Thanks, John.

#3

Status:fixed» closed (fixed)
nobody click here