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
Is there any simply way to e-mail all of a wiki's users? Or maybe a way to get a full list of the e-mail addresses they registered with, so that an e-mail could be sent from a different source?
Thanks in advance for your help.
Dave
On Tue, Feb 26, 2008 at 7:04 PM, David_S_Green@dell.com wrote:
Is there any simply way to e-mail all of a wiki's users? Or maybe a way to get a full list of the e-mail addresses they registered with, so that an e-mail could be sent from a different source? Thanks in advance for your help.
If you have mailman, you could do something like this:
#!/bin/sh echo "select user_email from PREFIX_user where user_email_authenticated is not null" | mysql -N WIKIDB >/PATH/FILE ~MAILMAN/bin/remove_members -a LISTNAME ~MAILMAN/bin/add_members -f /PATH/FILE -w n -a n LISTNAME
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
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
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
John W Foster wrote:
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?
Putting a ?> at the endo of the file is optional. If there's an error the extension was broken.
P> Putting a ?> at the endo of the file is optional. If there's an error P> the extension was broken.
Sorry to break in to the conversation without even having checked the parent articles for what computer language you are talking about, but I would just like to note that like with the HTML language, some closing items that were optional later became required, and for good reasons. So one can predict the future here too. Hmmm, /bin/sh's <<EOF optional closing EOF won't bite you until one day you concatenate or nest or past/append what you thought was a comment... and there it goes, executing this very message. OK, never mind.
Well I did at any rate (being somewhat anal) go into the extensions code and put the closing $> in place and eliminate any existing open lines after that closing.....end of header problems, for now. Thanks guys!! frosty
On Sun, 2008-03-02 at 04:54 +0800, jidanni@jidanni.org wrote:
P> Putting a ?> at the endo of the file is optional. If there's an error P> the extension was broken.
Sorry to break in to the conversation without even having checked the parent articles for what computer language you are talking about, but I would just like to note that like with the HTML language, some closing items that were optional later became required, and for good reasons. So one can predict the future here too. Hmmm, /bin/sh's <<EOF optional closing EOF won't bite you until one day you concatenate or nest or past/append what you thought was a comment... and there it goes, executing this very message. OK, never mind.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
jidanni wrote:
P> Putting a ?> at the endo of the file is optional. If there's an error P> the extension was broken.
Sorry to break in to the conversation without even having checked the parent articles for what computer language you are talking about, but I would just like to note that like with the HTML language, some closing items that were optional later became required, and for good reasons. So one can predict the future here too. Hmmm, /bin/sh's <<EOF optional closing EOF won't bite you until one day you concatenate or nest or past/append what you thought was a comment... and there it goes, executing this very message. OK, never mind.
Here there was the opposite problem. People were putting php code after the ?> (or at least you needed to explicit that on all explanations).
No, I actually only ever get this particular message. It appears in the top portion of the page above the article. Sometimes it ismore than 2 lines but mostly just 2. I figure I have something configured wrong, but don't know what. frosty On Tue, 2008-02-26 at 23:07 -0600, Jim Hu wrote:
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@lists.wikimedia.org