PHP parse error in NLG

Andy Shellam (Mailing Lists) andy.shellam-lists at mailnetwork.co.uk
Sun Feb 25 12:51:21 CET 2007


Hi Carlo,

What version of PHP are you running?

Line 327 in the code is a comparison of two classes, using the 
"instanceof" operator, which was introduced in PHP 5 
(http://uk2.php.net/manual/en/language.operators.type.php).

It sounds like you have PHP 4, which is not supported by NLG.

Andy.

Carlo Piccini wrote:
>
> Hello,
>
>  
>
> just installed NLG 1.0.2, but stuck with a blank page on hitting URL.
>
> In apache error log I have:
>
>  
>
> [client 192.168.1.5] PHP Parse error:  parse error, unexpected 
> T_STRING in /usr/share/nagios/client/s3_client.php on line 327
>
>  
>
> Any advice for me?
>
> Nagios 2.0
>
>  
>
> Thank you,
>
> Carlo Piccini
>
> !DSPAM:37,45e0cf26925177317654902!
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>
> !DSPAM:37,45e0cf26925177317654902!
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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
>
> !DSPAM:37,45e0cf26925177317654902!
>   


-- 
Andy Shellam
NetServe Support Team

the Mail Network
"an alternative in a standardised world"

p: +44 (0) 121 288 0832/0839
m: +44 (0) 7818 000834

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070225/e68216f1/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
-------------- next part --------------
_______________________________________________
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