Date: Wed, 16 Feb 2022 15:40:40 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 261990] net/phpldapadmin: PHP80: Fatal error: Uncaught Error: Undefined constant Message-ID: <bug-261990-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261990 Bug ID: 261990 Summary: net/phpldapadmin: PHP80: Fatal error: Uncaught Error: Undefined constant Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: ohartmann@walstatt.org CC: ports@bsdserwis.com CC: ports@bsdserwis.com Flags: maintainer-feedback?(ports@bsdserwis.com) net/phpldapadmin works so far without problems with lang/php74 on FreeBSD 13-STABLE, 13.0-RELENG and 14-CURRENT without problems. Updating to lang/ph= p80 renders several php based ports buggy or unusable, including www/nextcloud = and especially net/phpldapadmin, which is reported here. The backend is OpenLDAP 2.4 from the latest port's tree sources, working without errors so far. On recent CURRENT (for instance, 14.0-CURRENT FreeBSD 14.0-CURRENT #61 main-n253116-39a36707bd3: Sat Feb 12 12:09:15 CET 2022 amd64), running a www/apache24 web server, lang/php80 (all php ports or related ports rebuilt= via portmaster -dfR), net/openldap24-server (also recompiled recently), the phpldapadmin webinterface now provides me with an error: [...] Deprecated: Required parameter $data follows optional parameter $subitem in /usr/local/www/phpldapadmin/lib/functions.php on line 931 Deprecated: Required parameter $index follows optional parameter $attr_name= in /usr/local/www/phpldapadmin/lib/functions.php on line 2049 Warning: Undefined variable $_SESSION in /usr/local/www/phpldapadmin/lib/session_functions.php on line 100 Logo=20=20=20=20 Fatal error: Uncaught Error: Undefined constant "DEBUG_ENABLED" in /usr/local/www/phpldapadmin/lib/config_default.php:732 Stack trace: #0 /usr/local/www/phpldapadmin/lib/functions.php(383): Config->isCommandAvailable() #1 /usr/local/www/phpldapadmin/lib/page.php(15= 8): cmd_control_pane() #2 /usr/local/www/phpldapadmin/lib/page.php(400): page->head_print() #3 /usr/local/www/phpldapadmin/lib/functions.php(644): page->display() #4 /usr/local/www/phpldapadmin/lib/functions.php(190): erro= r() #5 [internal function]: app_error_handler() #6 /usr/local/www/phpldapadmin/lib/session_functions.php(96): session_name() #7 /usr/local/www/phpldapadmin/lib/common.php(159): app_session_start() #8 /usr/local/www/phpldapadmin/htdocs/common.php(13): require_once('...') #9 /usr/local/www/phpldapadmin/htdocs/cmd.php(13): require_once('...') #10 /usr/local/www/phpldapadmin/htdocs/index.php(153): include('...') #11 {main} thrown in /usr/local/www/phpldapadmin/lib/config_default.php on line 732 --=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-261990-7788>