Thread:Project:Support desk/Importing XML dump with importDump.php: Call to undefined method WikiImporter::uploadCallback() in Import.php on line 622

I have a XML dump generated on 1.13.3.

I'm trying to import it on 1.17.0 PHP 5.3.4 (cli) (built: Dec 15 2010 12:15:07) Using sqlite3 The local machine environment is MacOS 10.6.8.

I've installed mw1.17.0 on my local machine just fine.

The problem: when importing the XML dump, after several pages are imported, this error occurs:

$ php maintenance/importDump.php SGLabs-wiki-backup.xml 1 (53.67 pages/sec 53.67 revs/sec) 1 (20.87 pages/sec 41.73 revs/sec) 1 (20.62 pages/sec 61.85 revs/sec) ..... 46 (74.60 pages/sec 700.63 revs/sec) 46 (74.45 pages/sec 700.81 revs/sec) 47 (75.90 pages/sec 700.88 revs/sec) Fatal error: Call to undefined method WikiImporter::uploadCallback in /Users/...path.../includes/Import.php on line 622

(Obviously, the result above was obtained with the debug flag turned on.)

I can't find where uploadCallback is defined, but I see this in comments elesewhere, so I suppose this piece of code was left from older version without proper updating. When I comment out the line 622, the importer goes on, to the end of the XML file without causing any error, but I am probably missing something without noticing.

The content was taken from my website but the published site is currently running without mediawiki component. I'm trying to upgrade the engine, convert from mysql to sqlite and do some cleaning on local machine first.