73 Commits

Author SHA1 Message Date
skodak
1a639adc88 MDL-9363 update memory limit checks and docs - grrr, removed debug code 2007-04-15 14:44:28 +00:00
skodak
1cc1456bd2 MDL-9363 update memory limit checks and docs; merged from MOODLE_18_STABLE 2007-04-15 14:30:47 +00:00
nicolasconnault
a66fe10336 MDL-8758 - Corrected the packagezip -> package.zip typo in 3 locations (2 in admin/langimport.php and 1 in install.php). The notification about allow_url_fopen has already been added to the default lang/en_utf8/error.php string. 2007-03-07 02:02:41 +00:00
stronk7
70205c746e Some more notices are now out. Caused by current_language()
Merged from MOODLE_18_STABLE
2007-02-23 18:17:01 +00:00
defacer
9b70d31437 Fixing a silly cosmetic thing under Windows... 2007-02-23 02:35:22 +00:00
defacer
5782d81809 Fixing ugly blue border around help icon during installation 2007-02-23 01:42:46 +00:00
defacer
23b86e1cf1 Fixing a few tons of notices when installing
if error_reporting = E_ALL in php.ini.

I 'm back! :D
2007-02-23 01:23:04 +00:00
moodler
5bc28e71eb Removed the raquo completely MDL-8528 2007-02-19 13:31:56 +00:00
skodak
d36afd6d43 MDL-8204 several installer improvements:
* dirroot can not be changed now to prevent future problems - because we rely on dirname(_FILE_) in several places already
* dirroot is now used to detect repeated installs into defferent directories in the same browser sessions
* fixed previous button
* changed library inlcudes again to fit the normal coding style
2007-01-16 23:42:26 +00:00
skodak
6647e04ac9 MDL-8110 use standard _FILE_ for includes instead of path starting with dot 2007-01-16 08:56:36 +00:00
stronk7
3facbe6632 Now help information is back again (typo in js) and, under MySQL, the script is
able to change DB encoding if empty.
2007-01-13 20:06:17 +00:00
stronk7
1d5c40048a Moving set_dbfamily() from dmllib.php to setuplib.php as it's
needed in early stages and we don't want the installer to
depend of dmllib.
2007-01-13 10:44:58 +00:00
moodler
73d716dea0 Added dmllib.php because we need set_dbfamily in the environment stuff 2007-01-13 07:06:46 +00:00
moodler
3efc06683a Removed rogue print_object -- how did it get there? MDL-8170 2007-01-13 03:28:25 +00:00
moodler
69cb58efdc Inserted a new style to make install look better 2007-01-09 05:55:07 +00:00
moodler
290e67c77e Added missing library causing install not to work 2007-01-09 05:26:12 +00:00
skodak
0f13ec8f9b MDL-8105 some more icon class fixes including new .iconhelp for help and docs icon 2007-01-08 20:30:38 +00:00
skodak
d2ce367fb9 MDL-8062 Remove name attribute from <form> and related javascript code cleanup (tested with FF, IE, Konq and Opera) 2007-01-06 19:22:58 +00:00
moodler
a09f3b7db6 Removed some language=Javscript attributes ... we need to remove all of them! 2007-01-03 09:09:25 +00:00
toyomoyo
5d4e4271b0 eleminating dbencodingtests (always checked in 1.8 via environment) as 1.8 requires unicode 2006-11-10 02:34:59 +00:00
moodler
5f8deafae6 Merged better mssql check from stable 2006-11-07 12:39:56 +00:00
moodler
e2850d158f SOme misc foxes to installing (fixed icons, removed test that broke etc)
that I did some time ago and never checked in
2006-10-30 08:47:55 +00:00
stronk7
b9bc4d7460 Adding support for the new mssql_n driver
Merged from MOODLE_17_STABLE
2006-10-19 18:45:16 +00:00
stronk7
86453d8bd6 Now installer:(MDL-6823)
- performs Oracle charset checks (both client and server)
- prefix checks
- shows differnt information foreach DB flavour
- provide one link to Moodle Docs for MSSQL and Oracle
- the ODBC connector has been marked as experimental due
  to confirmed problems by MS

Merged from MOODLE_17_STABLE
2006-10-13 18:20:52 +00:00
moodler
dcc6b7c483 Add MS-SQL to installer :-) 2006-09-29 06:11:47 +00:00
moodler
78850d9e7d Fixing MDL-6636, reference to file that is now gone (site.html) 2006-09-22 17:27:19 +00:00
skodak
b735d140ef fixed regex typo in installer 2006-08-28 22:09:44 +00:00
skodak
add47d44d0 check suggested dataroot in install.php SC#295 2006-08-28 20:54:16 +00:00
skodak
bb5a61a1d4 reverting wrong commit, sorry :-( 2006-08-22 22:22:34 +00:00
skodak
2881101ca1 debug off level is now 5 instead of 7 to prevent E_WARNING on production sites SC#294 2006-08-22 22:19:58 +00:00
stronk7
9914f09319 Prevent doubleslashes once and again in paths. Also prevent them when writing config.php
Merged from MOODLE_16_STABLE
2006-05-31 17:54:58 +00:00
skodak
d976b5fecb blacklist PHP 5.0.x in installation precheck; merged from MOODLE_16_STABLE 2006-05-30 09:42:29 +00:00
patrickslee
83e8edb463 Fixed wrong encoding detection logic in install.php 2006-04-27 23:17:25 +00:00
patrickslee
2544a80de1 PostgreSQL 8 compatibility fix for database character set detecting 2006-04-23 23:39:56 +00:00
moodler
bd507453f7 The install script should always be Unicode. 2006-04-16 15:58:24 +00:00
moodler
b1e64385dc During installation, if the database isn't UTF and it is empty,
then try and set it to UTF automatically.

I did MySQL only, can someone tackle this for PostgreSQL?
2006-04-14 11:57:11 +00:00
moodler
b6d31b4696 FIxed an alt string 2006-04-14 04:58:09 +00:00
stronk7
3725cc8a58 htmlentities() to s() 2006-04-11 15:42:08 +00:00
stronk7
1a8bdfc430 Strip the "_utf8" suffix from language names in list of languages.
Special info showed for non-utf8 English.
(http://moodle.org/bugs/bug.php?op=show&bugid=4924)
2006-04-10 23:07:37 +00:00
stronk7
c05a30bc19 Preventig bug affecting sites with modified wwwroot and
custom admin dir. Bug 5031.
(http://moodle.org/bugs/bug.php?op=show&bugid=5031)
2006-04-09 21:39:49 +00:00
stronk7
cdef6d4211 New-improved installer. Now it allows to download the langpack
from download.moodle.org and some other minor tweaks solved.
2006-03-11 00:03:51 +00:00
stronk7
68a3f81d4d Now the installer will try to download the selected lang pack
from download.moodle.org to be able to continue with the
installation using such lang.
2006-03-10 01:07:41 +00:00
stronk7
b9b4e32ab9 Now it's possible to use any language in the installer.
Next step: Add the possibility to download and install
the selected language from the installer.
2006-03-09 20:24:14 +00:00
stronk7
b4dd571d8e Now the installer looks for UTF-8 enabled DB (both for MySQL and
Postgress) warning if DB it isn't found. This test can be skipped,
but showing a message about it.
If everything is OK the CFG->unicodedb variable is written to the
config.php file.
With this, 1.6 installer should be 100% ready.
2006-02-05 00:57:44 +00:00
stronk7
3b3b80293c Now the installation process perform then environment check. 2006-01-21 17:30:01 +00:00
stronk7
182dca14e5 Added one new style for better formatting. 2006-01-20 16:18:52 +00:00
stronk7
e6f930f340 Split some strings for better formatting. 2006-01-20 16:11:32 +00:00
stronk7
09f972719b Solved small bug introduced in lat revision. My fault. :-( 2006-01-20 10:43:44 +00:00
stronk7
3470b39f5c Modifying the installation script. Step 1: Replace all
the harcoded stages to some nicer defines.
2006-01-19 17:41:56 +00:00
stronk7
72452dc1ea HEAD install is working again... 2006-01-07 10:15:04 +00:00