Howard,
The problem with Import has nothing to do with my own import code for my regexp question type. I have just now downloaded a fresh (from CVS) moodle head version 2007080900 and installed it on my local machine. I have added nothing to it.
I create just one course, one Admin user, when I go to that course, go to the Questions database and click on Import I get the error message I mentioned in my previous post. If I set debugging to max. reporting I get this extra warning:
Stack trace:
* line 5154 of lib\weblib.php: call to debugging()
* line 5215 of lib\weblib.php: call to error()
* line 73 of question\import.php: call to print_error()
There must be something wrong with the questions category handling in the current head version of Moodle, no?
Joseph
Joseph Rézeau
Posts made by Joseph Rézeau
Adriane,
I expect the GIFT format only exists for existing, standard Moodle question types. For new, plugin types, you have to make your own. This may be easy for fairly simple question types and very difficult or even "dangerous" for complicated question types. Since I never ever use the GIFT format myself, I can't help. But are you sure it is needed anyway?
Joseph
I expect the GIFT format only exists for existing, standard Moodle question types. For new, plugin types, you have to make your own. This may be easy for fairly simple question types and very difficult or even "dangerous" for complicated question types. Since I never ever use the GIFT format myself, I can't help. But are you sure it is needed anyway?
Joseph
On a clean Moodle 1.9 HEAD installed from CVS and just upgraded (2007080800) I can't the the questions import to work. I have only one course on this Moodle site, I am admin, I go to default category and click on Import, I get the message: Category ID is invalid
If I turn debugggin on I get more PHP warnings:
Warning: array_keys() [function.array-keys]: The first argument should be an array in C:\moodle\www\moodle19\moodle\lib\questionlib.php on line 1620
Warning: Invalid argument supplied for foreach() in C:\moodle\www\moodle19\moodle\lib\questionlib.php on line 1620
Warning: array_keys() [function.array-keys]: The first argument should be an array in C:\moodle\www\moodle19\moodle\lib\questionlib.php on line 1628
Warning: Invalid argument supplied for foreach() in C:\moodle\www\moodle19\moodle\lib\questionlib.php on line 1628
Any idea anyone?
Joseph
If I turn debugggin on I get more PHP warnings:
Warning: array_keys() [function.array-keys]: The first argument should be an array in C:\moodle\www\moodle19\moodle\lib\questionlib.php on line 1620
Warning: Invalid argument supplied for foreach() in C:\moodle\www\moodle19\moodle\lib\questionlib.php on line 1620
Warning: array_keys() [function.array-keys]: The first argument should be an array in C:\moodle\www\moodle19\moodle\lib\questionlib.php on line 1628
Warning: Invalid argument supplied for foreach() in C:\moodle\www\moodle19\moodle\lib\questionlib.php on line 1628
Any idea anyone?
Joseph
Bonjour,
Le créateur de Hot Potatoes (Martin Holmes) et le responsable du module HotPot dans Moodle (Gordon Bateson) ont toujours dit clairement que la suite Hot Potatoes est destinée à créer des activités d'entraînement et non pas d'évaluation. Pour créer une évaluation, un test, un examen, etc. dans Moodle il faut utiliser l'activité Test (Quiz en anglais).
Il est possible de paramétrer un Test de Moodle de façon à ne pas afficher le résultat brut à l'étudiant une fois le test terminé, mais la note apparaitra quand même dans le bloc Grades. On peut considérer ceci comme "normal", dans la mesure où Moodle est conçu comme un système d'apprentissage plus que d'évaluation.
Joseph
Le créateur de Hot Potatoes (Martin Holmes) et le responsable du module HotPot dans Moodle (Gordon Bateson) ont toujours dit clairement que la suite Hot Potatoes est destinée à créer des activités d'entraînement et non pas d'évaluation. Pour créer une évaluation, un test, un examen, etc. dans Moodle il faut utiliser l'activité Test (Quiz en anglais).
Il est possible de paramétrer un Test de Moodle de façon à ne pas afficher le résultat brut à l'étudiant une fois le test terminé, mais la note apparaitra quand même dans le bloc Grades. On peut considérer ceci comme "normal", dans la mesure où Moodle est conçu comme un système d'apprentissage plus que d'évaluation.
Joseph
I agree that this is most annoying. For instance the names of my course resources which were texts accompanied by audio recording, I used to put an icon, etc.
I expect that one of the Moodle programmers has decided that all those name fields should from now on only contain "pure text", and any tag you add gets automatically deleted!
You can vote for MDL-10769 if you want to get those tags back.
Joseph
I expect that one of the Moodle programmers has decided that all those name fields should from now on only contain "pure text", and any tag you add gets automatically deleted!
You can vote for MDL-10769 if you want to get those tags back.
Joseph