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

  1. oversat
    Posted 6 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. James Huff
    Support Representative
    Posted 6 years ago #

    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:


  3. oversat
    Posted 6 years ago #

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

  4. viltnieks
    Posted 6 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic