Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Oct 2022 14:00:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 267227] sysutils/loganalyzer: upgrade to php8x breaks log display [PATCH]
Message-ID:  <bug-267227-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267227

            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=3D237483&action=
=3Dedit
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 t=
he
-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 upst=
ream
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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-267227-7788>