2 // install.php - created with Moodle 1.7 beta + (2006101003)
5 $string['admindirerror'] = 'The admin directory specified is incorrect';
6 $string['admindirname'] = 'Admin Directory';
7 $string['admindirsetting'] = 'A very few webhosts use /admin as a special URL for you to access a
8 control panel or something. Unfortunately this conflicts with the
9 standard location for the Moodle admin pages. You can fix this by
10 renaming the admin directory in your installation, and putting that
11 new name here. For example: <br /> <br /><b>moodleadmin</b><br /> <br />
12 This will fix admin links in Moodle.';
13 $string['admindirsettinghead'] = 'Setting the admin directory ...';
14 $string['admindirsettingsub'] = 'A very few webhosts use /admin as a special URL for you to access a
15 control panel or something. Unfortunately this conflicts with the
16 standard location for the Moodle admin pages. You can fix this by
17 renaming the admin directory in your installation, and putting that
18 new name here. For example: <br /> <br /><b>moodleadmin</b><br /> <br />
19 This will fix admin links in Moodle.';
20 $string['caution'] = 'Caution';
21 $string['chooselanguage'] = 'Choose a language';
22 $string['chooselanguagehead'] = 'Choose a language';
23 $string['chooselanguagesub'] = 'Please choose a language for the installation ONLY. You will be able to choose site and user languages on a later screen.';
24 $string['compatibilitysettings'] = 'Checking your PHP settings ...';
25 $string['compatibilitysettingshead'] = 'Checking your PHP settings ...';
26 $string['compatibilitysettingssub'] = 'Your server should pass all these tests to make Moodle run properly';
27 $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.';
28 $string['configfilewritten'] = 'config.php has been successfully created';
29 $string['configurationcomplete'] = 'Configuration completed';
30 $string['configurationcompletehead'] = 'Configuration completed';
31 $string['configurationcompletesub'] = 'Moodle made an attempt to save your configuration in a file in the root of your Moodle installation.';
32 $string['database'] = 'Database';
33 $string['databasecreationsettings'] = 'Now you need to configure the database settings where most Moodle data
34 will be stored. This database will be created automatically by the installer
35 with the settings specified below.<br />
37 <b>Type:</b> fixed to \"mysql\" by the installer<br />
38 <b>Host:</b> fixed to \"localhost\" by the installer<br />
39 <b>Name:</b> database name, eg moodle<br />
40 <b>User:</b> fixed to \"root\" by the installer<br />
41 <b>Password:</b> your database password<br />
42 <b>Tables Prefix:</b> optional prefix to use for all table names';
43 $string['databasecreationsettingshead'] = 'Now you need to configure the database settings where most Moodle data
44 will be stored. This database will be created automatically by the installer
45 with the settings specified below.';
46 $string['databasecreationsettingssub'] = '<b>Type:</b> fixed to \"mysql\" by the installer<br />
47 <b>Host:</b> fixed to \"localhost\" by the installer<br />
48 <b>Name:</b> database name, eg moodle<br />
49 <b>User:</b> fixed to \"root\" by the installer<br />
50 <b>Password:</b> your database password<br />
51 <b>Tables Prefix:</b> optional prefix to use for all table names';
52 $string['databasesettings'] = 'Now you need to configure the database where most Moodle data
53 will be stored. This database must already have been created
54 and a username and password created to access it.<br />
56 <b>Type:</b> mysql or postgres7<br />
57 <b>Host:</b> eg localhost or db.isp.com<br />
58 <b>Name:</b> database name, eg moodle<br />
59 <b>User:</b> your database username<br />
60 <b>Password:</b> your database password<br />
61 <b>Tables Prefix:</b> optional prefix to use for all table names';
62 $string['databasesettingshead'] = 'Now you need to configure the database where most Moodle data
63 will be stored. This database must already have been created
64 and a username and password created to access it.';
65 $string['databasesettingssub'] = '<b>Type:</b> mysql or postgres7<br />
66 <b>Host:</b> eg localhost or db.isp.com<br />
67 <b>Name:</b> database name, eg moodle<br />
68 <b>User:</b> your database username<br />
69 <b>Password:</b> your database password<br />
70 <b>Tables Prefix:</b> optional prefix to use for all table names';
71 $string['databasesettingssub_mssql'] = '<b>Type:</b> SQL*Server (non UTF-8) <b><font color=\"red\">Experimental! (not for use in production)</font></b><br />
72 <b>Host:</b> eg localhost or db.isp.com<br />
73 <b>Name:</b> database name, eg moodle<br />
74 <b>User:</b> your database username<br />
75 <b>Password:</b> your database password<br />
76 <b>Tables Prefix:</b> prefix to use for all table names (mandatory)';
77 $string['databasesettingssub_mssql_n'] = '<b>Type:</b> SQL*Server (UTF-8 enabled)<br />
78 <b>Host:</b> eg localhost or db.isp.com<br />
79 <b>Name:</b> database name, eg moodle<br />
80 <b>User:</b> your database username<br />
81 <b>Password:</b> your database password<br />
82 <b>Tables Prefix:</b> prefix to use for all table names (mandatory)';
83 $string['databasesettingssub_mysql'] = '<b>Type:</b> MySQL<br />
84 <b>Host:</b> eg localhost or db.isp.com<br />
85 <b>Name:</b> database name, eg moodle<br />
86 <b>User:</b> your database username<br />
87 <b>Password:</b> your database password<br />
88 <b>Tables Prefix:</b> prefix to use for all table names (optional)';
89 $string['databasesettingssub_oci8po'] = '<b>Type:</b> Oracle<br />
90 <b>Host:</b> not used, must be left blank<br />
91 <b>Name:</b> given name of the tnsnames.ora connection<br />
92 <b>User:</b> your database username<br />
93 <b>Password:</b> your database password<br />
94 <b>Tables Prefix:</b> prefix to use for all table names (mandatory, 2cc. max)';
95 $string['databasesettingssub_odbc_mssql'] = '<b>Type:</b> SQL*Server (over ODBC) <b><font color=\"red\">Experimental! (not for use in production)</font></b><br />
96 <b>Host:</b> given name of the DSN in the ODBC control panel<br />
97 <b>Name:</b> database name, eg moodle<br />
98 <b>User:</b> your database username<br />
99 <b>Password:</b> your database password<br />
100 <b>Tables Prefix:</b> prefix to use for all table names (mandatory)';
101 $string['databasesettingssub_postgres7'] = '<b>Type:</b> PostgreSQL<br />
102 <b>Host:</b> eg localhost or db.isp.com<br />
103 <b>Name:</b> database name, eg moodle<br />
104 <b>User:</b> your database username<br />
105 <b>Password:</b> your database password<br />
106 <b>Tables Prefix:</b> prefix to use for all table names (mandatory)';
107 $string['dataroot'] = 'Data Directory';
108 $string['datarooterror'] = 'The \'Data Directory\' you specified could not be found or created. Either correct the path or create that directory manually.';
109 $string['dbconnectionerror'] = 'We could not connect to the database you specified. Please check your database settings.';
110 $string['dbcreationerror'] = 'Database creation error. Could not create the given database name with the settings provided';
111 $string['dbhost'] = 'Host Server';
112 $string['dbpass'] = 'Password';
113 $string['dbprefix'] = 'Tables prefix';
114 $string['dbtype'] = 'Type';
115 $string['dbwrongencoding'] = 'The selected database is running under one non-recommended encoding ($a). It would be better to use one Unicode (UTF-8) encoded database instead. Anyway, you can bypass this test by selecting the \"Skip DB Encoding Test\" check below, but you could experience problems in the future.';
116 $string['dbwronghostserver'] = 'You must follow \"Host\" rules as explained above.';
117 $string['dbwrongnlslang'] = 'The NLS_LANG environment variable in your web server must use the AL32UTF8 charset. See PHP documentation about how to configure OCI8 properly.';
118 $string['dbwrongprefix'] = 'You must follow \"Tables Prefix\" rules as explained above.';
119 $string['directorysettings'] = '<p>Please confirm the locations of this Moodle installation.</p>
121 <p><b>Web Address:</b>
122 Specify the full web address where Moodle will be accessed.
123 If your web site is accessible via multiple URLs then choose the
124 most natural one that your students would use. Do not include
125 a trailing slash.</p>
127 <p><b>Moodle Directory:</b>
128 Specify the full directory path to this installation
129 Make sure the upper/lower case is correct.</p>
131 <p><b>Data Directory:</b>
132 You need a place where Moodle can save uploaded files. This
133 directory should be readable AND WRITEABLE by the web server user
134 (usually \'nobody\' or \'apache\'), but it must not be accessible
135 directly via the web.</p>';
136 $string['directorysettingshead'] = 'Please confirm the locations of this Moodle installation';
137 $string['directorysettingssub'] = '<b>Web Address:</b>
138 Specify the full web address where Moodle will be accessed.
139 If your web site is accessible via multiple URLs then choose the
140 most natural one that your students would use. Do not include
144 <b>Moodle Directory:</b>
145 Specify the full directory path to this installation
146 Make sure the upper/lower case is correct.
149 <b>Data Directory:</b>
150 You need a place where Moodle can save uploaded files. This
151 directory should be readable AND WRITEABLE by the web server user
152 (usually \'nobody\' or \'apache\'), but it should not be accessible
153 directly via the web.';
154 $string['dirroot'] = 'Moodle Directory';
155 $string['dirrooterror'] = 'The \'Moodle Directory\' setting seems to be incorrect - we can\'t find a Moodle installation there. The value below has been reset.';
156 $string['download'] = 'Download';
157 $string['downloadlanguagebutton'] = 'Download the "$a" language pack';
158 $string['downloadlanguagehead'] = 'Download language pack';
159 $string['downloadlanguagenotneeded'] = 'You may continue the installation process using the default language pack, \"$a\".';
160 $string['downloadlanguagesub'] = 'You now have the option of downloading a language pack and continuing the installation process in this language.<br /><br />If you are unable to download the language pack, the installation process will continue in English. (Once the installation process is complete, you will have the opportunity to download and install additional language packs.)';
161 $string['environmenthead'] = 'Checking your environment ...';
162 $string['environmentsub'] = 'We are checking if the various components of your system meet the system requirements';
163 $string['fail'] = 'Fail';
164 $string['fileuploads'] = 'File Uploads';
165 $string['fileuploadserror'] = 'This should be on';
166 $string['fileuploadshelp'] = '<p>File uploading seems to be disabled on your server.</p>
168 <p>Moodle can still be installed, but without this ability, you will not be able
169 to upload course files or new user profile images.</p>
171 <p>To enable file uploading you (or your system administrator) will need to
172 edit the main php.ini file on your system and change the setting for
173 <b>file_uploads</b> to \'1\'.</p>';
174 $string['gdversion'] = 'GD version';
175 $string['gdversionerror'] = 'The GD library should be present to process and create images';
176 $string['gdversionhelp'] = '<p>Your server does not seem to have GD installed.</p>
178 <p>GD is a library that is required by PHP to allow Moodle to process images
179 (such as the user profile icons) and to create new images (such as
180 the log graphs). Moodle will still work without GD - these features
181 will just not be available to you.</p>
183 <p>To add GD to PHP under Unix, compile PHP using the --with-gd parameter.</p>
185 <p>Under Windows you can usually edit php.ini and uncomment the line referencing php_gd2.dll.</p>';
186 $string['globalsquotes'] = 'Insecure Handling of Globals';
187 $string['globalsquoteserror'] = 'Fix your PHP settings: disable register_globals and/or enable magic_quotes_gpc';
188 $string['globalsquoteshelp'] = '<p>Combination of disabled Magic Quotes GPC and enabled Register Globals both at the same time is not recommended.</p>
190 <p>The recommended setting is <b>magic_quotes_gpc = On</b> and <b>register_globals = Off</b> in your php.ini</p>
192 <p>If you don\'t have access to your php.ini, you might be able to place the following line in a file
193 called .htaccess within your Moodle directory:
194 <blockquote>php_value magic_quotes_gpc On</blockquote>
195 <blockquote>php_value register_globals Off</blockquote>
197 $string['installation'] = 'Installation';
198 $string['langdownloaderror'] = 'Unfortunately the language \"$a\" was not installed. The installation process will continue in English.';
199 $string['langdownloadok'] = 'The language \"$a\" was installed successfully. The installation process will continue in this language.';
200 $string['magicquotesruntime'] = 'Magic Quotes Run Time';
201 $string['magicquotesruntimeerror'] = 'This should be off';
202 $string['magicquotesruntimehelp'] = '<p>Magic quotes runtime should be turned off for Moodle to function properly.</p>
204 <p>Normally it is off by default ... see the setting <b>magic_quotes_runtime</b> in your php.ini file.</p>
206 <p>If you don\'t have access to your php.ini, you might be able to place the following line in a file
207 called .htaccess within your Moodle directory:
208 <blockquote>php_value magic_quotes_runtime Off</blockquote>
210 $string['memorylimit'] = 'Memory Limit';
211 $string['memorylimiterror'] = 'The PHP memory limit is set quite low ... you may run into problems later.';
212 $string['memorylimithelp'] = '<p>The PHP memory limit for your server is currently set to $a.</p>
214 <p>This may cause Moodle to have memory problems later on, especially
215 if you have a lot of modules enabled and/or a lot of users.</p>
217 <p>We recommend that you configure PHP with a higher limit if possible, like 40M.
218 There are several ways of doing this that you can try:</p>
220 <li>If you are able to, recompile PHP with <i>--enable-memory-limit</i>.
221 This will allow Moodle to set the memory limit itself.</li>
222 <li>If you have access to your php.ini file, you can change the <b>memory_limit</b>
223 setting in there to something like 40M. If you don\'t have access you might
224 be able to ask your administrator to do this for you.</li>
225 <li>On some PHP servers you can create a .htaccess file in the Moodle directory
226 containing this line:
227 <p><blockquote>php_value memory_limit 40M</blockquote></p>
228 <p>However, on some servers this will prevent <b>all</b> PHP pages from working
229 (you will see errors when you look at pages) so you\'ll have to remove the .htaccess file.</p></li>
231 $string['mssql'] = 'SQL*Server (mssql)';
232 $string['mssql_n'] = 'SQL*Server with UTF-8 support (mssql_n)';
233 $string['mssqlextensionisnotpresentinphp'] = 'PHP has not been properly configured with the MSSQL extension so that it can communicate with SQL*Server. Please check your php.ini file or recompile PHP.';
234 $string['mysql'] = 'MySQL (mysql)';
235 $string['mysqlextensionisnotpresentinphp'] = 'PHP has not been properly configured with the MySQL extension so that it can communicate with MySQL. Please check your php.ini file or recompile PHP.';
236 $string['oci8po'] = 'Oracle (oci8po)';
237 $string['ociextensionisnotpresentinphp'] = 'PHP has not been properly configured with the OCI8 extension so that it can communicate with Oracle. Please check your php.ini file or recompile PHP.';
238 $string['odbc_mssql'] = 'SQL*Server over ODBC (odbc_mssql)';
239 $string['odbcextensionisnotpresentinphp'] = 'PHP has not been properly configured with the ODBC extension so that it can communicate with SQL*Server. Please check your php.ini file or recompile PHP.';
240 $string['pass'] = 'Pass';
241 $string['pgsqlextensionisnotpresentinphp'] = 'PHP has not been properly configured with the PGSQL extension so that it can communicate with PostgreSQL. Please check your php.ini file or recompile PHP.';
242 $string['phpversion'] = 'PHP version';
243 $string['phpversionerror'] = 'PHP version must be at least 4.3.0 or 5.1.0 (5.0.x has a number of known problems).';
244 $string['phpversionhelp'] = '<p>Moodle requires a PHP version of at least 4.3.0 or 5.1.0 (5.0.x has a number of known problems).</p>
245 <p>You are currently running version $a</p>
246 <p>You must upgrade PHP or move to a host with a newer version of PHP!<br/>
247 (In case of 5.0.x you could also downgrade to 4.4.x version)</p>';
248 $string['postgres7'] = 'PostgreSQL (postgres7)';
249 $string['safemode'] = 'Safe Mode';
250 $string['safemodeerror'] = 'Moodle may have trouble with safe mode on';
251 $string['safemodehelp'] = '<p>Moodle may have a variety of problems with safe mode on, not least is that
252 it probably won\'t be allowed to create new files.</p>
254 <p>Safe mode is usually only enabled by paranoid public web hosts, so you may have
255 to just find a new web hosting company for your Moodle site.</p>
257 <p>You can try continuing the install if you like, but expect a few problems later on.</p>';
258 $string['sessionautostart'] = 'Session Auto Start';
259 $string['sessionautostarterror'] = 'This should be off';
260 $string['sessionautostarthelp'] = '<p>Moodle requires session support and will not function without it.</p>
262 <p>Sessions can be enabled in the php.ini file ... look for the session.auto_start parameter.</p>';
263 $string['skipdbencodingtest'] = 'Skip DB Encoding Test';
264 $string['welcomep10'] = '$a->installername ($a->installerversion)';
265 $string['welcomep20'] = 'You are seeing this page because you have successfully installed and
266 launched the <strong>$a->packname $a->packversion</strong> package in your computer. Congratulations!';
267 $string['welcomep30'] = 'This release of the <strong>$a->installername</strong> includes the applications
268 to create an environment in which <strong>Moodle</strong> will operate, namely:';
269 $string['welcomep40'] = 'The package also includes <strong>Moodle $a->moodlerelease ($a->moodleversion)</strong>.';
270 $string['welcomep50'] = 'The use of all the applications in this package is governed by their respective
271 licences. The complete <strong>$a->installername</strong> package is
272 <a href=\"http://www.opensource.org/docs/definition_plain.html\">open source</a> and is distributed
273 under the <a href=\"http://www.gnu.org/copyleft/gpl.html\">GPL</a> license.';
274 $string['welcomep60'] = 'The following pages will lead you through some easy to follow steps to
275 configure and set up <strong>Moodle</strong> on your computer. You may accept the default
276 settings or, optionally, amend them to suit your own needs.';
277 $string['welcomep70'] = 'Click the \"Next\" button below to continue with the set up of <strong>Moodle</strong>.';
278 $string['wwwroot'] = 'Web address';
279 $string['wwwrooterror'] = 'The \'Web Address\' does not appear to be valid - this Moodle installation doesn\'t appear to be there. The value below has been reset.';