Page MenuHomePhabricator

xml declaration not at start of external entity
Closed, InvalidPublic

Description

Author: eskindian

Description:
I have found a few threads on this error message with RSS/ATOM on Special pages
of MediaWiki. The fix seems to be generally removing newlines or whitespace in
any files you may have edited.

I have only made minor edits one file (LocalSettings.php) and I have removed any
'newlines' in those areas. However, the following error message still displays.
I need someone to tell me specifically which file to go and fix and the steps
needed to fix that file.

I thank you in advance.

"XML Parsing Error: xml declaration not at start of external entity
Location:
http://wiki.thepatternofeverything.org/index.php?title=Special:Recentchanges&feed=rss
Line Number 1, Column 5: <?xml version="1.0" encoding="utf-8"?>"


Version: unspecified
Severity: normal
OS: Windows XP
Platform: PC
URL: http://wiki.thepatternofeverything.org/index.php?title=Special:Recentchanges

Details

Reference
bz8729

Event Timeline

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

This indicates extra whitespace at the start or end of one of the .php files,
most likely:

  • LocalSettings.php
  • some extension
  • some other PHP file you have manually edited or customized

Remove the whitespace.