Last modified: 2014-02-12 23:35:35 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T45868, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 43868 - Special:Import doesn't warn if XMLReader isn't available
Special:Import doesn't warn if XMLReader isn't available
Status: NEW
Product: MediaWiki
Classification: Unclassified
Export/Import (Other open bugs)
1.21.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: easy
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-11 17:04 UTC by Mark A. Hershberger
Modified: 2014-02-12 23:35 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Mark A. Hershberger 2013-01-11 17:04:14 UTC
I was able to set up a wiki successfully, but when I tried to import a dump file, I got a white screen.  Error log showed:

  PHP Fatal error:  Class 'XMLReader' not found in ../includes/Import.php
  on line 931, referer: http://.../Special:Import
Comment 1 Mark A. Hershberger 2013-01-11 17:04:51 UTC
Installing php-xml (this is a Fedora box) solved the problem.
Comment 2 kunalgrover05 2014-01-06 06:18:17 UTC
Hi I am new here and would like to work on this bug.
If I am correct, it depends on the /includes/Import.php file and the error occurs because of no error handling in the WikiImporter class constructor. Please correct me if I am wrong.
Comment 3 Andre Klapper 2014-01-06 12:38:03 UTC
(In reply to comment #1)
> Installing php-xml (this is a Fedora box) solved the problem.

I wonder if the patch for bug 42205 would also influence / fix this ticket.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links