After upgrading to Mediawiki 1.7.1. I have a problem with the rss feed.
I get the following error:
XML-parse fault: XML-declaration not at the beginning of an external XML entitie.
Line 2, column 1:
Any idea?
N Jansen
The first line in the source of every page is blanc. I think that creates the problem with the rss-feed.
Any idea how to remove this blanc line?
N Jansen
-----Original Message----- From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of N Jansen Sent: dinsdag 11 juli 2006 14:36 To: mediawiki-l@Wikimedia.org Subject: [Mediawiki-l] Mediawiki 1.7.1. and rss
After upgrading to Mediawiki 1.7.1. I have a problem with the rss feed.
I get the following error:
XML-parse fault: XML-declaration not at the beginning of an external XML entitie.
Line 2, column 1:
Any idea?
N Jansen
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
There is probably an extra line after the ?> in a file you edited, most likely LocalSettings.php. I'll give you some advice that 95% of PHP don't know: the trailing ?> is optional. If PHP doesn't see it, it just interprets the whole document from the <?php. Omiting it is a best-practice for files that don't mix PHP and regular processing.
Greg
On 7/11/06, N Jansen njansen@natuurlijk.nl wrote:
The first line in the source of every page is blanc. I think that creates the problem with the rss-feed.
Any idea how to remove this blanc line?
N Jansen
-----Original Message----- From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of N Jansen Sent: dinsdag 11 juli 2006 14:36 To: mediawiki-l@Wikimedia.org Subject: [Mediawiki-l] Mediawiki 1.7.1. and rss
After upgrading to Mediawiki 1.7.1. I have a problem with the rss feed.
I get the following error:
XML-parse fault: XML-declaration not at the beginning of an external XML entitie.
Line 2, column 1:
Any idea?
N Jansen
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
On 11/07/06, N Jansen njansen@natuurlijk.nl wrote:
The first line in the source of every page is blanc. I think that creates the problem with the rss-feed.
Any idea how to remove this blanc line?
Check for blank lines outside the <?php ?> tags in LocalSettings.php. DefaultSettings.php is the second likeliest place for these to creep in, but of course, that means confessing to having committed a cardinal sin. ;)
Rob Church
Rob and Greg,
Finally I found it. There were blank lines after the ?> in the extension/geo.php .
Thanks again.
Nanda
Alright, a bit stupid, but not a sin.....
)-----Original Message----- From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Rob Church Sent: dinsdag 11 juli 2006 17:08 To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Mediawiki 1.7.1. and rss
On 11/07/06, N Jansen njansen@natuurlijk.nl wrote:
The first line in the source of every page is blanc. I think that creates the problem with the rss-feed.
Any idea how to remove this blanc line?
Check for blank lines outside the <?php ?> tags in LocalSettings.php. DefaultSettings.php is the second likeliest place for these to creep in, but of course, that means confessing to having committed a cardinal sin. ;)
Rob Church _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org