Page MenuHomePhabricator

PHP Fatal error: Cannot instantiate abstract class Installer in Installer.php on line 468
Closed, ResolvedPublic

Description

as per subject


Version: 1.21.x
Severity: normal

Details

Reference
bz47489

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 1:25 AM
bzimport set Reference to bz47489.
bzimport added a subscriber: Unknown Object (MLST).

PHP Fatal error: Cannot instantiate abstract class Installer in .../includes/installer/Installer.php on line 468, referer: http
://.../mw-config/index.php?page=DBConnect

I'm looking at this, and I believe I know what is causing this.

Steps to reproduce:

  1. Disable the PHP mysql extension (leaving PDO SQLite enabled).
  2. Restart Apache/PHP.
  3. Choose "Restart installation" in the MediaWiki installer (if necessary).
  4. Follow instructions until arriving at the "Connect to database" page.
  5. Click "Continue". Do not select SQLite or any other DB type.

Related URL: https://gerrit.wikimedia.org/r/60369 (Gerrit Change Ic456899028c054a761d172df8ec32f6a26dc5b97)

Patch in Gerrit awaiting review, might be nice to get this in for 1.21.0.

Definitely need this in 1.21 -- I found it when a client was working on their 1.21 upgrade. I would prefer that Chad reviews it, but since he seems to be busy, I will.

Tested and confirmed the fix works. Merging into 1.21

Related URL: https://gerrit.wikimedia.org/r/61189 (Gerrit Change Ic456899028c054a761d172df8ec32f6a26dc5b97)