Ticket #87 (closed defect: Fixed)

Opened 4 months ago

Last modified 4 months ago

Nagios import fails due to fatal PHP error

Reported by: astanford Owned by:
Priority: blocker Milestone: Centreon-2.0
Component: CentCore Version: beta5
Keywords: import nagios hosts services cfg Cc:

Description

On a default Centreon 2.0beta5 install, importing hosts, services etc. fails due to a path error in /usr/local/centreon/www/include/configuration/configObject/host/DB-Func.php.

The failures are on lines 1182 and 1238 (there may be more instances). The path mentioned on those lines is "./include/configuration/configLoad/../service/DB-Func.php". Changing the path to "./include/configuration/configLoad/../configObject/service/DB-Func.php" resolves the issue and allows a successful import.

Change History

Changed 4 months ago by shotamchay

  • priority changed from major to blocker
  • status changed from new to closed
  • resolution set to fixed

thanks,
the problem is solved with the revision r5844

Note: See TracTickets for help on using tickets.