WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Cannot save posts in 3.0 - get error - Warning: Cannot modify header information (37 posts)

  1. titoburritotaco
    Member
    Posted 4 years ago #

    Hey guys...i need help big time..

    In WordPress 3.0 when i save a post i get this Error:

    Warning: Cannot modify header information - headers already sent by (output started at /home/gototenn/public_html/wp-config.php:83) in /home/gototenn/public_html/wp-includes/pluggable.php on line 890

    I looked in the pluggable.php file and look @ line 890:
    header("Location: $location", true, $status);

    There is a commented line in there that says: // This causes problems on IIS and some FastCGI setups

    Should i set this to false?

  2. titoburritotaco
    Member
    Posted 4 years ago #

    *Follow up...i looked in my wp-config.php file, and there is nothing on line 83...so im not sure how WordPress thinks the output started on the wp-config.php file already.

  3. The problem is unexpected whitespace (either a space or an entire line) on line 83 of the wp-config.php file. See this for more info:

    http://codex.wordpress.org/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3F

  4. titoburritotaco
    Member
    Posted 4 years ago #

    *PHEWW.... that was it... thank you Macmanx for the quick response!

    I was playing with the MU feature and must have left extra white space when i removed the "MU enable" option.

  5. You're welcome!

  6. Isaak Wells
    Member
    Posted 4 years ago #

    I got a closely resembled message

    Warning: Cannot modify header information - headers already sent by (output started at /nfs/c03/h04/mnt/49675/domains/consolealliance.com/html/wp-login.php:60) in /nfs/c03/h04/mnt/49675/domains/consolealliance.com/html/wp-includes/pluggable.php on line 890

    I check for whitespace and I can't seem to find any. When you load the page which is the registration page at the bottom it loads this error but if you refresh it fixed it and if you refresh again it shows the error in that pattern
    Can anyone help me?

  7. hdhenry
    Member
    Posted 3 years ago #

    I have the same white screen problem when updating from the dashboard:

    Warning: Cannot modify header information - headers already sent by (output started at /home/hdhenryc/public_html/wp-content/themes/GamesHit/functions.php:314) in /home/hdhenryc/public_html/wp-includes/pluggable.php on line 890

    no spaces between ?>, just downloaded wordpress3 and wp3 compatable theme >:?

  8. dashaluna
    Member
    Posted 3 years ago #

    I just had the same error. @titoburritotaco Thanks for asking and @James (MacManX) for the link.
    In my case I had an empty line before my <?php opening tag in the functions.php

  9. lizpike
    Member
    Posted 3 years ago #

    I got the same msg on a client site. Discovered 3 missing php closing tags in the functions.php, wp-config.php, and pluggable.php files.

  10. MrEMan
    Member
    Posted 3 years ago #

    May not be related but I have been unable to post since updating from 2.x.x to 3.0.1.

    There was an extra field in the wp_post table called post_expire, once I deleted that field it worked again.

    I also have the missing closing tags but that isn't the problem.

    Regards

  11. kieshute
    Member
    Posted 3 years ago #

    I had error:
    Warning: Cannot modify header information - headers already sent by...
    .../public_html/wp-includes/pluggable.php on line 890

    I edited pluggable.php file
    in 890 line: header("Location: $location", true, $status);
    deleted spaces like this: header("Location: $location",true,$status);

    And no more errors.
    P.S.: Sorry for my bad english

  12. chechogr
    Member
    Posted 3 years ago #

    I opened the file pluggable.php and edited with note pad. I did all what you state on post http://codex.wordpress.org/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3F but the error remmains.
    Can someone send me the file corrected?
    Can someone suggest how to fix this issue

  13. chechogr
    Member
    Posted 3 years ago #

    btw, the error I get when I go to http://www.mydomain.com/wp-admin is Warning: Cannot modify header information - headers already sent by (output started at /home1/ventalot/public_html/wp-config.php:1) in /home1/ventalot/public_html/wp-includes/pluggable.php on line 890

  14. You have unexpected whitespace (either a space or an entire line) on line 1 of the wp-config.php file. See this guide for more info.

    Alternatively, replacing the file with one from a fresh download may resolve the issue.

  15. rhowardgriffin
    Member
    Posted 3 years ago #

    I have the same issue:

    Warning: Cannot modify header information - headers already sent by (output started at /home/thelang2/public_html/streetartlondon.co.uk/wp-content/themes/autofocuspro/thematic-functions.php:1) in /home/thelang2/public_html/streetartlondon.co.uk/wp-includes/pluggable.php on line 890

    and

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/thelang2/public_html/streetartlondon.co.uk/wp-content/themes/autofocuspro/thematic-functions.php:1) in /home/thelang2/public_html/streetartlondon.co.uk/wp-content/plugins/simple-twitter-connect/stc.php on line 33

    Tried the above fix to no avail. Any ideas?

  16. rhowardgriffin
    Member
    Posted 3 years ago #

    Now sorted!

    Just dropped in a fresh download.

  17. drmostarda
    Member
    Posted 3 years ago #

    i'm with the same problem.
    I made what kieshute sad, put a ?> in the end of wp-config.php because dont have in the file that i've downloaded of wp.org and dont find any whitespaces in wp-config.php :(

    but does not work.
    I cant install!! please help, thankyou all for the help.

    (sorry for bad english)

  18. eleram
    Member
    Posted 3 years ago #

    i'm with the same problem.

    me too... :(

  19. As mentioned above, follow this guide for instructions on identifying and correcting the error:

    http://codex.wordpress.org/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3F

    If you need further assistance, please start your own topic.

  20. redliststar
    Member
    Posted 3 years ago #

    I have the same problem,.,. i cann't enter my admin,
    and
    I still can repair my website,.,.,.,
    please help me,.,.,.

  21. Did you follow the guide that I linked to above?

  22. thebigsauce
    Member
    Posted 3 years ago #

    I had the same scenario as titoburritotaco regarding to the "Warning: Cannot modify header information - headers already sent by ..."

    Tried to correct the white spaces as James suggested. Works like a charm. Thanks for the help, James!!!

  23. You're welcome!

  24. verbwit
    Member
    Posted 3 years ago #

    I also had the same issues, and had to delete the white space in multiple files. This post saved me tons of headache time. Thanks so much!

  25. araz
    Member
    Posted 3 years ago #

    Problem after changing the host servers:

    Warning: Cannot modify header information - headers already sent by (output started at /home/sitename/public_html/sitename.com/blog/wp-content/themes/sitename/includes/widgets/widget-tabbed.php:1) in /home/sitename/public_html/sitename .com/blog/wp-includes/pluggable.php on line 890

    *******
    testing wp-config file , plugins folder and another.
    please help

  26. esmi
    Forum Moderator
    Posted 3 years ago #

  27. araz
    Member
    Posted 3 years ago #

    Could not get a response!

  28. esmi
    Forum Moderator
    Posted 3 years ago #

    Pardon?

  29. araz
    Member
    Posted 3 years ago #

    My friend
    I mean was that the changes mentioned above on the page again, I could not solve the problem.

    Thanks

  30. esmi
    Forum Moderator
    Posted 3 years ago #

    Try switching to the Twenty Ten theme.

Topic Closed

This topic has been closed to new replies.

About this Topic