From 3f3962f04120caf9c51cc4381dcac20123d745da Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Wed, 24 Feb 2010 22:34:53 +0000 Subject: [PATCH] ENHANCEMENT #5024 Installer now checks that the user has entered a username and password correctly for the default admin, an additional button for re-checking requirements is now found at the bottom of the admin configuration section ENHANCEMENT Error messages for database AND admin configuration are now in the same place at the top of the installer git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@99841 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- dev/install/config-form.html | 31 ++++++++++++++++++++----------- 1 file changed, 20 insertions(+), 11 deletions(-) diff --git a/dev/install/config-form.html b/dev/install/config-form.html index bc7349060..22bc25cc5 100644 --- a/dev/install/config-form.html +++ b/dev/install/config-form.html @@ -80,10 +80,26 @@ Please see below for details.
If you are having problems meeting the requirements, see the server requirements wiki page.

- hasErrors()) { ?> + hasErrors() && !$adminReq->hasErrors()) { ?>

You're ready to install!

+ hasErrors()) { ?> +

+ The database details don't appear to be correct. Please enter the correct details before installing. +

+ +

+ These database details look all good! +

+ + + hasErrors()) { ?> +

+ Please enter a username and password for the default administrator account before installing. +

+ +

Template to install: