2012-02-06, 07:16 AM
hi all,
some times you see, header already sent error like this :
Warning [2] Cannot modify header information - headers already sent by (output started at /var/www/domain/data/www/dom.ext/inc/plugins/show_first_post.php:1) - Line: 3502 - File: inc/functions.php PHP 5.2.6-1+lenny9 (Linux)
it is showing file name too.
go to file, check and make sure two thins.
1. no space at the top and bottom before / after of <?php and ?>, means no extra space at the end of file and at the beginning.
2. Make sure you save it as UTF-8 without BOM in a text editor like Notepad++.
some times you see, header already sent error like this :
Warning [2] Cannot modify header information - headers already sent by (output started at /var/www/domain/data/www/dom.ext/inc/plugins/show_first_post.php:1) - Line: 3502 - File: inc/functions.php PHP 5.2.6-1+lenny9 (Linux)
it is showing file name too.
go to file, check and make sure two thins.
1. no space at the top and bottom before / after of <?php and ?>, means no extra space at the end of file and at the beginning.
2. Make sure you save it as UTF-8 without BOM in a text editor like Notepad++.