• I’m having a horrible time as my site has completely shut down :-(. Here is the error it shows on my site at https://www.sharpefit.com: Warning: Cannot modify header information – headers already sent by (output started at /hermes/bosweb26d/b843/ipg.sharpefitcom/wp-config.php:1) in /hermes/bosweb26d/b843/ipg.sharpefitcom/wp-includes/pluggable.php on line 866

    Then, when I try to go in to my admin section, it gives me:
    Warning: Cannot modify header information – headers already sent by (output started at /hermes/bosweb26d/b843/ipg.sharpefitcom/wp-login.php:1) in /hermes/bosweb26d/b843/ipg.sharpefitcom/wp-login.php on line 349

    Warning: Cannot modify header information – headers already sent by (output started at /hermes/bosweb26d/b843/ipg.sharpefitcom/wp-login.php:1) in /hermes/bosweb26d/b843/ipg.sharpefitcom/wp-login.php on line 361

    I’ve tried the ob_start ob_flush attempt. I’ve tried removing all blank lines from all the different files before and after the PHP and ?> sequences. I’m hoping there is another strategy out there that can help save my site!!!

    Here is the code for my wp-config file:

    [ Moderated – Where to start…? Don’t post code longer than 10 lines, use pastebin.com instead. And more importantly do not post your DB user ID, your DB user password, and DB host name anywhere on the Internet. ]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Nothing to do with wp-config.php, this would have happened after adding or changing something?

    So the question is what changed, theme edit, plugin update?

    The error is in the admin area, it will be a process of elimination, use ftp rename or remove the theme’s folder that will revert back to the default theme, see if the error has gone.

    If not work through the plugins until you find the offending code.

    In the theme you say you have removed any trailing blank lines, and checked that all code blocks start <?php and end ?>, check functions.php as this is the one file that should not be closed, so it has an opening <?php with no closing ?>

    HTH

    David

    The issue is that when WordPress hits the wp-login.php file, it runs into something that is trying to output headers, but the headers are already set elsewhere. That means, as Digital Raindrops mentioned, the problem lies elsewhere.

    Have you added anything new to the site (plugins, themes) that were not there prior to this issue occuring. Try activating another theme (if you recently activated the theme you are using, or deactiving a recently added plugin to see if the problem goes away. It’s a process of elimination now. Good luck!

    Thread Starter CoolRunLT

    (@coolrunlt)

    Thanks for your help. This will be very tricky as I have had the Admired Theme live for a few months now, and haven’t really changed anything (only have 3 plugins that haven’t been added recently or changed). From what I remember, there are no upgrades that I did in the last 48 hours if not longer.

    It was weird as this just happened when I was just browsing my website randomly as a user (not even in the admin section). All of a sudden the page when blank (white), then decided to start showing the error messages all throughout.

    Thread Starter CoolRunLT

    (@coolrunlt)

    Would you also recommend removing the plugins from FTP all together or just renaming them for the time being until I find the culprit?

    FTP is my only option since the admin section is completely dead at this point.

    Once you are sure it is nothing you have done, contact your ISP to see if there have been any updates PHP, mySql folder structure etc: to their system that might cause a problem.

    Nothing can get updated without the Admin choosing to update via updates or ftp.

    From what I remember, there are no upgrades that I did in the last 48 hours if not longer

    Look at the datestamps on the plugins and themes folders, updates remove and re-create the folders and all files.

    HTH

    David

    Thread Starter CoolRunLT

    (@coolrunlt)

    Another quick question. I go into each file through FTP and double check white space, and there isn’t any. I save the file, and each time I refresh my admin screen after doing that, a new error pops-up. Now it mentions output with /plugin.php. Any reason for the consistent changes in error messages after save?

    Warning: Cannot modify header information – headers already sent by (output started at /hermes/bosweb26d/b843/ipg.sharpefitcom/wp-includes/plugin.php:1) in /hermes/bosweb26d/b843/ipg.sharpefitcom/wp-login.php on line 349

    Warning: Cannot modify header information – headers already sent by (output started at /hermes/bosweb26d/b843/ipg.sharpefitcom/wp-includes/plugin.php:1) in /hermes/bosweb26d/b843/ipg.sharpefitcom/wp-login.php on line 361

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Headers Problem with Site’ is closed to new replies.