I removed the closing ?> and it starts to work.
Thank you! Thank you!
Sheau-Hwang
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Minute Electron Sent: Wednesday, August 01, 2007 2:44 PM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] swf questions
On 8/1/07, Chang, Sheau-Hwang schang@bridgew.edu wrote:
Hello,
I followed the instruction and installed the flash.php extension. I also added a line like this in my page: <swf width="400" height="90">http://testwww. . . /4wiki.swf</swf>, but I am getting
this
error:
Warning: Cannot modify header information - headers already sent by (output started at /var/www/apache2-default/wiki/extensions/flash.php:105) in /var/www/apache2-default/wiki/includes/WebResponse.php on line 10
I am using this extension available at http://www.mediawiki.org/wiki/Extension:Flash_Extension :
<?php // MediaWiki Swf Extension Ver 0.1 // Set up MediaWiki to react to the "<swf>" tag // Original file by Brigitte Jellinek
// Modified by Daniel Mustieles
Can this problem be fixed? If yes, how?
Thanks for your help in advance!
Sheau-Hwang Chang
Bridgewater State College
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Check for whitespace (spaces, tabs and new lines) at the end of the flash.php file and remove the closing ?>
MinuteElectron. _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l