[BlueOnyx:26882] Re: 5211R GUI Internal Server Error.
hiroyuki yamaguchi
bq.hiroyuki at dns.co.jp
Tue Apr 2 19:50:26 -05 2024
Hi Michael,
> I would be interested to see what the GUI page reported with debugging enabled. That would be most helpful.
ErrorException
Undefined array key "ipAddressFieldeth0:0"
The GUI seems to edit eth0:0
But the configuration file is eth0
/etc/sysconfig/network-scripts/
-rwxr-xr-x 1 root root 417 Apr 2 17:05 ifcfg-eth0
-rw-r--r-- 1 root root 1244 Mar 6 10:51 readme-ifcfg-rh.txt
Should I create a new eth0:0?
Make GUI recognize eth0?
The displayed content will be attached as a txt file.
thank you.
Hiroyuki
-------------- next part --------------
ErrorException
Undefined array key "ipAddressFieldeth0:0"
/usr/sausalito/ui/chorizo/ci4/Modules/Base/Network/Controllers/Ethernet.php at line 217
210 $admin_if_errors = array();
211
212 $eth0_ipaddr = '';
213 $eth0_ipaddr_IPV6 = '';
214
215 for ($i = 0; $i < count($devices); $i ++) {
216 $var_name = "ipAddressField" . $devices[$i];
217 $ip_field = $attributes[$var_name];
218 $var_name_IPv6 = "IPv6_ipAddressField" . $devices[$i];
219 $var_name_orig_IPv6 = "IPv6_ipAddressOrig" . $devices[$i];
220 $ip_orig_IPv6 = $attributes[$var_name_orig_IPv6];
221
222 if ($attributes['gatewayField_IPv6'] != '') {
223 bx_error_log("Setting interface " . $devices[$i] . " to " . $attributes[$var_name_IPv6]);
224 $ip_field_IPv6 = $attributes[$var_name_IPv6];
Backtrace Server Request Response Files Memory
/usr/sausalito/ui/chorizo/ci4/Modules/Base/Network/Controllers/Ethernet.php : 217 — CodeIgniter\Debug\Exceptions->errorHandler ( arguments )
210 $admin_if_errors = array();
211
212 $eth0_ipaddr = '';
213 $eth0_ipaddr_IPV6 = '';
214
215 for ($i = 0; $i < count($devices); $i ++) {
216 $var_name = "ipAddressField" . $devices[$i];
217 $ip_field = $attributes[$var_name];
218 $var_name_IPv6 = "IPv6_ipAddressField" . $devices[$i];
219 $var_name_orig_IPv6 = "IPv6_ipAddressOrig" . $devices[$i];
220 $ip_orig_IPv6 = $attributes[$var_name_orig_IPv6];
221
222 if ($attributes['gatewayField_IPv6'] != '') {
223 bx_error_log("Setting interface " . $devices[$i] . " to " . $attributes[$var_name_IPv6]);
224 $ip_field_IPv6 = $attributes[$var_name_IPv6];
SYSTEMPATH/CodeIgniter.php : 927 — Network\Controllers\Ethernet->index ()
920 $output = $class->_remap($this->method, $params);
921 } else {
922 // This is a Web request or PHP CLI request
923 $params = $this->router->params();
924
925 $output = method_exists($class, '_remap')
926 ? $class->_remap($this->method, ...$params)
927 : $class->{$this->method}(...$params);
928 }
929
930 $this->benchmark->stop('controller');
931
932 return $output;
933 }
934
SYSTEMPATH/CodeIgniter.php : 482 — CodeIgniter\CodeIgniter->runController ( arguments )
475 if (! method_exists($controller, '_remap') && ! is_callable([$controller, $this->method], false)) {
476 throw PageNotFoundException::forMethodNotFound($this->method);
477 }
478
479 // Is there a "post_controller_constructor" event?
480 Events::trigger('post_controller_constructor');
481
482 $returned = $this->runController($controller);
483 } else {
484 $this->benchmark->stop('controller_constructor');
485 $this->benchmark->stop('controller');
486 }
487
488 // If $returned is a string, then the controller output something,
489 // probably a view, instead of echoing it directly. Send it along
SYSTEMPATH/CodeIgniter.php : 351 — CodeIgniter\CodeIgniter->handleRequest ( arguments )
344
345 // spark command has nothing to do with HTTP redirect and 404
346 if ($this->isSparked()) {
347 return $this->handleRequest($routes, $cacheConfig, $returnResponse);
348 }
349
350 try {
351 return $this->handleRequest($routes, $cacheConfig, $returnResponse);
352 } catch (RedirectException $e) {
353 $logger = Services::logger();
354 $logger->info('REDIRECTED ROUTE at ' . $e->getMessage());
355
356 // If the route is a 'redirect' route, it throws
357 // the exception with the $to as the message
358 $this->response->redirect(base_url($e->getMessage()), 'auto', $e->getCode());
FCPATH/index.php : 68 — CodeIgniter\CodeIgniter->run ()
61 *---------------------------------------------------------------
62 * LAUNCH THE APPLICATION
63 *---------------------------------------------------------------
64 * Now that everything is setup, it's time to actually fire
65 * up the engines and make this app do its thang.
66 */
67
68 $app->run();
69
More information about the Blueonyx
mailing list