Page MenuHomePhabricator

RSS XML BUG
Closed, InvalidPublic

Description

Author: thdemon

Description:
If I click on "related changes -> RSS" the firefox browser (1.5) show me a
message like "XML-Deklaration does not starts with external Entity Line No. 2,
Col 1:
<?xml version="1.0" encoding="utf-8"?>
^"


Version: 1.5.x
Severity: normal
OS: Windows XP
Platform: PC

Details

Reference
bz4580

Event Timeline

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

avarab wrote:

Provide an example url that has the problem

I dont even have a RSS link on Special:Recentchangeslinked
Please give the full URL as requested in comment 1 and reopen the bug.

99% of the time this is caused by extra whitespace at the start or end of a PHP source file
you've edited (for instance LocalSettings.php). This whitespace gets output, resulting in
the error when the XML is misplaced.

onekopaka wrote:

I have this problem as well. Examples: http://onekopakaspace.strangled.net/wiki/index.php/Special:Recentchanges?feed=rss (Yes, it is the same as ?title=Special:Recentchanges&feed=rss)
http://onekopakaspace.strangled.net/wiki/opensearchdesc.php
Basically anything in XML has extra whitespace at the beginning.

See comment #3 -- you have to find the broken file in your installation and fix it.

onekopaka wrote:

Definitly in an extension or LocalSettings.php.

Whatever is causing whitespace to be repeated in XML needs to be fixed.

onekopaka wrote:

Fixed on my wiki. The problem was after the PHP closing tag in an extension.