[MediaWiki-l] Error converting MediaWiki database from 1.4.5 to 1.5.8

Tim Starling tstarling at wikimedia.org
Sun Jul 2 04:37:23 UTC 2017

On 29/06/17 09:15, Geert Van Pamel wrote:
> Tim,
> Your proposal to use buffered query worked. Thanks for that.
> Now I am running into the following problem:
> 2017-06-28 22:49:58: Migrating image table to image_temp...
> PHP Fatal error:  Call to undefined function wfGetMimeMagic() in /var/www/html/mediawiki/mediawiki-1.5.8/maintenance/FiveUpgrade.inc on line 709

Make sure your source tree is clean and correct, and make sure the
current directory is not set to the base of some other MediaWiki
installation. That function should definitely exist in the
GlobalFunctions.php of MW 1.5.8, but GlobalFunctions.php is loaded via
include_path which could be wrong.

-- Tim Starling

More information about the MediaWiki-l mailing list