[Mediawiki-l] Fata error upgrading 1.17.0 to 1.18.2

11 views
Skip to first unread message

Boyandin Konstantin

unread,
Mar 23, 2012, 9:41:22 PM3/23/12
to media...@lists.wikimedia.org
Hello,

Wgen trying to upgrade MediaWiki installation 1.17.0 to 1.18.2, the following happens when running ,aintenance/update.php:

Fatal error: Call to a member function getDbType() on a non-object in maintenance/doMaintenance.php on line 91

(all upgrade steps are made as recommended in the supplied document).

The DB is garbled after that, I had to reverse both files and reload DB dump to have site back in working state.

Is the above a known problem? PHP version is 5.2.17.

Thanks.
Sincerely,
Konstantin

_______________________________________________
MediaWiki-l mailing list
Media...@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Platonides

unread,
Mar 25, 2012, 11:30:19 AM3/25/12
to media...@lists.wikimedia.org
On 24/03/12 02:41, Boyandin Konstantin wrote:
> Hello,
>
> Wgen trying to upgrade MediaWiki installation 1.17.0 to 1.18.2, the following happens when running ,aintenance/update.php:
>
> Fatal error: Call to a member function getDbType() on a non-object in maintenance/doMaintenance.php on line 91
> (all upgrade steps are made as recommended in the supplied document).
>
> The DB is garbled after that, I had to reverse both files and reload DB dump to have site back in working state.
>
> Is the above a known problem? PHP version is 5.2.17.

No. It should have worked flawlessly.
Is any of your extensions changing $maintenance in their script? That
would explain what you're seeing.
What are your extensions? You could try disabling them and then run
update.php after enabling them again.

Reply all
Reply to author
Forward
0 new messages