← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1662027] Re: cacti vs PHP 7 vs split

 

Bug is now fixed in Debian and unblocked for the upcoming Stretch
release.

** Bug watch added: Debian Bug tracker #860271
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=860271

** Also affects: cacti (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=860271
   Importance: Unknown
       Status: Unknown

-- 
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:
  Confirmed
Status in cacti source package in Xenial:
  New
Status in cacti source package in Yakkety:
  New
Status in cacti source package in Zesty:
  Confirmed
Status in cacti package in Debian:
  Unknown

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