PDA

View Full Version : [SOLVED] Service Groups Generation Fatal Error - Centreon 1.4.1


sgrynd
08-30-2007, 04:45 AM
Not sure if I should open a bug tracker for this or not, however when trying to add a service group that has 2 host group services linked. When I try and activate and reload I get a blank screen.

Looking at the http log I find this :

[Wed Aug 29 21:31:38 2007] [error] [client 10.128.60.18] PHP Notice: Undefined variable: DBRESULT3 in /usr/local/ oreon/www/include/configuration/configGenerate/genServiceGroups.php on line 126, referer: http://10.128.57.139/oreon/oreon.php?p=607

[Wed Aug 29 21:31:38 2007] [error] [client 10.128.60.18] PHP Fatal error: Call to a member function free() on a non-object in /usr/local/oreon/www/include/configuration/configGenerate/genServiceGroups.php on line 126, referer: http://10.128.57.139/oreon/oreon.php?p=607

rom
08-30-2007, 10:01 AM
Ok, it's corrected and commited, please take again the file here :

http://svn.oreon-project.org/svn/oreon-dev/www/include/configuration/configGenerate/genServiceGroups.php

sgrynd
08-30-2007, 03:36 PM
Awesome, thanks - fixed the problem!

sgrynd
01-21-2008, 11:12 PM
For what it is worth, after an upgrade to 1.4.2.3 this bug came back, I used the file mentioned above and the bug went away.