Well it appears that you have a valid solution. At least that seems to get rid of the error messges. I need to try some of the extensions since I edited them to remove the empty lines. BTW I most likely created them myself when I copied the source code from the web site to my system. I am also wondering about the large number of extensions that all just end } with no $> to close the script. I tried fixing several of them to the norm and they seem to work fine but a couple of them threw up another error indicating an unexpected $ character ..... any thoughts on that? I am not well versed in php but I am learning. BTW I am in Plano,Tx. and spent some time at A&M many years ago. Go Aggies!! frosty
On Wed, 2008-02-27 at 06:34 +0100, Dr JFBurté wrote:
Warning: Cannot modify header information - headers already sent by
Hi I also met this kind of error when some empty lines after the ending tag ?> (.. a new kind of "virtual kraken" in PHP ?? ;O) It's just an idea, no more @+
----- Original Message ----- From: "Jim Hu" jimhu@tamu.edu To: johnwfoster@verizon.net; "MediaWiki announcements and site admin list" mediawiki-l@lists.wikimedia.org Sent: Wednesday, February 27, 2008 6:07 AM Subject: Re: [Mediawiki-l] Header errors: I need help please.
Are you also getting other error messages sent to the browser? This happens when php reports errors to the browser before MW sets the document headers.
Jim
On Feb 26, 2008, at 5:55 PM, John W Foster wrote:
I installede Treeview4.php in the directory indicated and edited the LocalSetting.php to include the following:
############################################################### ##added by jwf 02/25/08 to install Treeiew4 include("$IP/extensions/Treeview4.php"); $wgTreeViewImages['plus'] = "Plus.gif"; $wgTreeViewImages['minus'] = "Minus.gif"; $wgTreeViewImages['opened'] = "Folder_opn_sml_yel.gif"; $wgTreeViewImages['closed'] = "Folder_sml_yel.gif"; $wgTreeViewImages['doc'] = "Doc-icon.gif"; $wgTreeViewImages['spacer'] = "Blank.gif";
Now I get this message:
Warning: Cannot modify header information - headers already sent by (output started at /var/lib/mediawiki/extensions/Treeview4.php:246) in /usr/share/mediawiki/includes/WebResponse.php on line 10
This seems to happen with a lot of extensions and only goes away when I remove the extension. The install is to the letter what is supposed to be done per the author. Can anyone tell me what the problem is? Oh yeh: the extension does not work either. Thanks!!\ frosty
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
===================================== Jim Hu Associate Professor Dept. of Biochemistry and Biophysics 2128 TAMU Texas A&M Univ. College Station, TX 77843-2128 979-862-4054
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Orange vous informe que cet e-mail a ete controle par l'anti-virus mail. Aucun virus connu a ce jour par nos services n'a ete detecte.
-- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.21.1/1298 - Release Date: 25/02/2008 20:45
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l