Last modified: 2010-05-15 15:37:53 UTC
I tried to import the dump of the Dutch Wikipedia (with complete page histories) and got this error after some time: [...] 4600 (1.6539432896511 pages/sec 74.894507237181 revs/sec) Content-type: text/html X-Powered-By: PHP/4.3.11 <br /> <b>Fatal error</b>: Call to a member function on a non-object in <b>/wiki/software/mediawiki/phase3-cvs260705/maintenance/importDump.php</b> on line <b>47</b><br />
please try this version of importDump: http://www.knams.wikimedia.org/~kate/importDump.phps
This will most likely prevent the script from crashing, but are you sure no revisions or entire pages will be lost then? When handleRevision() is called, this indicates IMO that the script has found a revision, and that it hasn't been parsed correctly if getTitle() doesn't return a valid title object.
Possibly due to invalid title, long title, or funny configuration. As of r20828, invalid titles should be gracefully skipped over in an import; a warning will be printed to stdout (w/ importDump.php) or web output (Special:Import)