On 03/11/2014 07:19 PM, Patrick Schleizer wrote:
I am getting:
XML Parsing Error: XML or text declaration not at start of entity
Line Number 3, Column 1:
Do you know how to fix this?
There is whitespace at the beginning of the output (one space then two
linefeeds) that shouldn't be there.
Check any PHP files you have modified for whitespace before the opening
<?php or after the (unnecessary) closing ?>, if any. Start with
If that file is fine, and you have shell access to the server, you can
try checking the others with the checkSyntax.php maintenance script
(which would give a "leading whitespace" or "trailing ?>"
though it will take a while.
Kevin Israel - MediaWiki developer, Wikipedia editor