• I’ve searched the forums and removed all lines and white spaces from the beginning and end, but I can’t seem to make this problem go away.

    Warning: Cannot modify header information – headers already sent by (output started at /home/mmallory/public_html/simpleweightlossclub.com/blog/wp-config.php:1) in /home/mmallory/public_html/simpleweightlossclub.com/blog/wp-includes/pluggable.php on line 850

    Can anyone help.

    Thanks!

    Micahel

Viewing 9 replies - 1 through 9 (of 9 total)
  • hi

    if this is still a problem, please post the contents of wp-config.php in a pastebin https://wordpress.pastebin.ca/ and post the link here

    Thread Starter mallorymedia

    (@mallorymedia)

    Since a pastebin will open my site’s backend information to the entire world, that is not an acceptable option for me. Does anyone else have any ideas?

    Thanks!

    Michael

    I have the same problem…
    “Warning: Cannot modify header information – headers already sent by…”

    Anyone any Idea????

    Thanks

    Donst use the wordpad from windows to write the config.php, search for another editor like an PHP editor.

    Since a pastebin will open my site’s backend information to the entire world, that is not an acceptable option for me. Does anyone else have any ideas?

    you can x-out any sensitive info
    https://codex.www.ads-software.com/Answers-Troubleshooting#Headers_already_sent

    Thread Starter mallorymedia

    (@mallorymedia)

    https://wordpress.pastebin.ca/1396979

    I’ve tried Notepad, Expression Web, Komposer, and PHP Editor. I’ve also used both FileZilla, and Coffee Cup for FTP. So far, the site is live, but I can’t get to the admin due to this error. I’ve successfully installed other PHP-based programs. Why is WordPress such a pain?

    Thanks!

    Michael

    I found errors in your auth_keys but that could just be from x’ing stuff out.

    Just for grins, let’s try a simple wp-config.php – you can add the keys later. Replace x’s with real info of course.

    <?php
    // ** MySQL settings ** //
    define('DB_NAME', 'xxxxxx');    // The name of the database
    define('DB_USER', 'xxxxxx');     // Your MySQL username
    define('DB_PASSWORD', 'xxxxxx'); // ...and password
    define('DB_HOST', 'localhost');    // 99% chance you won't need to change this value
    
    // You can have multiple installations in one database if you give each a unique prefix
    $table_prefix  = 'wp_';   // Only numbers, letters, and underscores please!
    
    // Change this to localize WordPress.  A corresponding MO file for the
    // chosen language must be installed to wp-includes/languages.
    // For example, install de.mo to wp-includes/languages and set WPLANG to 'de'
    // to enable German language support.
    define ('WPLANG', '');
    
    /* That's all, stop editing! Happy blogging. */
    
    define('ABSPATH', dirname(__FILE__).'/');
    require_once(ABSPATH.'wp-settings.php');
     define('USE_PCONNECT', 'false'); // use persistent connections?
    ?>
    Thread Starter mallorymedia

    (@mallorymedia)

    Actually, I found the problem. I tried removing the spaces in the wp-includes/pluggable file with a bad editor, and it caused the problem, even though I had corrected it with PHP Editor in the config file.

    Thanks for the help!

    Michael

    I fixed it with the freeware weaverslave.

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