[BlueOnyx:24360] Re: FW: Changing hostname produces PHP errors
Richard Morgan
richard at morgan-web.co.uk
Fri Oct 2 10:24:19 -05 2020
I have found the bug and applied a workaround to the GUI errors presented
when changing the hostname.
The servers I was given had two network ports on the motherboard and a PCI
card with four network ports. The GUI only has fields for four network
ports.
I edited the file:
/usr/sausalito/ui/chorizo/ci/application/modules/base/network/controllers/et
hernet.php
I added the following at line 235 after the for loop that iterates the
devices:
if ($i > 4) { break; }
I accept this is specific to my hardware but it's not uncommon to find
servers with more than four network ports.
From: Blueonyx [mailto:blueonyx-bounces at mail.blueonyx.it] On Behalf Of
Richard Morgan
Sent: 02 October 2020 14:16
To: blueonyx at blueonyx.it
Subject: [BlueOnyx:24359] FW: Changing hostname produces PHP errors
Is there a workaround to not being about to change the hostname from the GUI
on 5109R?
From: Richard Morgan [mailto:richard at morgan-web.co.uk]
Sent: 30 September 2020 11:47
To: 'blueonyx at blueonyx.it' <blueonyx at blueonyx.it
<mailto:blueonyx at blueonyx.it> >
Subject: Changing hostname produces PHP errors
Hi
Whilst trying to change the hostname on two servers I hit a series of PHP
errors on the TCP/IP form. These are listed below.
Is there a work-around to these errors? Using the 'hostname' doesn't do it.
Server Dell R410 running 5209R, /etc/build is "build 20200310 for a 5209R in
en_US".
Thanks, Richard
A PHP Error was encountered
Severity: Notice
Message: Undefined index: ipAddressFieldeth4
Filename: controllers/ethernet.php
Line Number: 236
A PHP Error was encountered
Severity: Notice
Message: Undefined index: IPv6_ipAddressOrigeth4
Filename: controllers/ethernet.php
Line Number: 239
A PHP Error was encountered
Severity: Notice
Message: Undefined index: IPv6_ipAddressFieldeth4
Filename: controllers/ethernet.php
Line Number: 247
A PHP Error was encountered
Severity: Notice
Message: Undefined index: ipAddressOrigeth4
Filename: controllers/ethernet.php
Line Number: 251
A PHP Error was encountered
Severity: Notice
Message: Undefined index: netMaskFieldeth4
Filename: controllers/ethernet.php
Line Number: 253
A PHP Error was encountered
Severity: Notice
Message: Undefined index: netMaskOrigeth4
Filename: controllers/ethernet.php
Line Number: 255
A PHP Error was encountered
Severity: Notice
Message: Undefined index: bootProtoFieldeth4
Filename: controllers/ethernet.php
Line Number: 257
A PHP Error was encountered
Severity: Notice
Message: Undefined index: ipAddressFieldeth5
Filename: controllers/ethernet.php
Line Number: 236
A PHP Error was encountered
Severity: Notice
Message: Undefined index: IPv6_ipAddressOrigeth5
Filename: controllers/ethernet.php
Line Number: 239
A PHP Error was encountered
Severity: Notice
Message: Undefined index: IPv6_ipAddressFieldeth5
Filename: controllers/ethernet.php
Line Number: 247
A PHP Error was encountered
Severity: Notice
Message: Undefined index: ipAddressOrigeth5
Filename: controllers/ethernet.php
Line Number: 251
A PHP Error was encountered
Severity: Notice
Message: Undefined index: netMaskFieldeth5
Filename: controllers/ethernet.php
Line Number: 253
A PHP Error was encountered
Severity: Notice
Message: Undefined index: netMaskOrigeth5
Filename: controllers/ethernet.php
Line Number: 255
A PHP Error was encountered
Severity: Notice
Message: Undefined index: bootProtoFieldeth5
Filename: controllers/ethernet.php
Line Number: 257
A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output
started at /usr/sausalito/ui/chorizo/ci/system/core/Exceptions.php:186)
Filename: controllers/ethernet.php
Line Number: 318
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20201002/a2f39388/attachment.html>
More information about the Blueonyx
mailing list