Project

General

Profile

Actions

Bug #8889

closed

Setup Wizard PHP error when LAN has no DHCP configuration

Added by Jim Pingle over 5 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Web Interface
Target version:
Start date:
09/12/2018
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4.4
Affected Architecture:
All

Description

If you remove LAN and then add it back, then run the Setup Wizard, a PHP error will result.

Removing the LAN removes the DHCP settings, and the way the wizard uses the DHCP settings array, it leads to a PHP error because they are not there.

[12-Sep-2018 19:36:29 Etc/UTC] PHP Warning:  Illegal string offset 'lan' in /usr/local/www/wizard.php(114) : eval()'d code on line 47
[12-Sep-2018 19:36:29 Etc/UTC] PHP Fatal error:  Uncaught Error: Cannot use string offset as an array in /usr/local/www/wizard.php(114) : eval()'d code:47
Stack trace:
#0 /usr/local/www/wizard.php(114): eval()
#1 {main}
  thrown in /usr/local/www/wizard.php(114) : eval()'d code on line 47
Actions #1

Updated by Jim Pingle over 5 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100
Actions #2

Updated by Jim Pingle over 5 years ago

  • Target version changed from 2.4.4-GS to 2.4.4
Actions #3

Updated by Jim Pingle over 5 years ago

  • Status changed from Feedback to Resolved

Fix tests OK with a gitsync to RELENG_2_4_4, but the fix is not yet in the RC images, will be in -RELEASE.

Actions

Also available in: Atom PDF