WordPress.org

Ready to get started?Download WordPress

Forums

"Cannot modify header information" error during install (4 posts)

  1. oversat
    Member
    Posted 4 years ago #

    After uploading everything to my domain, I go to /wp-config/install.php and at the top of the page is the following:

    Warning: Cannot modify header information - headers already sent by (output started at /hermes/bosweb/web216/b2165/glo.alkajon/wp-config.php:1) in /hermes/bosweb/web216/b2165/glo.alkajon/wp-admin/install.php on line 36

    I've gone through the forums and added ?> tag to the end of wp-config.php and it still gives the same message. The following are lines 35 and 36 of install.php file:

    function display_header() {
    header( 'Content-Type: text/html; charset=utf-8' );

    What do I do?

  2. You have unexpected white space (either a space or an entire blank line) on line 1 of wp-config.php. See this guide for more info:

    http://codex.wordpress.org/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3F

  3. oversat
    Member
    Posted 4 years ago #

    THere's no problem there. I followed the guidline to a T, and I still have the error

  4. viltnieks
    Member
    Posted 4 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic