[Mediawiki-l] Mediawiki 1.7.1. and rss

Gregory Szorc gregory.szorc at gmail.com
Tue Jul 11 15:07:25 UTC 2006


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 at 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 at Wikimedia.org
> [mailto:mediawiki-l-bounces at Wikimedia.org] On Behalf Of N Jansen
> Sent: dinsdag 11 juli 2006 14:36
> To: mediawiki-l at 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 at Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
>
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
>



More information about the MediaWiki-l mailing list