[Bug 267227] sysutils/loganalyzer: upgrade to php8x breaks log display [PATCH]
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 20 Oct 2022 14:00:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267227 Bug ID: 267227 Summary: sysutils/loganalyzer: upgrade to php8x breaks log display [PATCH] Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: dinoex@FreeBSD.org Reporter: simon.wright@gmx.net Flags: maintainer-feedback?(dinoex@FreeBSD.org) Assignee: dinoex@FreeBSD.org Created attachment 237483 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=237483&action=edit Patched functions_common.php to remove the call to magic quotes Issue: Upgrading from php74 to php8x and then changing from the -php74 flavor to the -php80 flavor breaks loganalyzer display of logs. Cause: Magic quotes were deprecated in php74 but still functioned. They have been removed completely in php8x however loganalyzer-php80 still calls them in include/functions_common.php. This should I guess be fixed upstream but I have had not response from upstream or from the maintainer. So . . . attached is a bodge to remove the offending call from functions_common.php. It works for me with php80. I am sure that there is a better way of dealing with this but lack experience or time to work further. I hope someone can code patch this correctly or get it fixed upstream. -- You are receiving this mail because: You are the assignee for the bug.