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.
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | installer.png | 58.32 KB | David_Rothstein |
| #7 | Screen shot 2010-01-17 at 14.45.20.png | 103.84 KB | soxofaan |
| #5 | settings-file.png | 20.6 KB | aspilicious |
| Picture 4.png | 114.2 KB | soxofaan |
Comments
Comment #1
zenith.thepeak commentedHi, 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.
Comment #2
soxofaan commentedI 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
Comment #3
zenith.thepeak commentedSo where did you downloaded the setup from, and which document have you gone through.
Comment #4
soxofaan commentedI 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)
Comment #5
aspilicious commentedFixed see my screenshot...
Comment #6
aspilicious commentedComment #7
soxofaan commentedHow 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:
while it should read, I think:
Comment #8
soxofaan commented(better tittle)
Comment #9
aspilicious commentedchanging title then...
Comment #10
sam21 commentedThe 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.
Comment #11
David_Rothstein commentedWas 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.