[Bug 233025] net-mgmt/cacti : poller_maintenance.php triggering errors.

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Nov 6 13:50:56 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233025

            Bug ID: 233025
           Summary: net-mgmt/cacti : poller_maintenance.php triggering
                    errors.
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: arnaud at pnzone.net
                CC: freebsd-ports at dan.me.uk
                CC: freebsd-ports at dan.me.uk
             Flags: maintainer-feedback?(freebsd-ports at dan.me.uk)

PHP Parse error:  syntax error, unexpected '/' in
/usr/local/share/cacti/poller_maintenance.php on line 226

PHP version: 7.2.11

In order to fix :

--- poller_maintenance.php      2018-11-06 14:37:37.354095000 +0100
+++ poller_maintenance.php-patch        2018-11-06 14:37:52.950246000 +0100
@@ -223,7 +223,7 @@

        $log = read_config_option('path_cactilog');
        if ($log == '') {
-               $log = /var/log/cacti/log';
+               $log = '/var/log/cacti/log';
        }

        $run_time = time();

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list