Title: Second installation &#8211; Error Cannot modify header information
Last modified: August 31, 2016

---

# Second installation – Error Cannot modify header information

 *  Resolved [xuki87](https://wordpress.org/support/users/xuki87/)
 * (@xuki87)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/second-installation-error-cannot-modify-header-information/)
 * I had installed the website correctly but i decided to cancel everything via 
   FTP and to restart from over. I download the new Wordpres and upload it via filezilla.
   I configured with new database the wp-config file and run [http://www.mydomain.com/wp-admin/install.php](http://www.mydomain.com/wp-admin/install.php).
 * I have this error:
 * > Warning: Cannot modify header information – headers already sent by (output
   > started at /homepages/33/d608909567/htdocs/wp-config.php:1) in /homepages/33/
   > d608909567/htdocs/wp-admin/install.php on line 59
   >  WordPress
 * What does it means and how can i reslve this? how is possible to have errors 
   when i cancel everything and then upload as new all wordpress?

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/second-installation-error-cannot-modify-header-information/#post-7014492)
 * Try reviewing this codex to solve header already sent problem: [http://codex.wordpress.org/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3F](http://codex.wordpress.org/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3F)
 *  Thread Starter [xuki87](https://wordpress.org/support/users/xuki87/)
 * (@xuki87)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/second-installation-error-cannot-modify-header-information/#post-7014529)
 * ok, sincerly i only did from this
 *     ```
       <?php
       /**
        * Il file base di configurazione di WordPress.
        *
       ```
   
 * to this
 *     ```
       <?php/**
        * Il file base di configurazione di WordPress.
        *
       ```
   
 * and the problem now is:
 * > Parse error: syntax error, unexpected ‘define’ (T_STRING) in /homepages/33/
   > d608909567/htdocs/wp-config.php on line 27
 * Where is the database name, i cchecked it 4 times there is no error! What to 
   do? Thanks
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/second-installation-error-cannot-modify-header-information/#post-7014570)
 * [http://codex.wordpress.org/Common_WordPress_Errors#Parse_errors](http://codex.wordpress.org/Common_WordPress_Errors#Parse_errors)
 *  Thread Starter [xuki87](https://wordpress.org/support/users/xuki87/)
 * (@xuki87)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/second-installation-error-cannot-modify-header-information/#post-7014584)
 * Hi Tara,
 * there is nothing wrong on the code. And how can it be if i downloaded it from
   WP website? i only change the values nothing else!
 * I’m going crazy! Should i cancel and restart everything?
 *     ```
       <?php/**
        * Il file base di configurazione di WordPress.
        *
        * Questo file viene utilizzato, durante l’installazione, dallo script
        * di creazione di wp-config.php. Non è necessario utilizzarlo solo via
        * web, è anche possibile copiare questo file in «wp-config.php» e
        * riempire i valori corretti.
        *
        * Questo file definisce le seguenti configurazioni:
        *
        * * Impostazioni MySQL
        * * Prefisso Tabella
        * * Chiavi Segrete
        * * ABSPATH
        *
        * È possibile trovare ultetriori informazioni visitando la pagina del Codex:
        *
        * @link https://codex.wordpress.org/it:Modificare_wp-config.php
        *
        * È possibile ottenere le impostazioni per MySQL dal proprio fornitore di hosting.
        *
        * @package WordPress
        */
   
       // ** Impostazioni MySQL - È possibile ottenere queste informazioni dal proprio fornitore di hosting ** //
       /** Il nome del database di WordPress */
       define('DB_NAME', 'xxxx');
   
       /** Nome utente del database MySQL */
       define('DB_USER', 'xxxxx');
   
       /** Password del database MySQL */
       define('DB_PASSWORD', 'xxxxx');
       ```
   
 * it said error @27 DB_NAME
 *  Thread Starter [xuki87](https://wordpress.org/support/users/xuki87/)
 * (@xuki87)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/second-installation-error-cannot-modify-header-information/#post-7014586)
 * Cancelled everything and restarted it… Thank you Tara
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/second-installation-error-cannot-modify-header-information/#post-7014621)
 * Glad to know you got it sorted 🙂

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Second installation – Error Cannot modify header information’ is closed
to new replies.

## Tags

 * [header information](https://wordpress.org/support/topic-tag/header-information/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 2 participants
 * Last reply from: [t-p](https://wordpress.org/support/users/t-p/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/second-installation-error-cannot-modify-header-information/#post-7014621)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
