Hello,
can someone help solve this issue?
this is the error i get at the bottom of the site
What did I do:
I have added to records in the database in the table host_inventory
- db_logfile_size VARCHAR(64) checked not null utf8_general_ci
- db_datafile_size VARCHAR(64) checked not null utf8_general_ci
added php/include/hosts.inc.php
71 => [
'nr' => 71,
'db_field' => 'db_datafile_size',
'title' => _('Database Data file')
],
72 => [
'nr' => 72,
'db_field' => 'db_logfile_size',
'title' => _('Database Log file')
]
I'm able to populate both fields to the inventory list
Under host inventory I see both fields present
What am I forgetting to adjust?.
Rgds,
John
can someone help solve this issue?
this is the error i get at the bottom of the site
- Undefined index: db_datafile_size [hosts.php:1214 → CView->render() → include() in include/views/configuration.host.edit.php:725]
- Undefined index: db_datafile_size [hosts.php:1214 → CView->render() → include() in include/views/configuration.host.edit.php:730]
- Undefined index: db_logfile_size [hosts.php:1214 → CView->render() → include() in include/views/configuration.host.edit.php:725]
- Undefined index: db_logfile_size [hosts.php:1214 → CView->render() → include() in include/views/configuration.host.edit.php:730]
What did I do:
I have added to records in the database in the table host_inventory
- db_logfile_size VARCHAR(64) checked not null utf8_general_ci
- db_datafile_size VARCHAR(64) checked not null utf8_general_ci
added php/include/hosts.inc.php
71 => [
'nr' => 71,
'db_field' => 'db_datafile_size',
'title' => _('Database Data file')
],
72 => [
'nr' => 72,
'db_field' => 'db_logfile_size',
'title' => _('Database Log file')
]
I'm able to populate both fields to the inventory list
Under host inventory I see both fields present
What am I forgetting to adjust?.
Rgds,
John
Comment