2004-08-12 15:53:32 +00:00
< ? php // $Id$
$string [ 'admindirerror' ] = 'The admin directory specified is incorrect' ;
$string [ 'admindirname' ] = 'Admin Directory' ;
$string [ 'admindirsetting' ] = "
2004-08-17 13:51:41 +00:00
A very few webhosts use / admin as a special URL for you to access a
2004-08-12 15:53:32 +00:00
control panel or something . Unfortunately this conflicts with the
standard location for the Moodle admin pages . You can fix this by
renaming the admin directory in your installation , and putting that
2004-08-17 13:51:41 +00:00
new name here . For example : < br />& nbsp ; < br />< b > moodleadmin </ b >< br />& nbsp ; < br />
This will fix admin links in Moodle . " ;
2004-08-19 08:53:59 +00:00
$string [ 'caution' ] = 'Caution' ;
2004-08-12 15:53:32 +00:00
$string [ 'chooselanguage' ] = 'Choose a language' ;
2004-08-17 14:12:01 +00:00
$string [ 'compatibilitysettings' ] = 'Checking your PHP settings ...' ;
2004-08-21 17:15:07 +00:00
$string [ 'configfilenotwritten' ] = " The installer script was not able to automatically create a config.php file containing your chosen settings, probably because the Moodle directory is not writeable. You can manually copy the following code into a file named config.php within the root directory of Moodle. " ;
2004-08-12 15:53:32 +00:00
$string [ 'configfilewritten' ] = " config.php has been successfully created " ;
$string [ 'configurationcomplete' ] = 'Configuration completed' ;
$string [ 'database' ] = 'Database' ;
$string [ 'databasesettings' ] = "
2004-08-17 13:51:41 +00:00
Now you need to configure the database where most Moodle data
2004-08-12 15:53:32 +00:00
will be stored . This database must already have been created
2004-08-17 13:51:41 +00:00
and a username and password created to access it .< br />
< br />& nbsp ; < br />
< b > Type :</ b > mysql or postgres7 < br />
< b > Host :</ b > eg localhost or db . isp . com < br />
< b > Name :</ b > database name , eg moodle < br />
< b > User :</ b > your database username < br />
< b > Password :</ b > your database password < br />
2004-08-19 08:53:59 +00:00
< b > Tables Prefix :</ b > 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.' ;
2004-08-12 15:53:32 +00:00
$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' ] = "
2004-08-19 08:53:59 +00:00
< p > Please confirm the locations of this Moodle installation .</ p >
< p >< b > Web Address :</ b >
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 .</ p >
< p >< b > Moodle Directory :</ b >
Specify the full directory path to this installation
Make sure the upper / lower case is correct .</ p >
< p >< b > Data Directory :</ b >
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 .</ p >
" ;
$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' ;
2004-08-17 13:51:41 +00:00
$string [ 'fail' ] = 'Fail' ;
$string [ 'fileuploads' ] = 'File Uploads' ;
$string [ 'fileuploadserror' ] = 'This should be on' ;
2004-08-19 08:53:59 +00:00
$string [ 'fileuploadshelp' ] = "
< p > File uploading seems to be disabled on your server .</ p >
< p > Moodle can still be installed , but without this ability , you will not be able
to upload course files or new user profile images .
< p > 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
< b > file_uploads </ b > to '1' .</ p >
" ;
2004-08-17 13:51:41 +00:00
$string [ 'gdversion' ] = 'GD version' ;
$string [ 'gdversionerror' ] = 'The GD library should be present to process and create images' ;
2004-08-19 08:53:59 +00:00
$string [ 'gdversionhelp' ] = '
< p > Your server does not seem to have GD installed .</ p >
< p > 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 .</ p >
< p > To add GD to PHP under Unix , compile PHP using the -- with - gd parameter .</ p >
< p > Under Windows you can usually edit php . ini and uncomment the line referencing libgd . dll .</ p >
' ;
2004-08-17 13:51:41 +00:00
$string [ 'installation' ] = 'Installation' ;
$string [ 'memorylimit' ] = 'Memory Limit' ;
2004-08-19 08:53:59 +00:00
$string [ 'memorylimiterror' ] = 'The PHP memory limit is set quite low ... you may run into problems later.' ;
$string [ 'memorylimithelp' ] = "
< p > The PHP memory limit for your server is currently set to \ $a .</ p >
< p > 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 .
< p > We recommend that you configure PHP with a higher limit if possible , like 16 M .
There are several ways of doing this that you can try :
< ol >
< li > If you are able to , recompile PHP with < i >-- enable - memory - limit </ i >.
This will allow Moodle to set the memory limit itself .
< li > If you have access to your php . ini file , you can change the < b > memory_limit </ b >
setting in there to something like 16 M . If you don ' t have access you might
be able to ask your administrator to do this for you .
< li > On some PHP servers you can create a . htaccess file in the Moodle directory
containing this line :
< p >< blockquote > php_value memory_limit 16 M </ blockquote ></ p >
< p > However , on some servers this will prevent < b > all </ b > PHP pages from working
( you will see errors when you look at pages ) so you ' ll have to remove the . htaccess file .
</ ol > " ;
2004-08-17 13:51:41 +00:00
$string [ 'pass' ] = 'Pass' ;
2004-08-19 08:53:59 +00:00
$string [ 'phpversion' ] = 'PHP version' ;
$string [ 'phpversionerror' ] = 'PHP version must be at least 4.1.0' ;
$string [ 'phpversionhelp' ] = "
< p > Moodle requires a PHP version of at least 4.1 . 0. </ p >
< p > You are currently running version \ $a </ p >
< p > You must upgrade PHP or move to a host with a newer version of PHP !</ p > " ;
2004-08-17 13:51:41 +00:00
$string [ 'safemode' ] = 'Safe Mode' ;
2004-08-19 08:53:59 +00:00
$string [ 'safemodeerror' ] = 'Moodle may have trouble with safe mode on' ;
$string [ 'safemodehelp' ] = '
< p > 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 .</ p >
< p > 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 .</ p >
< p > You can try continuing the install if you like , but expect a few problems later on .</ p > ' ;
2004-08-17 13:51:41 +00:00
$string [ 'sessionautostart' ] = 'Session Auto Start' ;
$string [ 'sessionautostarterror' ] = 'This should be off' ;
2004-08-19 08:53:59 +00:00
$string [ 'sessionautostarthelp' ] = '
< p > Moodle requires session support and will not function without it .</ p >
< p > Sessions can be enabled in the php . ini file ... look for the session . auto_start parameter .</ p >
' ;
2004-08-17 13:51:41 +00:00
$string [ 'magicquotesruntime' ] = 'Magic Quotes Run Time' ;
$string [ 'magicquotesruntimeerror' ] = 'This should be off' ;
2004-08-19 08:53:59 +00:00
$string [ 'magicquotesruntimehelp' ] = "
< p > Magic quotes runtime should be turned off for Moodle to function properly .</ p >
< p > Normally it is off by default ... see the setting < b > magic_quotes_runtime </ b > in your php . ini file .</ p >
< p > 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 :
< blockquote > php_value magic_quotes_runtime Off </ blockquote >
</ p >
" ;
$string [ 'wwwroot' ] = 'Web address' ;
$string [ 'wwwrooterror' ] = " The web address does not appear to be valid - this Moodle installation doesn't appear to be there. " ;
2004-08-12 15:53:32 +00:00
?>