From nobody Tue May 03 18:45:32 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 C240D1ABE3D3 for ; Tue, 3 May 2022 18:45:32 +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 4Kt86N2RgTz3p8M for ; Tue, 3 May 2022 18:45:32 +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 0C72223741 for ; Tue, 3 May 2022 18:45:32 +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 243IjV3u015330 for ; Tue, 3 May 2022 18:45:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 243IjV0g015329 for ports-bugs@FreeBSD.org; Tue, 3 May 2022 18:45:31 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 263759] databases/phppgadmin PHP 8.0 issues Date: Tue, 03 May 2022 18:45:32 +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 Some People X-Bugzilla-Who: gessel@blackrosetech.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: dinoex@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 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=1651603532; 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=XMYHHrG1876DC0N1euRR5hCzGglKG+dhjdcbVfYJs8g=; b=ZdOGt58Nyt7PeRxJ6fKL056cCF9uYifDxJ0ACTu5IZdqNxGXKfEUg46iRQwB5YNiBGwnRC co/oVCiJcpDSlyMGnqcpEJWayQVcTHqiIAcHTG6iNoPTF5BGil91l39yNLFes+xKqP49Uc /kK63WBhx7wP+BkTSLbrBXD/Jw/pjVkw1qxCsmg8CjMMc5Ei45MtvLp6ywiFdkBx3TV5qT byXnlSMNfb9hbWXhjBwxiL5K/y7tiTWRnUIlOPW62GWDeTOKOlCcs8UFg0/ik7SC7d2+AX RnotBlsydnjqENsRoyJW/uhMZbr52PiniC5HhBip8pMtknn5jb6EFli2eN+65g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651603532; a=rsa-sha256; cv=none; b=l1Rn6mImsR/H+RjGLWdlJjAW8jfV9dVSTgXDmhdgYwND4F9ash8h4qHlZvuTBkNwoceqE5 1lA3t/FpT8EdndQ0NkRF/Ls660FXdZ9DM9eY1/pHjcG4Ob+52o0FhYlT1JtVCEdlJQwSaa n5337UwdWDRy8/neO9W/gjHK5Wosf4RUt052PiNZ2soxxZp1fIpsi5rPblHj7VHIJPhoBA JnLOaXvYTQ+JJbZkXaE+n2aFKoGVRImzTVEZKvuiaJI/C3ojJxZOW7767ap9Z/eh3QLdYA QmcWNt+kLq9Gb8Glc+IGCkWKFvEyZKds1I2wngIBv57a5Oo/9E28M94sLk9oJA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263759 Bug ID: 263759 Summary: databases/phppgadmin PHP 8.0 issues 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: gessel@blackrosetech.com Flags: maintainer-feedback?(dinoex@FreeBSD.org) Assignee: dinoex@FreeBSD.org databases/phppgadmin has issues with PHP 8.0 even though there's a 8.0 flav= or.=20 Login fails with "Virtual Class -- cannot instantiate"=20 This has been reported - it doesn't seem FreeBSD specific: https://stackoverflow.com/questions/65299248/phppgadmin-login-fail-virtual-= class-cannot-instantiate.=20 (@hericklr's isn't optimal) @ormorph proposed a patch, it seems to work: https://github.com/phppgadmin/phppgadmin/issues/119#issuecomment-801712145 --- adodb-postgres64.inc.php.bak 2022-05-03 10:42:54.773501000 -0700 +++ adodb-postgres64.inc.php 2022-05-03 10:47:32.151320000 -0700 @@ -122,7 +122,12 @@ // changes the metaColumnsSQL, adds columns: attnum[6] } - function ServerInfo() + function __construct() + { + // changes the metaColumnsSQL, adds columns: attnum[6] + } +=20=20=20=20=20=20=20 + function ServerInfo() { if (isset($this->version)) return $this->version; --- all_db.php.bak 2022-05-03 10:37:26.866823000 -0700 +++ all_db.php 2022-05-03 10:42:04.130932000 -0700 @@ -199,7 +199,7 @@ echo "\t\t\n"; echo "\t\t\t