Thread:Project:Support desk/Does the command line installer work at all in MW 1.19.x?/reply (3)

I figured out exactly where it breaks, but my OO PHP skills are not strong enough to puzzle out exactly why.

In includes/installer/Installer.php (lines 649-561), disabling showStatusMessage as follows allows the installer to run successfully. Hopefully someone who knows the code better can figure out why.

foreach ( array_keys( $databases ) as $db ) { $installer = $this->getDBInstaller( $db ); $status = $installer->checkPrerequisites; var_dump($status); if ( !$status->isOK ) { unset( $databases[$db] ); }                }
 * 1)                       if ( !$status->isGood ) {
 * 2)                               $this->showStatusMessage( $status );
 * 3)                       }