https://bugzilla.wikimedia.org/show_bug.cgi?id=32876
Kelson [Emmanuel Engelhart] <kel...@kiwix.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kel...@kiwix.org --- Comment #3 from Kelson [Emmanuel Engelhart] <kel...@kiwix.org> --- I have had a similar experience with: php importDump.php ukwikimedia-20130608-pages-logging.xml.gz (...) 5397 (370.49 revs/sec) 5398 (370.50 revs/sec) 5399 (370.52 revs/sec) PHP Notice: Undefined index: params in /var/www/wiki/w/includes/Import.php on line 545 PHP Notice: Undefined index: logtitle in /var/www/wiki/w/includes/Import.php on line 546 WikiRevision given a null title in import. You may need to adjust $wgLegalTitleChars. Backtrace: #0 /var/www/wiki/w/includes/Import.php(546): WikiRevision->setTitle(NULL) #1 /var/www/wiki/w/includes/Import.php(528): WikiImporter->processLogItem(Array) #2 /var/www/wiki/w/includes/Import.php(466): WikiImporter->handleLogItem() #3 /var/www/wiki/w/maintenance/importDump.php(286): WikiImporter->doImport() #4 /var/www/wiki/w/maintenance/importDump.php(245): BackupReader->importFromHandle(Resource id #75) #5 /var/www/wiki/w/maintenance/importDump.php(95): BackupReader->importFromFile('/tmp/ukwikimedi...') #6 /var/www/wiki/w/maintenance/doMaintenance.php(110): BackupReader->execute() #7 /var/www/wiki/w/maintenance/importDump.php(291): require_once('/var/www/wiki/w...') #8 {main} In my case, it seems the XML file has an entry (corrupted?) with a NULL title. To workaround this, I just return if non title in ImportDump.php == private function processLogItem( $logInfo ) { if ( ! $logInfo['logtitle'] ) { return; } == -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l