I just tried to install a multisite instance of Drupal7 on my localhost setup.
I prepared an empty directory sites/d7-t70.localhost and visited http://d7-t70.localhost to get to the installer.

at the requirements checking phase I get the following error:

Settings file The settings file does not exist.
The Drupal installer requires that you create a settings file as part of the installation process. Copy the ./sites/d7-t70.localhost/default.settings.php file to ./sites/d7-t70.localhost/settings.php. More details about installing Drupal are available in INSTALL.txt.

The text suggests to copy the file ./sites/d7-t70.localhost/default.settings.php, but that file does not exist. Shouldn't it be ./sites/default/default.settings.php or just sites/default/default.settings.php ?

I wanted to write a patch for this but after looking at conf_path, it appears that the "sites" directory name is encapsulated there, so using a hardcoded sites/default/default.settings.php in the installer is probably not a clean way to fix the problem.

Comments

zenith.thepeak’s picture

Status: Active » Fixed

Hi, the main thing you need to do is first copy the sites/default/default.settings.php file don't do rename the same file. Instead, you need to do a copy of the same file in other directory and rename it with settings.php, cut from there and paste the file in ./sites/default/settings.php, because both the files are required in default directory i.e., default.settings.php and settings.php and dont change any of the settings in the file.
And try then you will see that Drupal 7 it is loading.

soxofaan’s picture

Status: Fixed » Active
Issue tags: +Documentation, +install issue

I know what to do and how to overcome the problem myself, that's not what this issue is about.

This issue is about wrong documentation/help text in the installer

zenith.thepeak’s picture

So where did you downloaded the setup from, and which document have you gone through.

soxofaan’s picture

I used a CVS checkout of Drupal7 and the documentation I'm talking about is the error message cited in the original post of this thread (also see the attached screenshot there)

aspilicious’s picture

StatusFileSize
new20.6 KB

Fixed see my screenshot...

aspilicious’s picture

Status: Active » Fixed
soxofaan’s picture

Status: Fixed » Active
StatusFileSize
new103.84 KB

How does your screenshot proves it fixed? I guess you don't use the multisite feature, my bug report is about using the multi-site feature: creating a setup outside sites/default.

Attached screenshot, with latest CVS checkout at time of this writing (DRUPAL-7-0-ALPHA1 is latest tag now), shows the problem is still there:

the text reads:

The Drupal installer requires that you create a settings file as part of the installation process. Copy the ./sites/d7-t70.localhost/default.settings.php file to ./sites/d7-t70.localhost/settings.php.

while it should read, I think:

The Drupal installer requires that you create a settings file as part of the installation process. Copy the ./sites/default/default.settings.php file to ./sites/d7-t70.localhost/settings.php.

soxofaan’s picture

Title: wrong path for default.settings.php in installer help text » wrong path for default.settings.php in installer help text (using multisite feature)

(better tittle)

aspilicious’s picture

Title: wrong path for default.settings.php in installer help text (using multisite feature) » wrong path for default.settings.php in installer help text (multi-site)

changing title then...

sam21’s picture

The first solution worked for me...try that one...it goes like...copy the sites/default/default.settings.php file don't do rename the same file. Instead, you need to do a copy of the same file in other directory and rename it with settings.php, cut from there and paste the file in ./sites/default/settings.php, because both the files are required in default directory i.e., default.settings.php and settings.php and dont change any of the settings in the file.
And try then you will see that Drupal 7 it is loading.

David_Rothstein’s picture

Status: Active » Fixed
StatusFileSize
new58.32 KB

Was fixed a month or two ago, I think as part of #312144: Install fails when default.settings.php is not present. See the attached screenshot.

Status: Fixed » Closed (fixed)
Issue tags: -Documentation, -install issue

Automatically closed -- issue fixed for 2 weeks with no activity.