Drupal Installation, Warning Errors: failed to open stream, Cannot modify header information
Posted in: Programming
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
Return to: Drupal Installation, Warning Errors: failed to open stream, Cannot modify header information
Social Web