As written the error message for "missing settings.php" is confusing. The attached patch updates the text to read:

The file settings.php does not exist.
You must create a settings file before proceeding with the installation of Drupal. Copy the template settings file ./sites/default/default.settings.php to ./sites/default/settings.php.

The final para is also updated to read as follows:
Please fix the issues listed above and refresh your browser window. Additional information about installing Drupal is available in the file /INSTALL.txt.

Screen shots are available:
current: http://www.flickr.com/photos/emmajane/3601956533/
patched: http://www.flickr.com/photos/emmajane/3601956529/

Comments

emmajane’s picture

Status: Active » Needs review

Updating status to "needs review."

catch’s picture

Tagging.

Bojhan’s picture

Status: Needs review » Reviewed & tested by the community
Issue tags: -Needs usability review

This is a good improvement, we don't need to mention the INSTALL.txt here it only confuses the action part. I hope someone can finish the patch where a user doesn't have to rename anymore.

Marking this RTBC.

webchick’s picture

Status: Reviewed & tested by the community » Needs work

This looks like a nice improvement!

As long as we're touching this message, can we please link the word "INSTALL.txt" to its file?

Bojhan’s picture

Thanks webchick, apprently both me and catch missed the line you changed at the bottom. We probally need to talk a little bit more about it, here is a short part of IRC.

yoroy> I looked 3 times before seeing it
yoroy> The text in the red message is an improvement, the one underneath isn't
Bojhan> yoroy: I missed it to!
yoroy> this is one of the worst cases for an inline link no?
Bojhan> it takes you away from the installer, even I think - ohh it doesnt.
catch> install.txt = bad link.
yoroy> Bojhan: I mean the "refresh" action even
catch> I didn't notice that either looking at it earlier.
catch> yoroy: the refresh needs to be there to avoid completely relying on the browser no?
Bojhan> LOL
Bojhan> all three of us missed it?
catch> looks like it.
yoroy> catch: it needs to be there but having it as a simple link in the middle of the sentence is ehm sub-optimal
catch> yoroy: hah, yes true.

----
Proposed solution at University of Baltimore : instead of having it be a try-again link or anything, it beign a big button.

tstoeckler’s picture

Status: Needs work » Needs review
StatusFileSize
new2.12 KB

There you go!

tstoeckler’s picture

Status: Needs review » Needs work

Crossposted with #5. Patch in #6 adds the link as proposed in #4.
Settings back to needs work for discussion opened in #5.
And having said that, I also find INSTALL.txt a bad link, but since it's a text file it's better than a generic "Installation instructions" because then people would be surprised that they leave the site. The coolest would be a "install.html", that looks the same as Garland, and contains the text of INSTALL.txt, but I see one could argue that is overkill.

xano’s picture

Status: Needs work » Needs review
StatusFileSize
new1.98 KB

The page title already says something needs to be done. We're in the middle of an installation process, IMO that doesn't need to be repeated. That default.settings.php is a template file (which might be mistaken for a theme-related template file) doesn't seem very important either. What do you think of this?

emmajane’s picture

StatusFileSize
new3.73 KB

I've updated the patch as follows:

1) File system error and settings error "Additional information" text now matches.
2) Additional INSTALL.txt info removed from the final para.
3) "Try again" link text changed to read, "proceed with the installation."
4) Removed the dead link for INSTALL.txt for the reasons that it would lead you away from the "pretty garland" to an unstyled wall of text.

See changes at: http://www.flickr.com/photos/emmajane/3604610209/

tstoeckler’s picture

Please fix the problems listed above and proceed with the installation.

  1. Please sounds like a suggestion, where this really is a necessity.
  2. If you omit the first part you have "Please proceed with the installation", which is weird, because the user should want to proceed by themselves, we shouldn't ask them to.
emmajane’s picture

@tstoeckler the word "please" does not reduce the instruction to being a suggestion, it is simply being polite. I encourage you to provide alternative wording if you are set against what is there currently. :)

yoroy’s picture

Status: Needs review » Needs work

"fix the problems above and try again." Seriously. "proceed with installation" is just using more expensive words to say the same, it's overly formal and we're already in installation mode so no need to re-use that word here.

Ommit needles words. Especially in the interface. We shouldn't aim to be as correct or complete as possible but give only just enough information for users to make a decision.

""Please fix the problems listed above and proceed with the installation"
"Fix the problems above and try again."
"Fix these problems and try again"

Do you see how much screen space this saves us without giving any less info?

Sorry to be a pain about this but Drupal is riddled with long-winded run on sentences and we really should move away from that.

xano’s picture

it is simply being polite

This has been my intention. It's bad enough things break down, so I figured we might as well say please to ease the pain instead of commanding the user what to do.

Sorry to be a pain about this but Drupal is riddled with long-winded run on sentences and we really should move away from that.

Np, you're right :)

emmajane’s picture

@yoroy saying "seriously" doesn't make you more right.

1) "Try again" has no meaning to me as part of a Web link. It directs me to repeat an action, but begs the question: Try what again? I didn't do anything to get that screen, I was simply proceeding through an installation and then it stopped for no apparent reason. Does "Try again" take me back to where I had to select a language? I have no idea. "Proceed" however, tells me that I am moving forward and will not have to repeat any actions.

2) I still see no issue with the word "please." Both options fit onto a single line of text, but the one that starts with "please" is more human. @xano's alternative message is probably the best to date. :)

yoroy’s picture

Issue tags: +Usability

We have somebody installing d7 for the first time, stumbling over the 'proceed with installation' line in #652288: Rewording the "proceed with the installation" text on the installer's requirements page

cmsquickstart’s picture

Current text: Please fix the problems listed above and proceed with the installation.
Suggested new text: 1. Fix the problems listed above. 2. Finish the installation. (link)

In my experience, it is easier to follow instructions with numbers. Instead of the word proceed, I suggest finish or complete.

yoroy’s picture

Version: 7.x-dev » 8.x-dev
mgifford’s picture

Status: Needs work » Needs review
StatusFileSize
new3.42 KB

Here's a re-rolled patch to consider.

xano’s picture

StatusFileSize
new3.59 KB

I took the patch from #19 and made some changes:
- We don't use the word please anymore.
- It's like Apple says: we don't have problems that need fixing, but issues that need to be resolved. This sounds less problematic and more flexible to me, since if someone simply forgot to copy the settings file, is that really a (big big big) problem if he can simply do so after all?
- I replaced some file names by their full file paths. We don't want people to get lost in Drupal's new file structure.
- I reworded two strings to tell users why the issues need to be fixed ("to proceed with the installation").
- I used the multiline array syntax for associative arrays to improve code readability.

Status: Needs review » Needs work
Issue tags: -Usability, -Needs text review

The last submitted patch, installer_requirements_20.patch, failed testing.

mgifford’s picture

Status: Needs work » Needs review

#20: installer_requirements_20.patch queued for re-testing.

syedforislam’s picture

#6: installer_settings_text_02.patch queued for re-testing.

syedforislam’s picture

Issue tags: +Usability, +Needs text review

#19: installer_requirements_19.patch queued for re-testing.

mgifford’s picture

Looking at this, there is actually a greater need for making this more consistent. There are 3 places where files or directories need to be there and where action is required to fix the issue. I've tried to express it here, but think this gets us pretty close. The language has to be close enough so that if one or more gets loaded that it all makes sense.

The translations directory does not exist.

      'description' => st('You must create a translations directory as part of the installation process. Create the directory %translations_directory and reload this page. Additional information about installing Drupal is available in the <a href="@install_txt">INSTALL.txt</a>.', array(
        '%translations_directory' => $translations_directory, 
        '@install_txt' => base_path() . 'core/INSTALL.txt'
      )),

The default settings file does not exist.

        'description' => st('You must not modify the %default-file file in any way from the original download. Restore the %default-file file and reload this page. Additional information about installing Drupal is available in the <a href="@install_txt">INSTALL.txt</a>.', array(
          '@drupal' => drupal_install_profile_distribution_name(), 
          '%default-file' => $default_settings_file, 
          '@install_txt' => base_path() . 'core/INSTALL.txt'
        )),

The settings file does not exist.

        'description' => st('You must create a settings.php file to proceed with the installation. Copy the template settings file %default_settings_file_path to %settings_file_path and reload this page. Additional information about installing Drupal is available in the <a href="@install_txt">INSTALL.txt</a>.', array(
          '%settings_file_path' => $settings_file,
          '%default_settings_file_path' => $default_settings_file,
          '@install_txt' => base_path() . 'core/INSTALL.txt'
        )),

Screen Shot of the install with just the defalut.settings.php & settings.php missing

Status: Needs review » Needs work
Issue tags: -Usability, -Needs text review

The last submitted patch, installer_requirements_25.patch, failed testing.

mgifford’s picture

Status: Needs work » Needs review
Issue tags: +Usability, +Needs text review

#25: installer_requirements_25.patch queued for re-testing.

jacobsanford’s picture

StatusFileSize
new6.25 KB

I believe this is an accurate re-roll with intent of #25.

mgifford’s picture

StatusFileSize
new85.3 KB
new9.11 KB

I haven't seen anything that I've disagreed with @JacobSanford. There seem to be a few places where you've cleaned up the text a bit more. I've provided an interdiff between 25 & 28. There was a reject which I've included below:

$ cat /tmp/interdiff-1.v0yLTJ.rej
*************** function system_requirements($phase) {
*** 388,394 ****
        elseif ($phase == 'install') {
          // For the installer UI, we need different wording. 'value' will
          // be treated as version, so provide none there.
-         $description = $error . $t('An automated attempt to create this directory failed, possibly due to a permissions problem. To proceed with the installation, either create the directory and modify its permissions manually or ensure that the installer has the permissions to create it automatically. For more information, see INSTALL.txt or the <a href="@handbook_url">online handbook</a>.', array('@handbook_url' => 'http://drupal.org/server-permissions'));
          $requirements['file system']['value'] = '';
        }
        if (!empty($description)) {
--- 388,396 ----
        elseif ($phase == 'install') {
          // For the installer UI, we need different wording. 'value' will
          // be treated as version, so provide none there.
+         $description = $error . $t('An automated attempt to create this directory failed, possibly due to a permissions problem. To proceed with the installation, either create the directory and modify its permissions manually, or ensure that the installer has the permissions to create it automatically. Additional information is available in the file ./core/INSTALL.txt and in the <a href="@handbook_url">online handbook page about server permissions issues</a>.', array(
+           '@handbook_url' => 'http://drupal.org/server-permissions',
+         ));
          $requirements['file system']['value'] = '';
        }
        if (!empty($description)) {

Your code still applies nicely.

Screen Shot with patch from Jacob Sanford applied

yoroy’s picture

Can we drop the "You must" part? Lets try to be less bossy and just say what needs to be done:

"Create a settings.php file to proceed with the installation."

mgifford’s picture

StatusFileSize
new6.22 KB

How about "You better...", "I command you to..."

Ok, good point about the bossy thing. re-rolled. Thanks for the suggestion.

Status: Needs review » Needs work

The last submitted patch, installer-requirements-484186-31.patch, failed testing.

yoroy’s picture

Thou shalt reroll thy patch!

mgifford’s picture

Status: Needs work » Needs review
Issue tags: -Usability, -Needs text review

Status: Needs review » Needs work
Issue tags: +Usability, +Needs text review

The last submitted patch, installer-requirements-484186-31.patch, failed testing.

mgifford’s picture

@yoroy - I'm glad that after "Thou shalt reroll thy patch!" - it was just the bot having a bad day :)

So, with the new text, what else needs to happen to be marked RTBC?

Version: 8.0.x-dev » 8.1.x-dev

Drupal 8.0.6 was released on April 6 and is the final bugfix release for the Drupal 8.0.x series. Drupal 8.0.x will not receive any further development aside from security fixes. Drupal 8.1.0-rc1 is now available and sites should prepare to update to 8.1.0.

Bug reports should be targeted against the 8.1.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.2.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.1.x-dev » 8.2.x-dev

Drupal 8.1.9 was released on September 7 and is the final bugfix release for the Drupal 8.1.x series. Drupal 8.1.x will not receive any further development aside from security fixes. Drupal 8.2.0-rc1 is now available and sites should prepare to upgrade to 8.2.0.

Bug reports should be targeted against the 8.2.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.3.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.2.x-dev » 8.3.x-dev

Drupal 8.2.6 was released on February 1, 2017 and is the final full bugfix release for the Drupal 8.2.x series. Drupal 8.2.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.3.0 on April 5, 2017. (Drupal 8.3.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.3.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.4.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.3.x-dev » 8.4.x-dev

Drupal 8.3.6 was released on August 2, 2017 and is the final full bugfix release for the Drupal 8.3.x series. Drupal 8.3.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.4.0 on October 4, 2017. (Drupal 8.4.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.4.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.5.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.4.x-dev » 8.5.x-dev

Drupal 8.4.4 was released on January 3, 2018 and is the final full bugfix release for the Drupal 8.4.x series. Drupal 8.4.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.5.0 on March 7, 2018. (Drupal 8.5.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.5.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.6.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.5.x-dev » 8.6.x-dev

Drupal 8.5.6 was released on August 1, 2018 and is the final bugfix release for the Drupal 8.5.x series. Drupal 8.5.x will not receive any further development aside from security fixes. Sites should prepare to update to 8.6.0 on September 5, 2018. (Drupal 8.6.0-rc1 is available for testing.)

Bug reports should be targeted against the 8.6.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.7.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.6.x-dev » 8.8.x-dev

Drupal 8.6.x will not receive any further development aside from security fixes. Bug reports should be targeted against the 8.8.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.9.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 8.8.x-dev » 8.9.x-dev

Drupal 8.8.7 was released on June 3, 2020 and is the final full bugfix release for the Drupal 8.8.x series. Drupal 8.8.x will not receive any further development aside from security fixes. Sites should prepare to update to Drupal 8.9.0 or Drupal 9.0.0 for ongoing support.

Bug reports should be targeted against the 8.9.x-dev branch from now on, and new development or disruptive changes should be targeted against the 9.1.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 8.9.x-dev » 9.2.x-dev

Drupal 8 is end-of-life as of November 17, 2021. There will not be further changes made to Drupal 8. Bugfixes are now made to the 9.3.x and higher branches only. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.2.x-dev » 9.3.x-dev

Version: 9.3.x-dev » 9.4.x-dev

Drupal 9.3.15 was released on June 1st, 2022 and is the final full bugfix release for the Drupal 9.3.x series. Drupal 9.3.x will not receive any further development aside from security fixes. Drupal 9 bug reports should be targeted for the 9.4.x-dev branch from now on, and new development or disruptive changes should be targeted for the 9.5.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.4.x-dev » 9.5.x-dev

Drupal 9.4.9 was released on December 7, 2022 and is the final full bugfix release for the Drupal 9.4.x series. Drupal 9.4.x will not receive any further development aside from security fixes. Drupal 9 bug reports should be targeted for the 9.5.x-dev branch from now on, and new development or disruptive changes should be targeted for the 10.1.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

quietone’s picture

Version: 9.5.x-dev » 7.x-dev
Issue summary: View changes
Status: Needs work » Closed (outdated)

The text being changed here was removed in #524728: Refactor install.php to allow Drupal to be installed from the command line, In Drupal 7

Therefore, closing this.