Bug 265135 - net/phpldapadmin: Fatal error: Uncaught Error: Undefined constant "LDAP_DEREF_NEVER"
Summary: net/phpldapadmin: Fatal error: Uncaught Error: Undefined constant "LDAP_DEREF...
Status: Closed DUPLICATE of bug 264672
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-10 15:29 UTC by Gerard Seibert
Modified: 2022-07-12 05:55 UTC (History)
3 users (show)

See Also:
ports: maintainer-feedback-


Attachments
Image of startup page (42.26 KB, image/png)
2022-07-10 15:29 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-07-10 15:29:58 UTC
Created attachment 235174 [details]
Image of startup page

FreeBSD 13.1-RELEASE

PHP 8.1.8 (cli) (built: Jul  9 2022 17:41:17) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.8, Copyright (c) Zend Technologies
    with Zend OPcache v8.1.8, Copyright (c), by Zend Technologies

"net/phpldapadmin" will not run correctly with any version of PHP => 8.0. It is not even possible to log into the application. It starts out by issuing the following error messages:

error	Error
Unrecognized error number: 8192: trim(): Passing null to parameter #1 ($string) of type string is deprecated

error	Memory Limit low.
Your php memory limit is low - currently 128M, you should increase it to atleast 24. This is normally controlled in /etc/php.ini.

I believe it should be marked as broken with anything newer than PHP 7.4 until it is fixed.
Comment 1 Krzysztof 2022-07-11 07:56:05 UTC
This is duplicated with bug#264672. So maybe it is good to close this bug and continue the previous one.

I'm not able now to make a patch (applied from upstream). I hope I will be able to update port at beggining of August.

Thanks a lot for your patience.
Comment 2 Fernando Apesteguía freebsd_committer freebsd_triage 2022-07-12 05:55:47 UTC
^Triage: Closing as duplicated.

*** This bug has been marked as a duplicate of bug 264672 ***