On 03/11/2014 07:19 PM, Patrick Schleizer wrote:
On https://www.whonix.org/w/index.php?title=Special:RecentChanges&feed=atom I am getting:
XML Parsing Error: XML or text declaration not at start of entity Location: https://www.whonix.org/w/index.php?title=Special:RecentChanges&feed=atom 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 LocalSettings.php.
If that file is fine, and you have shell access to the server, you can try checking the others with the checkSyntax.php[1] maintenance script (which would give a "leading whitespace" or "trailing ?>" warning), though it will take a while.
[1]: https://www.mediawiki.org/wiki/Manual:CheckSyntax.php