Hello to All,
I have done some modification on the DefaultSettings.php and DefaultSettings.php.bak, and right now my wiki site can't work as usual and when I typed the link to my wiki, it displays some information as following:
*Warning*: Cannot modify header information - headers already sent by (output started at C:\UserData_uShare\wiki\includes\DefaultSettings.php:1) in *C:\UserData_uShare\wiki\includes\OutputPage.php* on line *508*
*Warning*: Cannot modify header information - headers already sent by (output started at C:\UserData_uShare\wiki\includes\DefaultSettings.php:1) in *C:\UserData_uShare\wiki\includes\OutputPage.php* on line *433*
*Warning*: Cannot modify header information - headers already sent by (output started at C:\UserData_uShare\wiki\includes\DefaultSettings.php:1) in *C:\UserData_uShare\wiki\includes\OutputPage.php* on line *461*
*Warning*: Cannot modify header information - headers already sent by (output started at C:\UserData_uShare\wiki\includes\DefaultSettings.php:1) in *C:\UserData_uShare\wiki\includes\OutputPage.php* on line *462*
*Warning*: Cannot modify header information - headers already sent by (output started at C:\UserData_uShare\wiki\includes\DefaultSettings.php:1) in *C:\UserData_uShare\wiki\includes\OutputPage.php* on line *464*
*Warning*: Cannot modify header information - headers already sent by (output started at C:\UserData_uShare\wiki\includes\DefaultSettings.php:1) in *C:\UserData_uShare\wiki\includes\OutputPage.php* on line *521*
Does some one know the reason and what modification should be made to make it run as normal?
Thank you.
Best Regards Diverson
大格 wrote:
Hello to All,
I have done some modification on the DefaultSettings.php and
Don't ever do that! Make your changes *ONLY* in LocalSettings.php
DefaultSettings.php.bak, and right now my wiki site can't work as usual and when I typed the link to my wiki, it displays some information as following:
*Warning*: Cannot modify header information - headers already sent by (output started at C:\UserData_uShare\wiki\includes\DefaultSettings.php:1) in *C:\UserData_uShare\wiki\includes\OutputPage.php* on line *508*
You have corrupted the file, most likely by editing it in a broken editor such as Windows Notepad which inserts a UTF-8 BOM marker. Remove this extra character.
-- brion vibber (brion @ pobox.com)
Brion Vibber wrote:
You have corrupted the file, most likely by editing it in a broken editor such as Windows Notepad which inserts a UTF-8 BOM marker. Remove this extra character.
For good simple Windows text editing, don't use the default notepad. Use Context, Notepad2, or whatever software in that line. They handle Mac and Unix type file (eol), and unicode (utf-8) pretty well.
Actually this just looks like you are trying to set the cookie after you have started sending some of the page, the cookie needs to be sent before any other part of the page is returned.
On 11/13/06, Jérémie Bouillon jeremie@shadowfrance.net wrote:
Brion Vibber wrote:
You have corrupted the file, most likely by editing it in a broken editor such as Windows Notepad which inserts a UTF-8 BOM marker. Remove this extra character.
For good simple Windows text editing, don't use the default notepad. Use Context, Notepad2, or whatever software in that line. They handle Mac and Unix type file (eol), and unicode (utf-8) pretty well.
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org