[wordpress error] Cannot modify header information – headers already sent by….


when I install wordpress I found this problem and I already find the solution, this work for me…you can try this if you have same problem with me.
Reason and Solution :
It is usually because there are spaces, new lines, or other garbage before an opening php tag or after a closing tag, typically in wp-config.php. This could be true about some other file too, so please check the error message, as it will list the specific file name where the error occurred (see “Interpreting the Error Message” below). Replacing the faulty file with one from your most recent backup or one from a fresh WordPress download is your best bet, but if neither of those are an option, please follow the steps below.
Just because you cannot see anything does not mean that PHP sees the same.
1. Download the file mentioned in the error message.
2. Open that file in a plain text editor (NOT MS Word or similar. Notepad or BBEdit are fine).
3. Check that the very first characters are ?php
4. Check that the very last characters are ?
To be sure about the end of the file, do this
1. Place the cursor between the ? and >
2. Now press the DELETE key on your computer
* Note to MAC users: The “DELETE” key on a PC deletes characters to the right of the cursor. That is the key noted here.
3. Keep that key pressed
4. For at least 15 seconds
5. Now type ?> and
6. save without pressing any other key at all.
7. If you press another key, you will bring the problem back.
Also check the encoding of the file. If the file is encoded as UTF-8 with BOM, the BOM is seen as a character which starts the output.
source : wordpress codex

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s

%d blogger menyukai ini: