eightdays
Hi guys, I met with these warnings right after I installed the latest DokuWiki and have not made any changes to configurations yet:
Warning: Cannot modify header information - headers already sent by (output started at C:\DokuWiki\conf\local.php:1) in C:\DokuWiki\inc\auth.php on line 295
Warning: Cannot modify header information - headers already sent by (output started at C:\DokuWiki\conf\local.php:1) in C:\DokuWiki\inc\actions.php on line 154
They appeared on the top of the page, where the bottom seems to be a wiki page functioning properly. However, when I attempted to log in, I was brought to a blank page with the following warnings:
Warning: Cannot modify header information - headers already sent by (output started at C:\DokuWiki\conf\local.php:1) in C:\DokuWiki\inc\auth.php on line 997
Warning: Cannot modify header information - headers already sent by (output started at C:\DokuWiki\conf\local.php:1) in C:\DokuWiki\inc\common.php on line 1476
I saw the faq on session cookie and saved local.php using Notepad2 with UTF-8 encoding, there are no spaces or characters before the starting tag <? and there is no ending tag in my local.php file (same with my auth.php actions.php common.php files).
May I know where the problem lies and how do I correct them? Thanks alot. =)
eightdays
Hey guys,
I managed to resolved the problems, by saving and re-saving the above-mentioned files in UTF-8 encoding for multiple times. Very sorry for disturbing... =)