1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Cannot send headers; headers already sent in /library/config.php

Discussion in 'Troubleshooting and Problems' started by Zephyr, Jan 4, 2015.

  1. Zephyr

    Zephyr Well-Known Member

    Hello, after config.php edit (with filezilla), I have this error:

    I have remove my modification and now I have :

    $config['db']['host'] = 'localhost';
    $config['db']['port'] = '3306';
    $config['db']['username'] = '----------';
    $config['db']['password'] = '--------';
    $config['db']['dbname'] = 'minecraft';
    $config['superAdmins'] = '1';
    By I have again the error on all my pages, why please ?

    I have try to rebuild all master data and reboot my server, but don't fix this problem :S
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Check for and remove any white space from the beginning of the file.

    Otherwise you may need to upload a new file and ensure it has been saved as UTF-8 without BOM.
    I recommend using a proper editor such as Notepad++
    Zephyr likes this.
  3. Zephyr

    Zephyr Well-Known Member

    Thank you, it's ok now, not a withespace problem, I don't understand this error, maybe an error of encodage or filezilla data corruption ?
    I have remplaced the file by the default file and it's ok now.

Share This Page