Page MenuHomePhabricator

Transwiki Import stopped working
Closed, InvalidPublic

Description

Author: dasch

Description:
Transwiki Import is not working anymore. I use the newest SVN Version and since two ore three day, Transwiki Import does not work anymore. I always get this error:

Import fehlgeschlagen: Fehler beim XML-Import: Zeile 1, Spalte 1, (Byte 0; ""): Invalid document end


Version: 1.16.x
Severity: normal

Details

Reference
bz22432

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:54 PM
bzimport set Reference to bz22432.
bzimport added a subscriber: Unknown Object (MLST).

Works for me using r62123, downgrading severity.

Which article were you trying to import? From which wiki?

Was able to set up interwikis for both of those wikis and import those two articles (with full history and templates). Still worksforme.

dasch wrote:

was anything changed with transwiki import in the last time? I tryed disabeling extensions, changing the allow interwikis for import, everything I thought that could effect the import, I checked directory permissions, but it still fails

dasch wrote:

disabeling Cache does not help
php maintainaince/update.php does not help
php maintenance/clear_interwiki_cache.php does not help

dasch wrote:

Updated to the newest SVN Version, now the error has changed to
Import fehlgeschlagen: Importdatei konnte nicht geöffnet werden

dasch wrote:

When having DebugMode on this are the last lines I get

  1. ImportStreamSource::newFromURL: opening http://de.wikipedia.org/wiki/Special:Export/Opat%C3%B3w?history=1
  2. HTTP: POST: http://de.wikipedia.org/wiki/Special:Export/Opat%C3%B3w?history=1Class SkinCavendish not found; skipped loading

dasch wrote:

well, I'm still testing.
upload_by_url works, so there should be no problem with getting content from external pages

I replaced
includes/Import.php
includes/specials/SpecialImport.php

with a clean version from SVN

the problem still remains, I've no idea what's the reason for this error. Please help, any ideas?

dasch wrote:

Okay, I got it, pelsk put me my open_basedir back in and with open_basedir restrictions Transwiki-Import does not work