WordPress.org

Support

Support » Installation » “Cannot modify header information” error during install

“Cannot modify header information” error during install

  • 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?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘“Cannot modify header information” error during install’ is closed to new replies.
Skip to toolbar