Bug 28582

Summary: phppgadmin: user can't connect with login/password, error "Virtual Class -- cannot instantiate"
Product: Mageia Reporter: ylyco <regis.carles>
Component: RPM PackagesAssignee: QA Team <qa-bugs>
Status: UPSTREAM --- QA Contact:
Severity: major    
Priority: Normal CC: dieter, yvesbrungard
Version: 8   
Target Milestone: ---   
Hardware: All   
OS: Linux   
URL: https://github.com/phppgadmin/phppgadmin/issues/119
Whiteboard:
Source RPM: phppgadmin-7.13.0-1.mga8.noarch CVE:
Status comment:

Description ylyco 2021-03-11 08:06:05 CET
Description of problem:
we cannot connect with login/password to http://localhost/phppgadmin/

Version-Release number of selected component (if applicable):
1 package phppgadmin-7.13.0-1.mga8.noarch

How reproducible:
it's a bug with phppgadmin 7.13.0, and a workaround is available, but we have to wait for the next version I suppose, to be fixed.

see : https://github.com/phppgadmin/phppgadmin/issues/119

Steps to Reproduce:
1.launch Postgresql service
2. connect to http://localhost/phppgadmin/ with login/password for Posgresql
3. error "Virtual Class -- cannot instantiate"
Comment 1 papoteur 2021-03-11 08:37:48 CET
Hello,
Thanks for the report.
For information too, this is due to the use of PHP 8 for which phppgadmin is not yet completely ready.

CC: (none) => yves.brungard_mageia
Summary: user can't connect with login/password, error "Virtual Class -- cannot instantiate" => phppgadmin: user can't connect with login/password, error "Virtual Class -- cannot instantiate"

Comment 2 Lewis Smith 2021-03-11 16:35:54 CET
Thank you for the report + reference.
That was somewhat vague about PHP8. Nothing we can do before they move.

Assigning to Marc for the package.

Assignee: bugsquad => mageia
Status: NEW => UPSTREAM
Severity: normal => major

Comment 3 Marc Krämer 2021-03-11 16:38:57 CET
I think we can apply those changes - e.g. each was deprecated years ago.
Comment 4 Marc Krämer 2021-03-11 18:48:48 CET
Updated phppgadmin

Applied some upstream patches, to support latest installed php-version


Files located in core/updates_testing:
phppgadmin-7.13.0-1.1.mga8.rpm

SRPM:
phppgadmin-7.13.0-1.1.mga8.src.rpm

Assignee: mageia => qa-bugs

Comment 5 ylyco 2021-03-11 21:08:28 CET
I tried the new package, but the issue remains.

I had to fix it with the same workaround :
https://github.com/phppgadmin/phppgadmin/issues/119

I had to replace /var/www/phppgadmin/libraries/adodb directory with this one :
https://github.com/ADOdb/ADOdb/
Comment 6 Dieter Schütze 2021-04-17 11:16:23 CEST
(In reply to regis carles from comment #5)
> I tried the new package, but the issue remains.
> 
> I had to fix it with the same workaround :
> https://github.com/phppgadmin/phppgadmin/issues/119
> 
> I had to replace /var/www/phppgadmin/libraries/adodb directory with this one
> :
> https://github.com/ADOdb/ADOdb/

Thank you this is working for me.

CC: (none) => dieter