• Resolved ch4sethe5un

    (@ch4sethe5un)


    Warning: Cannot modify header information - headers already sent by (output started at /home/forinsta/public_html/wp-config.php:1) in /home/forinsta/public_html/wp-admin/install.php on line 36

    What does this mean? basically.

    I can install wordpress, but that notice is at the top of every page during installation.

    Please help and thanks in advance

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter ch4sethe5un

    (@ch4sethe5un)

    https://codex.www.ads-software.com/Installing_WordPress#Common_Installation_Problems

    I also tried the first and third methods on here already.

    di u check that?

    Check that the first line contains nothing but <?php, and that there is no text before it (not even whitespace).
    Check that the last line contains nothing but ?>, and that there is no text after it (not even whitespace).

    I had the same problem as you. I deleted the whitespace and it worked… Hope for you also…

    Thread Starter ch4sethe5un

    (@ch4sethe5un)

    should i just check the files mentioned?

    because if so i did checked them and they are fine.

    wp-config.php

    `<?php
    /**
    …(left this out obviously)
    require_once(ABSPATH . ‘wp-settings.php’);
    ?>`

    Thread Starter ch4sethe5un

    (@ch4sethe5un)

    sorry those backticks are not in the actual file.

    that’s a very incomplete wp-config.php
    you need to copy the wp-config-sample.php exactly and in Notepad or similar enter the database values and save it as wp-config.php

    Thread Starter ch4sethe5un

    (@ch4sethe5un)

    I know that, i said that i left it out because my information to my database is there. And the “common problem” only deals with the ending php tags and whitespace, correct? So i just posted the ending tags exactly as they are.

    should i post up my entire wp-config.php file without the DB info of course?

    I can finish the installation, but i’m wondering if this will impede the final wordpress functions after install…

    Thread Starter ch4sethe5un

    (@ch4sethe5un)

    I’m using expression web 2 as my editor of choice. Does it insert “BOM” or whatever when you open a file and save it?

    Should i use a different editor or just notepad to edit these files?

    Are there any suggested editors for html/css/php/js?

    Or is expression web 2 good?

    Thread Starter ch4sethe5un

    (@ch4sethe5un)

    OK. so it may be the editor that is making everything F&%*ed up…

    I opened a new wp-config.php in notepad and editted in the information to my DB.

    I saved it as wp-config.php in ANSI encoding (which is a notepad option when saving files ) and that fixed the problem.

    I’m just curious now…How do i edit files so that they all save in ANSI encoding by default, under expression web 2?

    Thanks again for your peoples help.

    ps. There was white space at the very bottom of the wp-config.php file after the closing php tag (i fixed that of course). I did not do anything to it. That was directly there from unzip. BUT why is it there by default?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘I can install WP, but there is a warning at the top’ is closed to new replies.