Moodle - the world's open source learning platform https://moodle.org/
Find a file
defacer 34137668b5 Adding a little more checking to the session switching trap code.
I 've come across a problem where:

1. You have an "old" (say 1.3.5?) Moodle installation.
2. You are logged in as admin.
3. You suddenly switch to using a 1.5+ codebase with
   the SAME database, WITHOUT LOGGING OUT FIRST.

In this situation, I was presented with a deadlock. I could not do
anything because "my session had expired", and I could not even
log OUT to clear my session. In fact it was just reloading the
"session expired page" all the time.

If it weren't for debug = On which causes a notice in these
circumstances, it would be fracking difficult to understand what
was going on.

With this small addition, you can at least visit your login page
and log in anew, so problem fixed.

I believe this was talked about in the forums lately? Not sure.


(Also merging Martin's theme standard -> standardwhite change)
2005-06-13 02:56:37 +00:00
admin Merged from stable 2005-06-11 19:00:23 +00:00
auth Per-auth-backend field locks support. Merged from MOODLE_15_STABLE 2005-06-02 05:39:41 +00:00
backup Problems with 1.5Beta backups solved by Bobo. B-) 2005-06-10 14:19:35 +00:00
blocks Merging from STABLE: 2005-06-13 02:38:48 +00:00
calendar Merging from STABLE: 2005-05-30 13:35:36 +00:00
course Merged new CSS classes from stable 2005-06-11 18:30:45 +00:00
doc Updated image from Eloy 2005-05-24 09:01:15 +00:00
enrol Removing course=$course->id in profile url. If autologin=true user can't login... 2005-06-02 18:03:08 +00:00
error Converted double quote strings to single quote literals - inspired by error in double quotes found by ottenhoff and noted in comment to bug 1981 2004-09-24 22:28:50 +00:00
files Added missing optional_param() 2005-06-10 13:18:29 +00:00
filter Merged Flash script fix from stable 2005-06-05 05:12:50 +00:00
grade Merged from MOODLE_15_STABLE 2005-06-06 00:41:05 +00:00
lang change the translation of word journal from 'zazhi' to 'xindebaogao' 2005-06-13 01:49:18 +00:00
lib Adding a little more checking to the session switching trap code. 2005-06-13 02:56:37 +00:00
login Tabs are out 2005-05-16 22:22:31 +00:00
message Old fix to help focus after beep a little 2005-05-23 17:05:37 +00:00
mod merged from stable 2005-06-12 09:57:13 +00:00
pix Removing annoying extra padding from the left side of this graphic. 2005-05-10 00:15:06 +00:00
rss Added to avoid listing... 2005-04-30 16:22:02 +00:00
theme Merged from stable 2005-06-11 19:00:23 +00:00
user Merge from STABLE: 2005-06-13 00:48:33 +00:00
userpix Works with slasharguments off now 2005-01-17 15:21:00 +00:00
CHANGES Going through it now to make the release page 2004-01-31 09:12:25 +00:00
config-dist.php Apache log integration -- moved documentation to config-dist.php. 2005-05-17 04:13:29 +00:00
file.php Merged from MOODLE_14_STABLE - Unlock session during fileserving. 2005-05-17 01:00:48 +00:00
help.php Replaced optional_variable() instances with secure alternatives. 2005-06-10 19:19:08 +00:00
index.php Added $CFG->disablemycourses bug 3220 2005-05-13 06:17:13 +00:00
install.php Changing width="22" for /pix/help.gif to width="17" 2005-05-10 00:21:09 +00:00
README.txt Updated README 2004-08-23 19:18:25 +00:00
tags Latest tags 2005-04-28 11:12:25 +00:00
version.php Complete the removal of Attendance from the main CVS tree (on HEAD) 2005-06-02 14:51:50 +00:00

README     $Id$
------

QUICK INSTALL
=============

For the impatient, here is a basic outline of the 
installation process, which normally takes me only 
a few minutes:

1) Move the Moodle files into your web directory. 

2) Create a single database for Moodle to store all
   it's tables in (or choose an existing database).

3) Visit your Moodle site with a browser, you should 
   be taken to the install.php script, which will lead
   you through creating a config.php file and then 
   setting up Moodle, creating an admin account etc.

4) Set up a cron task to call the file admin/cron.php
   every five minutes or so.


For more information, see the INSTALL DOCUMENTATION:

   http://moodle.org/doc

If you have real trouble, please visit the Moodle course 
"Using Moodle" on moodle.org.


Good luck and have fun!
Martin Dougiamas, Lead Developer