• website – 74.53.28.114/~wizscom
    gives error:
    ???
    Warning: Cannot modify header information – headers already sent by (output started at /home/wizscom/public_html/wp-config.php:1) in /home/wizscom/public_html/wp-includes/pluggable.php on line 329

    wp-config.php has no extra spaces before or after the < or > for php
    when looking at pluggable.php though, (and all the other files i randomly checked in wp-includes) with notepad the code is all garbled up.
    i just downloaded wordpress today from www.ads-software.com
    is something corrupt with the archive?
    thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • In some cases, I’ve found notepad does weird things. Try WordPad (although WordPad is not at all recommended, it does make the code easier to read in the meantime.

    Thread Starter radial

    (@radial)

    I used notepad++ to open my wp-config.php and found that the original from the wordpress archive is in ansi format. after pulling up the file in notepad and saving it, notepad changes it to utf-8 format. apparantly this is what was causing the problem.
    I pulled up wp-config-sample.php in notepad++, edited it, saved as wp-config.php and uploaded that and my site does not give the headers already sent error.

    I’m receiving the same error, and I made my edits using Dreamweaver. Are there any other suggests as to what the problem could be?

    My full error reads:

    rr
    Warning: Cannot modify header information – headers already sent by (output started at /home/xxxxx/public_html/mk/wp-config.php:1) in /home/xxxxx/public_html/mk/wp-includes/functions.php on line 1348

    And if I try to ignore the error and continue with the installation, eventually, I’ll get a page full of errors and the login will not work.

    You have extra characters (the rr) in wp-config.php file. If you see nothing out-of-the-ordinary, it could be an encoding issue, in which case, do what radial did.

    Oh my goodness, I can’t believe I didn’t see those extra characters! Thanks the problem is fixed!

    It doesn’t like the following in “funtions.php” of your applied theme either…

    <?php
    
    Php code
    
    ?>
    <!-- html comment -->
    <?php
    
    Php code
    
    ?>

    It wants you to do this:

    <?php
    
    Php code
    
    /* php comment */
    
    Php code
    
    ?>

    Doesn’t seem to matter *if* you use HTML code, but if it’s only a comment between ?> and <?php it gets pissy…

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘headers already sent’ is closed to new replies.