diff --git a/lang/en/install.php b/lang/en/install.php
index e29d4d80d54..6baf2f1b53a 100755
--- a/lang/en/install.php
+++ b/lang/en/install.php
@@ -9,6 +9,7 @@ $string['admindirsetting'] = "
renaming the admin directory in your installation, and putting that
new name here. For example:
moodleadmin
This will fix admin links in Moodle.";
+$string['caution'] = 'Caution';
$string['chooselanguage'] = 'Choose a language';
$string['compatibilitysettings'] = 'Checking your PHP settings ...';
$string['configfilenotwritten'] = "The installer script was not able to automatically create a config.php file containing your chosen settings. Please copy the following code into a file named config.php within the root directory of Moodle.";
@@ -26,60 +27,126 @@ $string['databasesettings'] = "
Name: database name, eg moodle
User: your database username
Password: your database password
- Tables Prefix: prefix to use for all table names";
-$string['dataroot'] = 'Data';
-$string['datarooterror'] = "The 'Data' setting is incorrect";
-$string['dbconnectionerror'] = 'Database connection error. Please check your database settings';
+ Tables Prefix: optional prefix to use for all table names";
+
+$string['dataroot'] = 'Data Directory';
+$string['datarooterror'] = "The 'Data Directory' you specified could not be found or created. Either correct the path or create that directory manually.";
+$string['dbconnectionerror'] = 'We could not connect to the database you specified. Please check your database settings.';
$string['dbcreationerror'] = 'Database creation error. Could not create the given database name with the settings provided';
$string['dbhost'] = 'Host Server';
$string['dbpass'] = 'Password';
$string['dbprefix'] = 'Tables prefix';
$string['dbtype'] = 'Type';
$string['directorysettings'] = "
- WWW:
- You need to tell Moodle where it is located. Specify the full
- web address to where moodle has been installed. If your web site
- is accessible via multiple URLs then choose the most natural one
- that your students would use. Do not include a trailing slash
- Directory:
- Specify the full OS directory path to this same location
- Make sure the upper/lower case is correct
- Data:
- You need a place where Moodle can save uploaded files. This
- directory should be readable AND WRITEABLE by the web server user
- (usually 'nobody' or 'apache'), but it should not be accessible
- directly via the web.";
+
Please confirm the locations of this Moodle installation.
-$string['dirroot'] = 'Directory'; -$string['dirrooterror'] = "The 'Directory' setting was incorrect. Try the following setting"; +Web Address: +Specify the full web address where Moodle will be accessed. +If your web site is accessible via multiple URLs then choose the +most natural one that your students would use. Do not include +a trailing slash.
+ +Moodle Directory: +Specify the full directory path to this installation +Make sure the upper/lower case is correct.
+ +Data Directory: +You need a place where Moodle can save uploaded files. This +directory should be readable AND WRITEABLE by the web server user +(usually 'nobody' or 'apache'), but it should not be accessible +directly via the web.
+"; + +$string['dirroot'] = 'Moodle Directory'; +$string['dirrooterror'] = "The 'Moodle Directory' setting seems to be incorrect - we can't find a Moodle installation there. The value below has been reset."; +$string['download'] = 'Download'; $string['fail'] = 'Fail'; $string['fileuploads'] = 'File Uploads'; $string['fileuploadserror'] = 'This should be on'; -$string['fileuploadshelp'] = 'Moodle requires file uploading to be switched on'; +$string['fileuploadshelp'] = " +File uploading seems to be disabled on your server.
+ +Moodle can still be installed, but without this ability, you will not be able + to upload course files or new user profile images. + +
To enable file uploading you (or your system administrator) will need to + edit the main php.ini file on your system and change the setting for + file_uploads to '1'.
+"; $string['gdversion'] = 'GD version'; $string['gdversionerror'] = 'The GD library should be present to process and create images'; -$string['gdversionhelp'] = 'The GD library should be present to process and create images'; +$string['gdversionhelp'] = ' +Your server does not seem to have GD installed.
+ +GD is a library that is required by PHP to allow Moodle to process images + (such as the user profile icons) and to create new images (such as + the log graphs). Moodle will still work without GD - these features + will just not be available to you.
+ +To add GD to PHP under Unix, compile PHP using the --with-gd parameter.
+ +Under Windows you can usually edit php.ini and uncomment the line referencing libgd.dll.
+'; $string['installation'] = 'Installation'; $string['memorylimit'] = 'Memory Limit'; -$string['memorylimiterror'] = 'The PHP memory limit setting needs to be set to at least 16M, or be changeable'; -$string['memorylimithelp'] = "The memory limit needs to be set to at least 16M, or be changeable. Your current memory limit is set to \$a.You can change your memory limit in your php.ini file, or sometimes by creating a .htaccess file in the Moodle directory containing this line:
The PHP memory limit for your server is currently set to \$a.
+ +This may cause Moodle to have memory problems later on, especially + if you have a lot of modules enabled and/or a lot of users. + +
We recommend that you configure PHP with a higher limit if possible, like 16M. + There are several ways of doing this that you can try: +
php_value memory_limit 16M+
However, on some servers this will prevent all PHP pages from working + (you will see errors when you look at pages) so you'll have to remove the .htaccess file. +
Moodle requires a PHP version of at least 4.1.0.
+You are currently running version \$a
+You must upgrade PHP or move to a host with a newer version of PHP!
"; $string['safemode'] = 'Safe Mode'; -$string['safemodeerror'] = 'Moodle can not handle files properly with safe mode on'; -$string['safemodehelp'] = 'Moodle can not handle files properly with safe mode on'; +$string['safemodeerror'] = 'Moodle may have trouble with safe mode on'; +$string['safemodehelp'] = ' +Moodle may have a variety of problems with safe mode on, not least is that + it probably won\'t be allowed to create new files.
+ +Safe mode is usually only enabled by paranoid public web hosts, so you may have + to just find a new web hosting company for your Moodle site.
+ +You can try continuing the install if you like, but expect a few problems later on.
'; $string['sessionautostart'] = 'Session Auto Start'; $string['sessionautostarterror'] = 'This should be off'; -$string['sessionautostarthelp'] = 'Session auto start should be turned off'; -$string['sessionsavepath'] = 'Session Save Path'; -$string['sessionsavepatherror'] = 'It seems your server does not support sessions'; -$string['sessionsavepathhelp'] = 'Moodle requires session support'; +$string['sessionautostarthelp'] = ' +Moodle requires session support and will not function without it.
+ +Sessions can be enabled in the php.ini file ... look for the session.auto_start parameter.
+'; $string['magicquotesruntime'] = 'Magic Quotes Run Time'; $string['magicquotesruntimeerror'] = 'This should be off'; -$string['magicquotesruntimehelp'] = 'Magic quotes should be turned off'; -$string['wwwroot'] = 'WWW'; -$string['wwwrooterror'] = "The 'WWW' setting is incorrect"; +$string['magicquotesruntimehelp'] = " +Magic quotes runtime should be turned off for Moodle to function properly.
+ +Normally it is off by default ... see the setting magic_quotes_runtime in your php.ini file.
+ +If you don't have access to your php.ini, you might be able to place the following line in a file + called .htaccess within your Moodle directory: +
php_value magic_quotes_runtime Off+ + "; +$string['wwwroot'] = 'Web address'; +$string['wwwrooterror'] = "The web address does not appear to be valid - this Moodle installation doesn't appear to be there."; ?>