Created attachment 399574 [details] Fixed new and ereg* functions. Description of problem: My apache logs on nagios server are filling quicly. There are lots of PHP Deprecated warnings from pnp4nagios. I can't turn off PHP deprecation warnings in php configuration, because this setting is reset in pnp4nagios index.php. There was more than 1 GB used by these error messages. Version-Release number of selected component (if applicable): pnp4nagios-0.4.14-2.fc12.i686 How reproducible: always Steps to Reproduce: 1. open pnp4nagios pages 2. see logs (on my system /var/log/httpd/ssl_error_log Actual results: PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/nagios/html/pnp4nagios/include/function.inc.php on line 1032, referer: https://stats.bart.sk/summary.php PHP Deprecated: Function eregi() is deprecated in /usr/share/nagios/html/pnp4nagios/include/function.inc.php on line 1541, referer: https://stats.bart.sk/summary.php Expected results: no warnings Additional info: Attaching a patch, which should fix this problem. Please review it and apply.
pnp4nagios-0.4.14-4.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/pnp4nagios-0.4.14-4.fc13
pnp4nagios-0.4.14-4.fc12 has been submitted as an update for Fedora 12. https://admin.fedoraproject.org/updates/pnp4nagios-0.4.14-4.fc12
pnp4nagios-0.4.14-4.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/pnp4nagios-0.4.14-4.fc14
pnp4nagios-0.4.14-4.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update pnp4nagios'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/pnp4nagios-0.4.14-4.fc13
This message is a reminder that Fedora 12 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 12. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '12'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 12's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 12 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
I think this is already fixed, just not closed. Closing as currentrelease.
pnp4nagios-0.4.14-4.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.
pnp4nagios-0.4.14-4.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.
pnp4nagios-0.4.14-4.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.