Community Packages

Please read this before reporting a bug:
http://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#48325 - [cacti] Php7 compatibility

Attached to Project: Community Packages
Opened by ... (spider007) - Wednesday, 24 February 2016, 21:34 GMT
Last edited by Sergej Pupykin (sergej) - Friday, 22 April 2016, 11:18 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Cacti is not compatible with the currently shipped version of PHP in the Arch repos. This is easily fixed. I've attached a patch that fixes all issues. It fixes three issues:

* php7 no longer supplies the mysql-extension. Remove check and fix PDO support, configurable by using $database_hostname = "mysql:host=localhost;dbname=cacti";
* fixes in adodb, using incorrect constant names
* minor fix in html_tree.php that otherwise results in a broken interface
This task depends upon

Closed by  Sergej Pupykin (sergej)
Friday, 22 April 2016, 11:18 GMT
Reason for closing:  Fixed
Additional comments about closing:  thank you
Comment by Alexander Kempen (chron) - Thursday, 21 April 2016, 14:52 GMT
  • Field changed: Percent Complete (100% → 0%)
The provided patch missed an occurence of "& new" on line 537 in adodb-lib.inc.php

PHP message: PHP Parse error: syntax error, unexpected 'new' (T_NEW) in /usr/share/webapps/cacti/lib/adodb/adodb-lib.inc.php on line 537

Result: You can't add new graphs, devices or data sources.

For a patch see: https://bugs.archlinux.org/task/49039
Comment by Alexander Kempen (chron) - Thursday, 21 April 2016, 15:13 GMT
Patch.
Updated PKGBUILD.

Loading...