Hi, I've spent rather too much time looking at this and need to ask for assistance.
When I look at the source of my wiki pages, I can see that it includes an empty line before the DOCTYPE comment - it is the same for several (probably all) skins in the wiki, so it's unlikely to be due to my customised skin.
As a PHP (and OO) novice, I'd be grateful if someone could tell me the route from MonoTGST.php (my skin) and suggest where I can trap the output before it's sent to the browser, so I can work my way back to whatever's causing the problem. The start of the page in that file is just like all the other skin files.
This is in 1.13.0.
Thanks in advance,
/Sam
Sam Sexton Provisioning Team Leader
Thomson Reuters
Phone: 53372 or +44 24 7625 6562 Mobile: +44 7990 563739
sam.sexton@thomsonreuters.com thomsonreuters.com
This email was sent to you by Thomson Reuters, the global news and information company. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Thomson Reuters.
On Mon, Jun 8, 2009 at 11:09 AM, Sam.Sexton@thomsonreuters.com wrote:
Hi, I've spent rather too much time looking at this and need to ask for assistance.
When I look at the source of my wiki pages, I can see that it includes an empty line before the DOCTYPE comment - it is the same for several (probably all) skins in the wiki, so it's unlikely to be due to my customised skin.
Check for an extra line of whitespace (outside the <?php ... ?> ) in one of your included PHP files, possibly added inadvertently to the top of the PHP file.
Joshua
Check your LocalSettings.php You probably have an empty line at the end after your "?>". You can delete the final "?>" in that file anyway.
Best, Matthias
Am Mon, 8 Jun 2009 16:09:19 +0100 schrieb Sam.Sexton@thomsonreuters.com:
Hi, I've spent rather too much time looking at this and need to ask for assistance.
When I look at the source of my wiki pages, I can see that it includes an empty line before the DOCTYPE comment - it is the same for several (probably all) skins in the wiki, so it's unlikely to be due to my customised skin.
As a PHP (and OO) novice, I'd be grateful if someone could tell me the route from MonoTGST.php (my skin) and suggest where I can trap the output before it's sent to the browser, so I can work my way back to whatever's causing the problem. The start of the page in that file is just like all the other skin files.
This is in 1.13.0.
Thanks in advance,
/Sam
Sam Sexton Provisioning Team Leader
Thomson Reuters
Phone: 53372 or +44 24 7625 6562 Mobile: +44 7990 563739
sam.sexton@thomsonreuters.com thomsonreuters.com
This email was sent to you by Thomson Reuters, the global news and information company. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Thomson Reuters.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Thanks, Mathias and Joshua - it wasn't LocalSettings.php, but I found the file eventually - gflash.php was the culprit. I can safely say I doubt I'd ever have sorted the problem without your advice!
Cheers,
/Sam
Sam Sexton Provisioning Team Leader
Thomson Reuters
Phone: 53372 or +44 24 7625 6562 Mobile: +44 7990 563739
sam.sexton@thomsonreuters.com thomsonreuters.com
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Matthias Korn Sent: 08 June 2009 16:53 To: mediawiki-l@lists.wikimedia.org Subject: Re: [Mediawiki-l] empty line before <!DOCTYPE causes RSS to fail.
Check your LocalSettings.php You probably have an empty line at the end after your "?>". You can delete the final "?>" in that file anyway.
Best, Matthias
Am Mon, 8 Jun 2009 16:09:19 +0100 schrieb Sam.Sexton@thomsonreuters.com:
Hi, I've spent rather too much time looking at this and need to ask for assistance.
When I look at the source of my wiki pages, I can see that it includes
an empty line before the DOCTYPE comment - it is the same for several (probably all) skins in the wiki, so it's unlikely to be due to my customised skin.
As a PHP (and OO) novice, I'd be grateful if someone could tell me the
route from MonoTGST.php (my skin) and suggest where I can trap the output before it's sent to the browser, so I can work my way back to whatever's causing the problem. The start of the page in that file is just like all the other skin files.
This is in 1.13.0.
Thanks in advance,
/Sam
Sam Sexton Provisioning Team Leader
Thomson Reuters
Phone: 53372 or +44 24 7625 6562 Mobile: +44 7990 563739
sam.sexton@thomsonreuters.com thomsonreuters.com
This email was sent to you by Thomson Reuters, the global news and information company. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Thomson Reuters.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
-- Rock in China http://wiki.rockinchina.com/ http://www.rockinchina.com/
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
This email was sent to you by Thomson Reuters, the global news and information company. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Thomson Reuters.
mediawiki-l@lists.wikimedia.org