Thanks, Martin
That's exactly what I needed

!
So I've downloaded the latest version of Thomas Robb's HotPot module (v
1.5 2004/12/20 13:38:10). In Moodle 1.4.3 under Windows XP, it works
all right except for the bug mentioned at the start of this thread,
which I describe fully (only tested with a
Cloze exercise so far).
From the point of view of the students, everything is OK: they can do the HP exercises, they can view their scores, etc.
From the point of view of the teacher, when you click on the
View results link of any given exercise, you get this error message (it's printed about 3 to 4 times):
Warning: date() [
function.date]: Windows does
not support dates prior to midnight (00:00:00), January 1, 1970 in &
server\moodle\mod\hotpot\report.php on line
80
Then the students' names & scores are displayed, but for each
attempt we have 2 lines, including one with a number of zeros, like
this:
|
|
80.00 |
26-Feb-05 14:15 (0:11) |
[1] |
|
0.00 |
26-Feb-05 14:15 () |
[0] | | |
80 |
Actually, I've noticed that when a student's HP data is saved in the mdl_hotpot_events table of the moodle db, it is saved twice: first incorrectly then correctly, as shown here:
|
|
|
3 |
111 |
45 |
8 |
1109424287 |
1109424286 |
0 |
0.00 |
0 |
null |
|
|
|
4 |
111 |
45 |
8 |
1109424297 |
1109424286 |
1109424296 |
40.00 |
3 |
null |
The reason for the " Windows does
not support dates prior to etc." messages probably come from those wrong "zero" lines in the
database.
Thomas, we'd all be grateful if you could trace and correct that little bug...
Thanks in advance,
Joseph_R