WordPress.org

Ready to get started?Download WordPress

Forums

Cannot modify header information ? (12 posts)

  1. konsuli
    Member
    Posted 3 years ago #

    When I try to go to my homepage ( http://konstakuva.com/wordpress/ ), all I get is following message:

    Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/konstakuva.com/httpdocs/wordpress/wp-settings.php:315) in /var/www/vhosts/konstakuva.com/httpdocs/wordpress/wp-includes/pluggable.php 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!

  2. konsuli
    Member
    Posted 3 years ago #

    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.

  3. eryanv
    Member
    Posted 3 years ago #

    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.

  4. konsuli
    Member
    Posted 3 years ago #

    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.

  5. konsuli
    Member
    Posted 3 years ago #

    + 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.

  6. eryanv
    Member
    Posted 3 years ago #

    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.

  7. konsuli
    Member
    Posted 3 years ago #

    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!

  8. eryanv
    Member
    Posted 3 years ago #

    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.).

  9. konsuli
    Member
    Posted 3 years ago #

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

  10. konsuli
    Member
    Posted 3 years ago #

    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!

  11. webcreative
    Member
    Posted 3 years ago #

    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....

  12. webcreative
    Member
    Posted 3 years ago #

    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:
    /wp-includes/js/l10n.js?ver=20101110
    Malware found on javascript file:
    /wp-includes/js/jquery/jquery.js?ver=1.6.1

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags