Problem with the Drupal 6.3 installer and settings.php

anarchman - July 10, 2008 - 23:35

Trying to fresh install 6.3. Get Requirements problem error: The following error must be resolved before you can continue the installation process:
The Drupal installer requires that you create ./sites/default/settings.php as part of the installation process, and then make it writable. If you are unsure how to grant file permissions, please consult the on-line handbook.

I have default.settings.php

I treid changing this to settings.php and I am able to go to the set up database step, upon which clicking Save and continue it then coughs up another error Warning: fopen(./sites/default/default.settings.php) [function.fopen]: failed to open stream: No such file or directory in...

So...is this a problem with the installer? Cause all I have done is unpack the files. 6.2 didn't have these issues.

well just for kicks

anarchman - July 10, 2008 - 23:37

I copied settings.php and renamed the copy to default.settings.php and with both files in place was able to successfully install.

Issue report with workaround here

bonobo - July 12, 2008 - 06:24

Does it apply?

mrgoltra - July 12, 2008 - 11:05

topic is of version 7.

i just

mrgoltra - July 12, 2008 - 11:02

created a empty settings.php and it worked.

error: installer requires you create /sites/default/settings.php

robbdavis - July 13, 2008 - 20:31

I had the same problem on a clean install of 6.3

I had to go into sites/default folder, duplicate/copy default.settings.php, and rename this file 'settings.php'. Once there were both files in the default folder (default.settings.php and settings.php), install worked.

I really have no idea why this works or if it's a good long term solution.

This should not happen given 6.x's promise for an easy / hassle free install. It did not happen when I installed 6.2.

good advice

ggentile - July 20, 2008 - 00:51

have no idea why the instructions to make folders writable didn´t work for me (is it because I´m using godaddy hosting??) but this worked like a charm. thanks!

New to drupal--filmmaker from New York living in Argentina

same problem and this

xamox - July 22, 2008 - 16:43

same problem and this solution worked for me. Thanks.

Same problem for me when

hurben - August 31, 2008 - 05:27

Same problem for me when trying to install Drupal 6.4 - I thought I had followed the instructions and renamed the 'default.settings.php' to 'settings.php' and chmodded it to 777..
I fixed it by copying the 'default.settings.php' file directly from the tarball to the folder and resubmitted the page.

Pretty lame I think.. :(

 
 

Drupal is a registered trademark of Dries Buytaert.