Latest version is 1.28.2
Sent from my iPhone
On Jun 25, 2017, at 11:54, Geert Van Pamel geertivp@gmail.com wrote:
I try to convert a MediaWiki database from 1.4.5 to 1.5.8 (yes I know I am a bit late. but up to now the database has perfectly served me ever since 2005). We now want to migrate to a new Linux server, so we want to upgrade to the latest available version.
I understood I should first migrate to 1.5 first.
So I downloaded https://releases.wikimedia.org/mediawiki/1.5/mediawiki-1.5.8.tar.gz https://releases.wikimedia.org/mediawiki/1.5/mediawiki-1.5.8.tar.gz
I follow the script on https://www.mediawiki.org/wiki/Manual:Upgrading
But I receive the following error message:
php maintenance/upgrade1_5.php
2017-06-25 15:09:10: Checking cur table for unique title index and applying if necessary
wiki: cur table has the current unique index; no duplicate entries.
2017-06-25 15:09:10: ...converting from cur/old to page/revision/text DB structure.
2017-06-25 15:09:10: Creating page and revision tables...
2017-06-25 15:09:10: Last old record is 31158
......Moving text from cur.
2017-06-25 15:09:10: Last cur entry is 31970
PHP Notice: mysql_query(): Function called without first fetching all rows from a previous unbuffered query in /var/www/html/bike/includes/Database.php on line 349
2017-06-25 15:09:11: 0.31% done on old; ETA 2017-06-25 15:12:48 [100/31970] 147.11/sec
2017-06-25 15:09:11: 100.00% done on old (last chunk 0 rows).
Unable to free MySQL result
Backtrace:
GlobalFunctions.php line 513 calls wfBacktrace()
Database.php line 495 calls wfDebugDieBacktrace()
FiveUpgrade.inc line 426 calls Database::freeResult()
FiveUpgrade.inc line 49 calls FiveUpgrade::upgradePage()
upgrade1_5.php line 22 calls FiveUpgrade::upgrade()
The following (empty) tables are created:
xxx_page;
xxx_revision;
All of the other V1.5 tables are still missing.
How could I avoid the above error?
What could I have done wrong/missing
vi /var/www/html/bike/includes/Database.php
:349
function doQuery( $sql ) { if( $this->bufferResults() ) { $ret = mysql_query( $sql, $this->mConn ); } else { $ret = mysql_unbuffered_query( $sql, $this->mConn ); } return $ret;
Geert Van Pamel
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l