From 9b720f926acf7b928cd05f9151d76e5bbba6d9d3 Mon Sep 17 00:00:00 2001
From: moodler Please confirm the locations of this Moodle installation. 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. 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'. 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. 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:
+
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.";
-
-$string['dirroot'] = 'Directory';
-$string['dirrooterror'] = "The 'Directory' setting was incorrect. Try the following setting";
+php_value memory_limit 16M
";
+$string['memorylimiterror'] = 'The PHP memory limit is set quite low ... you may run into problems later.';
+$string['memorylimithelp'] = "
+
+
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. +"; $string['pass'] = 'Pass'; -$string['PHPversion'] = 'PHP version'; -$string['PHPversionerror'] = 'PHP version must be at least 4.1.0'; -$string['phpversionhelp'] = "Moodle requires a PHP version of at least 4.1.0. You are currently running version \$a"; +$string['phpversion'] = 'PHP version'; +$string['phpversionerror'] = 'PHP version must be at least 4.1.0'; +$string['phpversionhelp'] = " +
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."; ?> -- 2.39.5