group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #12568
[Bug 1662027] Re: cacti vs PHP 7 vs split
Once we are able to sync the package from Debian in AA, Ubuntu will have
the fix and we can SRU.
** Also affects: cacti (Ubuntu Aa-series)
Importance: Undecided
Status: New
** Changed in: cacti (Ubuntu Aa-series)
Status: New => In Progress
** Changed in: cacti (Ubuntu Aa-series)
Assignee: (unassigned) => Nish Aravamudan (nacc)
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1662027
Title:
cacti vs PHP 7 vs split
Status in cacti package in Ubuntu:
In Progress
Status in cacti source package in Xenial:
In Progress
Status in cacti source package in Yakkety:
In Progress
Status in cacti source package in Zesty:
In Progress
Status in cacti source package in aa-series:
In Progress
Status in cacti package in Debian:
Fix Released
Bug description:
poller.php calls split in two places, which fails with PHP 7. This
seems to only actually cause problems if poller.php is configured to
poll the snmp data sources more than once per time poller.php is
called by cron (which typically happens if 10 second or 30 second
polling intervals are requested), but it appears to me that these
error messages may appear in the logs even when cacti is configured to
only poll once per time it is called by cron.
It appears that using explode instead of split is the fix.
PHP Fatal error: Uncaught Error: Call to undefined function split() in /usr/share/cacti/site/poller.php:454
Stack trace:
#0 {main}
thrown in /usr/share/cacti/site/poller.php on line 454
PHP Fatal error: Uncaught Error: Call to undefined function split() in /usr/share/cacti/site/poller.php:454
Stack trace:
#0 {main}
thrown in /usr/share/cacti/site/poller.php on line 454
Description: Ubuntu 16.04.1 LTS
Release: 16.04
cacti:
Installed: 0.8.8f+ds1-4ubuntu4.16.04.1
Candidate: 0.8.8f+ds1-4ubuntu4.16.04.1
Version table:
*** 0.8.8f+ds1-4ubuntu4.16.04.1 500
500 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages
500 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages
100 /var/lib/dpkg/status
0.8.8f+ds1-4ubuntu4 500
500 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
500 http://us.archive.ubuntu.com/ubuntu xenial/universe i386 Packages
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cacti/+bug/1662027/+subscriptions