• 1for1

    (@1for1)


    my blog have error after:

    Warning: Cannot modify header information – headers already sent by (output started at /home/jenny82/public_html/wp-content/plugins/wp-postratings/wp-postratings.php:1) in /home/jenny82/public_html/wp-content/plugins/wp-postratings/wp-postratings.php on line 1316

    Warning: Cannot modify header information – headers already sent by (output started at /home/jenny82/public_html/wp-content/plugins/wp-postratings/wp-postratings.php:1) in /home/jenny82/public_html/wp-content/plugins/wassup/wassup.php on line 1434

    the problem is at line 1 file wp-postratings.php the excess whitespace,
    how delete whitespace at line 1?

Viewing 3 replies - 1 through 3 (of 3 total)
  • @mercime

    (@mercime)

    open up wo-postratings.php with notepad/bbedit, delete the white space, save file and FTP/upload.

    Thread Starter 1for1

    (@1for1)

    I deleted whitespace at the end of the file, but don’t known delete whitespace at line 1, I try use key “<-” deletes white spaces at line 2 to line 1, but it still error. how?

    Make sure that whatever application you are editing in isn’t save files as UTF-8. When files are encoded like this, they add 3 bytes at the top of the file which appear before the <?php open tag at the top of the file. You don’t normally “see” these characters because they are instructions to the editing program about the type of encoding that it needs to use when saving the file.

    If possible, change your editing tool to ANSI encoding before you save the file. Windows Notepad has this option on its Save As... screen – Look for Encoding at the bottom of the window.

    Hope this helps someone – it had me scratching my head for a while …

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘error Warning: Cannot modify header information’ is closed to new replies.