Description of problem: Version-Release number of selected component (if applicable): cacti-1.2.20-1.el7.noarch php-5.4.16-48.el7.x86_64 How reproducible: Always Steps to Reproduce: 1. Upgrade to cacti-1.2.20-1.el7 2. Access /cacti/ with browser and redirected to /cacti/install/install.php Actual results: Nothing appears. The following error log is recorded to httpd's ssl_error_log PHP Parse error: syntax error, unexpected '[' in /usr/share/cacti/lib/api_device.p hp on line 1214 Expected results: Update wizard screen appears, without PHP error Additional info:
I was about to log this, it appears to be a typo, not that it doesn't work with PHP. The line on 1214 was originally something like this: } elseif (!$isset(raised[$poller_id])) { When it should be more like this: } elseif (!isset($raised[$poller_id])) { I am not sure, I quickly edited it so I could get Cacti going after the upgrade yesterday.
Thanks for that info. Adding "$" before "raised" also worked for me.
Cacti is aware of the issue and are presumably fixing it, but it does appear to be an issue in their current master and their 1.2.20 tarballs.
FEDORA-EPEL-2022-5c0acbff03 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-5c0acbff03
FEDORA-EPEL-2022-5c0acbff03 has been pushed to the Fedora EPEL 7 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-5c0acbff03 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-2022-5c0acbff03 has been pushed to the Fedora EPEL 7 stable repository. If problem still persists, please make note of it in this bug report.