Support » Installing WordPress » Cannot modify header information – headers already sent by

  • Hello,

    I have try to install wordpress on my computer at many attempt, but unfortunatly i still cannot resolve the problem.

    There were always an error at the installation steps.
    Here the error message :

    Warning: Cannot modify header information – headers already sent by (output started at C:\Apache2\htdocs\blog\wp-admin\setup-config.php:23) in C:\Apache2\htdocs\blog\wp-includes\wp-db.php on line 310

    I’ve tried to check all the tags , <?php and ?> and everithing since to be alright.

    I anyone can help me solving this problem?

    Thanx be4,

    -Best Regards-

    John

Viewing 11 replies - 1 through 11 (of 11 total)
  • try 2 see if there is extra white space at the end of the file setup-config.php

    Or reupload the file.

    I have check the file and everything seems to be alright,
    But i still cannot install the file on my local apache server:

    Best Regards,

    Here the source code of the file :
    ———————————————–
    http://www.pastecode.com/5879
    ———————————————–

    ps: sorry for the last post.

    Please oh please don’t paste so much code. It doesn’t do us any good (we can’t see spaces or anything) and it’s annoying. If you really have to paste code, then use a site like pastecode.com please.

    I have check the file and everything seems to be alright,
    But i still cannot install the file on my local apache server:

    Best Regards,

    Here the source code of the file :
    ———————————————–
    http://www.pastecode.com/5879
    ———————————————–

    Did you note chaaban’s reply above suggesting a check of setup-config.php?* Reason for the suggestion is the initial file referred to in the error is typically the problem one. And considering the error points out line 23 in setup-config.php, while the file is far larger, it could be something is lacking there.

    * The source you uploaded is from wp-db.php

    As said, wp-db.php is not where the problem is, 2techmedia. You’re reading the error message backwards.

    Hello,

    I have check the file setup-config.php , but i cannot find the error.

    Here the source code of the file :
    ———————————————–
    http://www.pastecode.com/5882
    ———————————————–

    Anyone can help me resolve this problem?

    -Best Regards-

    delete evrything :p

    take 2 more mn from ur time and download the package from wordpress again …

    and be sure to not touch any code …and just install … it should work

    just to save time …

    Hello thanx for the advice but i still afront the same problem.I’ve tried to download wprdpress intact from wordpress withou editing any files.But the problem is still the same, cannot install.
    Is that normal of the first we try to install wordpress locally on apache server appear a message like this?

    ————————————————————

    From : http://localhost/blog2/

    (blog2) = my wordpress folder

    the message :There doesn’t seem to be a wp-config.php file. I need this before we can get started. Need more help? We got it. You can create a wp-config.php file through a web interface, but this doesn’t work for all server setups. The safest way is to manually create the file.

    What does the meaning of statement ‘The safest way is to manually create the file.’ stand for?

    Do i have to create another file with the same name or something like that?

    -Best Regards-

    it just mean that you can rename the file

    wp-config-sample.php to –> wp-config.php 🙂

    and fix the database informations inside the file

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