[Pkg-nagios-devel] Bug#752088: #752088 - pnp4nagios-web
kingdon at tuesdaystudios.com
Sun Jun 29 16:53:43 UTC 2014
It seems to be a warning message according to E_DEPRECATED or E_STRICT
The index.php in pnp4nagios/kohana sets error_reporting manually
(overriding the setting in /etc/php5/apache/php.ini?)
I was able to make the graphs show correctly by commenting out line 90 of
* Set the error reporting level. Unless you have a special need, E_ALL is a
* good level for error reporting.
//error_reporting(E_ALL & ~E_STRICT);
This is obviously no real kind of solution but it solved the issue for me.
Also worked to change error_reporting here to add ~E_DEPRECATED as in the
defaults in php.ini:
error_reporting(E_ALL & ~E_STRICT & ~E_DEPRECATED);
There must be some fix needed upstream in pnp4nagios for php 5.4 warnings
(we are on 5.6 now but this change seems to have been added to E_STRICT in
5.4... maybe it was moved to E_DEPRECATED in 5.6)
Hope this helps
On Sun, Jun 29, 2014 at 12:40 PM, Kingdon Barrett <
kingdon at tuesdaystudios.com> wrote:
> Your report shows two different versions, I don't see any 0.6.22 in
> Nonetheless I am able to reproduce your report with 0.6.16-2 on x86 /
> debian sid
> After installing check_mk, pnp4nagios, nagios3, etc... configuring to get
> past all the FAQ error messages and setting up npcdmod in nagios.cfg, I too
> Please check the documentation for information about the following error.
> Non-static method nagios_Core::SummaryLink() should not be called
> statically, assuming $this from incompatible context
> file [line]:
> application/views/graph_content.php *:*
> What previous version did it work for you on? 0.6.16-2 was released back
> in 2011 and is even present in stable, Wheezy.
> In this only related thread I could find:
> Wolfgang the maintainer seems to be suggesting there is something wrong
> with the apache config but not sure what. I am mystified and this 10-month
> old thread also didn't seem to have any resolution.
> Kingdon Barrett <kingdon at tuesdaystudios.com>
> Attention Lens: http://del.icio.us/yebyen
Kingdon Barrett <kingdon at tuesdaystudios.com>
Attention Lens: http://del.icio.us/yebyen
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pkg-nagios-devel