Bug 268135 - net/phpldapadmin:Fatal error: Uncaught Error: Undefined constant "DEBUG_ENABLED"
Summary: net/phpldapadmin:Fatal error: Uncaught Error: Undefined constant "DEBUG_ENABLED"
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-03 13:09 UTC by Gerard Seibert
Modified: 2022-12-17 10:51 UTC (History)
2 users (show)

See Also:
ports: maintainer-feedback+


Attachments
Screen shot of error output (93.57 KB, image/png)
2022-12-03 13:09 UTC, Gerard Seibert
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gerard Seibert 2022-12-03 13:09:37 UTC
Created attachment 238500 [details]
Screen shot of error output

FreeBSD 13.1-RELEASE-p5 GENERIC amd64

I just updated to "net/phpldapadmin 1.2.6.3_2". It fails to start and outputs a long list of errors. See attached screenshot.
Comment 1 Krzysztof 2022-12-05 09:57:04 UTC
Yes it seems that I missed some fixes. Bug#266678 was updated. I hope it will be commited soon.
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-12-12 10:37:42 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=05adb0bbb787e824fd84aa7aed170182a55268e7

commit 05adb0bbb787e824fd84aa7aed170182a55268e7
Author:     Krzysztof <ports@bsdserwis.com>
AuthorDate: 2022-12-08 09:23:03 +0000
Commit:     Ronald Klop <ronald@FreeBSD.org>
CommitDate: 2022-12-12 10:36:10 +0000

    net/phpldapadmin: additional fix to support for php81+

    PR:     266678 268135 264672
    Approved by: rene (mentor)
    Differential Revision: https://reviews.freebsd.org/D37633

 net/phpldapadmin/Makefile                          |  2 +-
 .../files/patch-lib_AttributeFactory.php           |  7 ++++-
 net/phpldapadmin/files/patch-lib_PageRender.php    | 29 ++++++++++++++++++
 net/phpldapadmin/files/patch-lib_Tree.php          |  9 ++++++
 net/phpldapadmin/files/patch-lib_common.php        | 11 +++++++
 net/phpldapadmin/files/patch-lib_ds__ldap.php      | 35 ++++++++++++++++++++--
 net/phpldapadmin/files/patch-lib_ds__ldap__pla.php | 27 +++++++++++++++++
 net/phpldapadmin/files/patch-lib_functions.php     | 29 ++++++++++++++++++
 net/phpldapadmin/files/patch-lib_xmlTemplates.php  |  9 ++++++
 9 files changed, 154 insertions(+), 4 deletions(-)
Comment 3 Ronald Klop freebsd_committer freebsd_triage 2022-12-12 15:15:28 UTC
Can you confirm that this is fixed by the latest commit to bug #266678?
Comment 4 Krzysztof 2022-12-13 21:15:35 UTC
I suggest to close this bug as bug#268349 will be committed.
Comment 5 Ronald Klop freebsd_committer freebsd_triage 2022-12-17 10:51:03 UTC
bug #268349 is committed