OpMon.org
Andy Shellam
andy-lists at networkmail.eu
Mon Nov 3 23:29:50 CET 2008
Junior,
I believe that argc and argv only get populated when register_argc_argv
is turned on in php.ini as they are considered redundant in web
applications. Not sure if this is a Fruity or OpCfg issue.
Andy
Junior Cunha wrote:
> Hi,
>
> This problem was already reported in our mailing list (http://www.opmon.org/get-involved). Looks like an issue with the verification of $_SERVER['argc'] and PHP 5.2. Could you comment out the following line in the includes/config.inc and try again?
>
> Line 76: if ( !isset( $_SERVER['argc']) )
>
> Regards,
> Junior Cunha
>
> ----- Mensagem original -----
> De: "Olivier JAN" <ojan at gfi.fr>
> Para: nagios-users at lists.sourceforge.net
> Enviadas: Segunda-feira, 3 de Novembro de 2008 6:16:13 (GMT-0300) Auto-Detected
> Assunto: Re: [Nagios-users] OpMon.org
>
>
> Hi list,
>
> Same for me on a ubuntu 8.0.4 and nagios 3.0.4. Same version of
> Apache, MySQL, PHP 5 as Mathieu
>
>
> Olivier Jan
>
> Mathieu Gagné <mgagne at iweb.com> a écrit :
>
>
>> I can't load OpCfg's interface. I'm getting those PHP errors:
>>
>> Fatal error: Call to a member function isSideBarIncluded() on a
>> non-object in /usr/local/nagios/share/opcfg/output/output.php on line 535
>>
>> Fatal error: Call to a member function isSideBarIncluded() on a
>> non-object in /usr/local/nagios/share/opcfg/home.php on line 27
>>
>> $fruity seems to be undefined. In fact, this variable is defined nowhere
>> except here:
>>
>> export.php:28: $fruity = new Fruity();
>> includes/sessions.inc:64: $fruity = $_SESSION['fruity'];
>> includes/sessions.inc:86: $fruity = $_SESSION['fruity'];
>> templates_import.php:28: $fruity = new Fruity();
>>
>>
>> Here is some version informations if required:
>>
>> Nagios 3.0.4
>> PHP 5.2.6
>> Apache 2.2.9
>> MySQL 5.0.51a
>> OpCfg 1.0
>>
>> Mathieu
>>
>> Dario B. Bestetti (OpServices) wrote:
>>
>>> Sorry, the website is http://www.opmon.org
>>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>> Build the coolest Linux based applications with Moblin SDK & win great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> Nagios-users mailing list
>> Nagios-users at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/nagios-users
>> ::: Please include Nagios version, plugin version (-v) and OS when
>> reporting any issue.
>> ::: Messages without supporting info will risk being sent to /dev/null
>>
>>
>>
>
>
>
>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list