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