What is this? From this page you can use the Social Web links to save Drupal Installation, Warning Errors: failed to open stream, Cannot modify header information to a social bookmarking site, or the E-mail form to send a link via e-mail.

Social Web

E-mail

E-mail It
January 22, 2010

Drupal Installation, Warning Errors: failed to open stream, Cannot modify header information

Posted in: Programming

I just got through one installation error dealing with configuration directives, just to face another…

Warning: fopen(./sites/default/default.settings.php) [function.fopen]: failed to open stream: No such file or directory

Warning: Cannot modify header information - headers already sent by (output started at seethesite/ludacris/includes/install.inc:188)

Drupal Installation, Warning Errors: failed to open stream, Cannot modify header information

The Drupal: Creating Blogs, Forums, Portals, and Community Websites book by David Mercer is such a good read.  It provides very valuable information for setting up websites.  Let’s take a look at how to remove the warning errors.

The drupal installation instructions says to change the name of the default.settings.php file to settings.php.  But then there’s the “No such file or directory” that comes later in the installation process.  The solution is to simply re-upload the default.settings.php from your drupal download.

The next warning error dealt with headers that were already sent.  This can be solved opening the install.inc and making sure there is no spaces after the last character of the last line.

Using Drupal
Drupal For Dummies
Sams Teach Yourself Drupal in 24 Hours

Sphere: Related Content


Return to: Drupal Installation, Warning Errors: failed to open stream, Cannot modify header information