Support » Fixing WordPress » Cannot modify header information ?

  • When I try to go to my homepage ( ), all I get is following message:

    Warning: Cannot modify header information – headers already sent by (output started at /var/www/vhosts/ in /var/www/vhosts/ on line 890

    It would be essential for me to get rid of this problem as fast as possible, since following two weeks it’s somewhat crucial time for me and the website is my number one tool right now. This is causing me some panic now. The page is running on graphpaperpress theme.

    Thanks for the help already!

Viewing 11 replies - 1 through 11 (of 11 total)
  • Also: I haven’t done much anything to the page in like a week or so, haven’t even logged in. the problem occured yesterday.

    I’m not seeing any problems with the site that you linked. The particular error you’re getting usually occurs when one of the PHP files starts sending information about the page’s content before another PHP file can send the headers which describe the type of information that the server will be sending. Usually this occurs because HTML or other debugging output has been inserted into a place it shouldn’t be (something that is processed before the information can be sent describing the page). Though sometimes it can even occur just because of an extra blank line at the end of a file. If you’ve been editing (or even looking at) your wp-settings.php file, I’d go in an see if one of these situations happens to be the case. Or, I suppose if you wanted to be safe, find the original of that file from whatever version you’re running and re-upload it to your webserver.

    Thanks for the this! I shall look into it.

    I finally got to the page myself, and the photos run fine, but the logo is inverse and the background color should be white, not grey as it now seems to be. Damn.. The awkward part here is that for the next week or so I’m some 300 kilometers away from all my domain admin information.. Hard to get a grip of them.

    + I cant get to the wp-admin page. Even if the page itself seems to be running now, the warning message I just pasted in the first post still displays at the admin page.

    I’m not sure about the theme and visual aspects that you mention. Maybe you updated the theme somewhere along the way or accidentally changed some of its settings?

    I am seeing your warning on your blog’s login page, so I would definitely look into checking that file to see if it has changed from the original or re-uploading it to restore it back to the original functionality.

    I shall do that, thank you very much!

    So I just open up the wp-settings.php settings frile from the root directory and the original file from the theme and compare these two?

    (btw, I’ve prolly never opened any of the files on my root directory)

    thank you!

    You’d want to compare the wp-settings.php file that you currently have uploaded against the file that comes with whatever version of WP you are using (so re-download that version and look at the wp-settings.php file in that). As far as I know, your theme probably isn’t providing you with a version of this file, though please let me know if I’m wrong.

    If you’re not familiar with PHP files, they’re just plain text and can be opened in any text editor you want (TextEdit, Notepad, etc.).

    That’s what I suspected.. Thank you very much for your help, I shall let you know how things worked out!

    oddly enough, now it’s working quite normally again. Maybe it was just a cry for attention or loving tenderness?

    anyway, thank you very much for your time and energy!

    Had a similar problem and found out that my wp-settings.php had extra lines at the end. I deleted this lines and all was fine.

    The problem I have now is that, the above has happened twice within a week. Any idea what the cause is?
    On another wp-installation of mine (same hosting account) my website is inaccessible and my wp-settings.php was actually empty!!!

    Any permanent solution??? I will change ALL my passwords for extra security reasons….

    One thing I noticed though is that my javascript files are always reported infected again soon after I replace them with genuine ones…

    Sucuri SiteCheck
    Malware found on javascript file:
    Malware found on javascript file:

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Cannot modify header information ?’ is closed to new replies.