Author: mediazilla
Description:
To update a MediaWiki 1.4.0 to 1.5.0 (or 1.5.2, for that matter), I ran:
thodi@tnsw1234:~/src/mediawiki-1.5.2$ php maintenance/upgrade1_5.php
PHP Notice: Constant already defined in
/var/www/htdocs/wiki/languages/Language.php on line 100
2005-11-03 12:44:19: Checking cur table for unique title index and applying if
necessary
wikidb: cur table has the old non-unique index and may have duplicate entries.
Checking for duplicate cur table entries... (this may take a while on a large wiki)
Found 0 titles with duplicate entries.
Done.
2005-11-03 12:44:19: ...converting from cur/old to page/revision/text DB structure.
2005-11-03 12:44:19: Creating page and revision tables...
2005-11-03 12:44:20: Last old record is 1468
......Moving text from cur.
2005-11-03 12:44:20: Last cur entry is 1185
PHP Fatal error: Call to undefined function: getmaxlag() in
/home/thodi/src/mediawiki-1.5.2/maintenance/commandLine.inc on line 182
Removing the getmaxlag() lines and trying again gave me several more errors,
including undefined function calls to wfGetMimeMagic() and not beeing able to
free a result during $this->dbr->freeResult( $result ); (in FiveUpgrade.php).
Is there something fundamentally flawed with my setup? PHP 4.3.7, MySQL 4.0.20.
Version: 1.4.x
Severity: normal
OS: Linux
Platform: PC