Project

General

Profile

Actions

Bug #8606

closed

system_advanced_admin.php: PHP error when saving without sshdkeyonly set

Added by Jim Pingle almost 6 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Web Interface
Target version:
Start date:
06/28/2018
Due date:
% Done:

100%

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

Description

If the SSH settings are set to "Password or Public Key", when saving any other setting on the page a PHP error occurs:

Fatal error: Cannot unset string offsets in /usr/local/www/system_advanced_admin.php on line 257 PHP ERROR: Type: 1, File: /usr/local/www/system_advanced_admin.php, Line: 257, Message: Cannot unset string offsets

To me, I have a fix.

Actions #1

Updated by Jim Pingle almost 6 years ago

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

Updated by Anonymous almost 6 years ago

On 2.4.4.a.20180705.0032 checked "Display page name first in browser tab", checked "Enable Secure Shell", and left the option for SSHd Key Only set to "Password or Public Key" .. was able to save the settings and saw no errors after doing so.

Actions #3

Updated by Jim Pingle almost 6 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF