From nobody Wed Feb 16 15:40:40 2022 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E5C6819CD1E7 for ; Wed, 16 Feb 2022 15:40:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JzMc85PhXz3sCQ for ; Wed, 16 Feb 2022 15:40:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9609D18AAA for ; Wed, 16 Feb 2022 15:40:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 21GFeeZV002210 for ; Wed, 16 Feb 2022 15:40:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 21GFeeD9002209 for ports-bugs@FreeBSD.org; Wed, 16 Feb 2022 15:40:40 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 261990] net/phpldapadmin: PHP80: Fatal error: Uncaught Error: Undefined constant Date: Wed, 16 Feb 2022 15:40:40 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: ohartmann@walstatt.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645026040; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=0FsYAXraeDIOozL/Isd4+VFl8JCCjgUjnDMVplogkTs=; b=A8IRJuqBkrBl0B93xcXGYBj2QnYtbPlAYIfYYrVOq4LsBSvAuvSvfe6pXPP1V8i8RSc1CA vYKZfOnFDyrOD6lSe85K7SULjnCNrF1VqJYSe7ai2SqxmviNZly/ap6wJVEOr4rmS2B55u ckT6VHYpBRosuo9+GlTIVRUGdrzeM/BR60HPXI2zRhr5yXbVqAFUr2L4jG5WZsSFmIRCsS cw/t2WenM+qNmDBQhoYWKAQHP7xHc2c8pywELumKTI8hUm26GaSxOq9GYDjfVNo8rY1Sab GMh56NwdiB3dT7Kc5YudFjJFLoXV1QCauKOOi+pmixAHE1LapQMK5uo1/oZPvA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645026040; a=rsa-sha256; cv=none; b=FNPCclE1smx704Jy6UrVDS8+BUzgCkkllVk8lt85WNlpwH/Jvsadgm/XiWY8tKqE480xFO voeIwUoLmgJXz6XtpHz1Hs2vX0ZUi++J+JrrODKoQ3uTi2R6/YjTH8oM8GN7nalBLvbrqa RG7tIyrJJWEXaXlnxKzqIZf63ZpyYJ65srkRnbmj9HOaogz6iFTFO5klV4mw1jCB/oO/zs flYZJBc4KbD4aS/imokyHo1IJr7B2V+hxdJoMssglba0AZVqTweuyDLBu23SiSyOw67QFu xvc4a62UzCKX4iITlR29FrMkBfJ2CShpMxSveS4QE3Z6tpe30pt87+ws04k1cQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N 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.=