Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
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
Opened by ... (spider007) - Wednesday, 24 February 2016, 21:34 GMT
Last edited by Sergej Pupykin (sergej) - Friday, 22 April 2016, 11:18 GMT
|
DetailsCacti 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
Friday, 22 April 2016, 11:18 GMT
Reason for closing: Fixed
Additional comments about closing: thank you
cacti-php7.patch
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
Updated PKGBUILD.