Error Message: The Drupal installer requires that you create ./sites/default/settings.php

robinbutton - July 12, 2008 - 05:21

I am unable to proceed with the installation process due to an error: "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." The instructions are unclear ... (at least to me). I can't find any detailed instructions as to how to do this and the video tutorial page contained a comment that this process needed to occur manually, but there were no instructions. Although I'm an experienced web designer, I'm new at Drupal and am not a network administrator. However, I could go through the steps if someone could point me to them. Thanks for any assistance.

Issue report with workaround here

bonobo - July 12, 2008 - 06:24

Create yourself an empty

cog.rusty - July 12, 2008 - 11:11

Create yourself an empty text file named settings.php, upload it to sites/default using FTP, right-click and change its permissions to 666.

Setting up local FTP to fix problem

robinbutton - July 12, 2008 - 15:21

I haven't felt this dumb in a long time. I'm having trouble setting up a connection through FireFTP to FTP to my local Drupal site. It asks for a username/password, and won't accept the one I use ... this may be outside of Drupal support, but I've never developed a website locally before. Always set up a temp file on a remote server.

I did create the empty file ... once I am able to upload, do I right-click on it via the ftp client?

Robin

Most hosts have a

cog.rusty - July 12, 2008 - 15:53

Most hosts have a ready-to-use main FTP account. Sometimes you just use your username and password, but sometimes the username must have a special format, such as your-username@your-sitename.com. Try it, or ask your host's tech support.

Most hosts also allow you to go to your cpanel and create additional FTP accounts.

About the right-click thing, most FTP clients have a "permissions" or "properties" option where you can change the permissions of a file.

Thanks for everything

robinbutton - July 13, 2008 - 04:59

Hey thanks cog.rusty I've taken care of the issue and am able to carry on with the setup. I'm encouraged by the immediate help provided by this forum, not to mention your patience, and I'm glad I decided to learn Drupal.

Robin

THANKS! - It worked

mutc4060 - July 19, 2008 - 01:25

That helped tremendously, creating the blank settings.php and copying it to the directory. That and creating the php.ini file to register_globals = Off. When I get this running I'll be sure to contribute to the cause.

I guess this is new as of

faunapolis - July 24, 2008 - 18:41

I guess this is new as of 6.3, buecause 6.2 didn't have this requirement. Must be a temporary patch to some security problem, my guess.

http://www.faunapolis.org/

odd

royerd - August 1, 2008 - 04:42

I've installed a dozen drupal sites and have never run into this before. I was stumped until I came here and saw the trick about putting up the blank settings.php file. That worked. Why is this working (or not working rather) this way?

To tell the truth, I haven't

cog.rusty - August 1, 2008 - 12:13

To tell the truth, I haven't scrutinized the conditions under which this is needed. I just came up with the idea once, and it worked.

It must have to do with the specific Drupal version and with the permissions of the directory sites/default (or sites/example.com).

 
 

Drupal is a registered trademark of Dries Buytaert.