Ticket #95 (closed defect: Fixed)
Problem loading hosts.cfg file
| Reported by: | srinath | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | Centreon-2.0 |
| Component: | CentWeb | Version: | beta5 |
| Keywords: | Cc: |
Description
Loading of a host.cfg file crashes.
The first host entry is imported and then it crashes. The following errors/warnings are displayed:
Notice: Undefined index: host_name in /usr/local/centreon/www/include/configuration/configLoad/DB-Func.php on line 654
Notice: Undefined index: host_name in /usr/local/centreon/www/include/configuration/configLoad/DB-Func.php on line 552
Warning: require_once(./include/configuration/configLoad/../service/DB-Func.php) [function.require-once]: failed to open stream: No such file or directory in /usr/local/centreon/www/include/configuration/configObject/host/DB-Func.php on line 1238
Fatal error: require_once() [function.require]: Failed opening required './include/configuration/configLoad/../service/DB-Func.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/local/centreon/www/include/configuration/configObject/host/DB-Func.php on line 1238
