• i get the well known error message “header already sent”

    i uses a brand new version of wordpress (v.2.0.3 zip version), were no file has ever been edited by myself i read the faq, i’ve read a lot of forum messages, i emptied the browser cache etc… i’ve done everything that could be done, but the error still appears. i tried to create a config file using setup-config.php

    the exact error message:
    Warning: Cannot add header information – headers already sent by (output started at /mnt/am2/08/165/00000020/htdocs/wordpress/wp-admin/setup-config.php:22) in /mnt/am2/08/165/00000020/htdocs/wordpress/wp-includes/wp-db.php on line 308

    the 2 lines that are put out are:

    setup-config.php:22
    <style media=”screen” type=”text/css”>

    wp-db.php:308
    header( ‘Content-Type: text/html; charset=utf-8’);

    the information i filled out at page2 is 100% correct

    where is the problem?

Viewing 1 replies (of 1 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    After looking at those lines of code and tracing the logic, it seems that it’s unable to connect to your database. Best I can say is to check those database parameters and try again. Either the data is wrong or the mysql server is inaccessible. Why? Who can say… It would be nice if that particular headers problem didn’t happen when the database connection was not made correctly, but that’s just a problem with the setup routine.

Viewing 1 replies (of 1 total)
  • The topic ‘header already sent on first configuration (w/o editing ANY file)’ is closed to new replies.