-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Rob Church wrote:
On 15/01/07, Ken Avonts ken.avonts@telenet.be wrote:
Warning: Cannot modify header information - headers already sent by (output started at /opt/www/avontsk/web/www.derepubliek.eu/vvp/wiki/LocalSettings.php:1) in /opt/www/avontsk/web/www.derepubliek.eu/vvp/wiki/includes/WebResponse.php on line 9
Check the top of the file for accidentally-inserted whitespace or garbage characters.
Note that some text editors like to insert an invisible character at the beginning of UTF-8 files (the "byte order mark" or BOM).
The BOM character, unfortunately, breaks PHP files because it gets sent to output before any of the code is run. If this happens before HTTP headers are sent, it can cause the above error message and makes the headers fail; if XML is output (such as RSS feeds), it causes the output to be invalid XML, producing errors when the feed is loaded.
So it's necessary to save the file as UTF-8 _without_ BOM, if you have the option available.
- -- brion vibber (brion @ pobox.com / brion @ wikimedia.org)