phpPgAdmin - Login Fail - Virtual Class--cannot instantiate

Viewed 4991

So I followed every step of the YouTube video on getting phpPgAdmin setup with XAMPP.

After I access localhost/phppgadmin using the credentials..

  1. USERNAME: postgres
  2. password: the password I created during setup..

I click login and I get ..

Virtual Class -- cannot instantiate

Having a hard time figuring this out, can someone please help me. Thank you

1 Answers

I searched for the string "Virtual Class -- cannot instantiate" within all files in the folder and found it in the file "adodb.inc.php" (in my version it is on line 432):

  /**
   * Constructor
   */
  function __construct()            
  {
    die('Virtual Class -- cannot instantiate');
  }

So I commented the line and phpPgAdmin started working again.

PS: it doesn't seem like the most appropriate way to fix the problem, but I needed it working soon

Related