• rtnex

    (@rtnex)


    Hello,

    After trying to Install the Plugin W3 Total Cache it completely crashed my website. After removing the plugin from the back end and files related on my FTP, I encounter the below messages everytime I modify something on the website (such as publishing a page).*

    Warning: Cannot modify header information – headers already sent by (output started at /srv/disk12/2033444/www/villa-ombreduvent.com/wp-config.php:1) in /srv/disk12/2033444/www/villa-ombreduvent.com/wp-admin/post.php on line 197

    Warning: Cannot modify header information – headers already sent by (output started at /srv/disk12/2033444/www/villa-ombreduvent.com/wp-config.php:1) in /srv/disk12/2033444/www/villa-ombreduvent.com/wp-includes/pluggable.php on line 1228

    N.B : in the config file, I already set by default “define (WP_CACHE’, true)”

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Geoffrey Shilling

    (@geoffreyshilling)

    Volunteer Moderator

    This is usually because there are spaces, new lines, or other stuff before an opening <?php tag or after a closing ?> tag.

    Access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, navigate to /wp-content/, and open wp-config.php.

    Make sure the first line of the file is: <?php with no spaces or blank lines before it.

    Thread Starter rtnex

    (@rtnex)

    Thank you for your quick answer Geoffrey. That is one of the suggestions I saw on forums. I made that check and everything was fine.

    At the end it messed up my site so badly that I had to back it up..

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Warning: Cannot modify header information – headers already sent by’ is closed to new replies.