since the drupal 6.7 release, I have never be able to install drupal on my share server. I got this message.

Warning: fopen(./sites/default/default.settings.php) [function.fopen]: failed to open stream: No such file or directory in /home/xxxcc/public_html/xx.cc/includes/install.inc on line 188

Warning: Cannot modify header information - headers already sent by (output started at /home/xxxcc/public_html/xx.cc/includes/install.inc:188) in /home/xxxcc/public_html/xx.cc/includes/install.inc on line 618

Warning: Cannot modify header information - headers already sent by (output started at /home/xxxcc/public_html/xx.cc/includes/install.inc:188) in /home/xxxcc/public_html/xx.cc/includes/install.inc on line 619

I have rename the default.settings.php to setting.php, I have no idea why I got this problem. I have been install drupal about hundreds times on my server before but never have any problem.

please help.

Comments

cog.rusty’s picture

Don't rename default.settings.php to settings.php.
Copy it.
The default file must exist (for setting up more sites etc)

Also, update to D-6.8.
D-6.7 had a bug and didn't work with PHP 4.

suntog’s picture

Thanks for the advice.

I followed your advice and eliminated that error message.