Ticket #95 (closed defect: Fixed)

Opened 2 months ago

Last modified 2 months ago

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

Change History

Changed 2 months ago by ncordier

  • status changed from new to closed
  • resolution set to fixed

should have been fixed by rev #5850

Note: See TracTickets for help on using tickets.