For example:
PHP Notice: Undefined variable: class in /usr/local/nagiosxi/html/includes/components/nocscreen/nocscreenapi.php on line 425
I confirmed that "display_errors = Off" is in /etc/php.ini.
Is there any other way to stop these messages?
I also have the spinning "Update in progress".
Nagios XI version: 5.6.1
CentOS release 6.10 (Final)
PHP Version: 5.3.3
Operations Center spamming logs with PHP Undefined variable
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Operations Center spamming logs with PHP Undefined varia
Hello @rpike,
This is a known issue with upgrades that should be resolved in a later release. However, if you can stop the page, then run the upgrade from the command line instead:
and let me know if you able to successfully upgrade. As far as the notices, try to set display_errors = 0 and then re-start Apache.
This is a known issue with upgrades that should be resolved in a later release. However, if you can stop the page, then run the upgrade from the command line instead:
Code: Select all
wget -O upgrade.sh https://assets.nagios.com/downloads/nagiosxi/upgrade.sh
sh ./upgrade.sh
Code: Select all
service httpd restartAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!