Last modified: 2010-05-15 15:59:52 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 13086 - trackback.php XML parse error?
trackback.php XML parse error?
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
unavailable (internal website)
Depends on:
  Show dependency treegraph
Reported: 2008-02-21 01:22 UTC by Daniel
Modified: 2010-05-15 15:59 UTC (History)
0 users

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


Description Daniel 2008-02-21 01:22:01 UTC
I've run the basic install on 1.11.1. The only trouble I've had so far is that after clicking on the trackback link, I get the following error

XML Parsing Error: xml declaration not at start of external entity
Location: http://url/trackback.php?article=Main_Page
Line Number 2, Column 1:<?xml version="1.0" encoding="utf-8"?>

Everything I've been able to gather about this error online states that this is the product of whitespace characters or blank lines before or after the xml declaration tags, however I've checked and confirmed that there aren't any. It's the stock trackback with the tarball. 

function XMLsuccess() {
header("Content-Type: application/xml; charset=utf-8");
echo "
<?xml version=\"1.0\" encoding=\"utf-8\"?>
function XMLerror($err = "Invalid request.") {
        header("HTTP/1.0 400 Bad Request");
        header("Content-Type: application/xml; charset=utf-8");
        echo "
<?xml version=\"1.0\" encoding=\"utf-8\"?>
<message>Invalid request: $err</message>
Comment 1 Brion Vibber 2008-02-26 22:50:26 UTC
Fixed on trunk in r31330

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