[SOLVED][Drupal Errors] Warning: Cannot modify header information - headers already sent by (output started at ..

| | 1 min read

Many Drupal programmers, Drupal site admins and Drupal site users have encountered errors similar to "Warning: Cannot modify header information - headers already sent by (output started at ...\domainname.com\includes\install.inc:236) in ...\domainname.com\includes\install.inc on line 618" in their Drupal site. If you are facing the same situation in your Drupal site then read on to find out the solution.

A badly configured read & write permissions in the Drupal file system causes this error during Drupal installation. Check out the solution give below.

  • We need to the need change the permissions of a few files using an FTP tool or shell utilities.
  • CHMOD 777 for the following file
    .../sites/default/default.settings.php
  • CHMOD 777 for the following file
    .../sites/default/settings.php
  • CHMOD 777 for the file below
    .../sites/default
  • After installation change the permissions as follows to close the security hole
  • CHMOD 700 for the file given below
    .../sites/default/default.settings.php
  • CHMOD 744 for
    .../sites/default/settings.php
  • Finally CHMOD 755 for
    .../sites/default

Hope that helps.

The easiest way to solve a Drupal issue is to hand it to the Drupal experts. We can provide a wide range of Drupal services to help you maintain and manage your Drupal websites. Get in touch with us to know more.

Reference: http://drupal.org/node/735648 & http://drupal.org/node/735642