Beiträge von Joseph Rézeau

Nutzerbild von Core developers Nutzerbild von Plugin developers Nutzerbild von Testers Nutzerbild von Translators

Hi Annie,

Please provide many more details about your problem so we can help. What is exactly your problem? Which "solution" did you try. What was the result (screen shot please). Which browser are you using, etc.

Joseph

PS.- The more details you give the better you stand a chance of people understanding your problem and helping you out.wink

Nutzerbild von Core developers Nutzerbild von Plugin developers Nutzerbild von Testers Nutzerbild von Translators

Hi Annie,

There have been huge changes in the way visual themes work between 1.5 and 1.6 and again some changes between 1.7 and 1.8. This looks like a themes issue; please re-post to the Themes forum and please mention which theme you are using (standard Moodle distribution or personally customized theme, etc.) And please provide a screen shot highlighting exactly what you are getting instead of what you want to get.wink

Joseph

Nutzerbild von Core developers Nutzerbild von Plugin developers Nutzerbild von Testers Nutzerbild von Translators

Hi Mike,

This is to confirm that cross tabulation does not work on my moodle site.

  • Questionnaire version.php,v 1.20 2007/01/18 15:56:00 mchurch
  • Moodle 1.6.4 or Moodle 1.7.1
  • Windows XP, Apache 2.0, mysql Client API version 5.0.21

Upon clicking the Cross Tabulate button I this error message:

Fatal error: Cannot use object of type questionnaire_question as array in C:\moodle\www\moodle16dev\moodle\mod\questionnaire\locallib.php on line 2114

Inspecting the locallib.php file I notice something curious.

line 2114 = if (!empty($guicross) && $question["result_id"] == 1){

In the mdl_questionnaire_question table there is indeed a result_id field, set to null=yes and Default=null. However, this field does not seem to serve any purpose, as nowhere in the questionnaire files is it written to or read, except in line 2114 above, where of course we can't get any further, the question_id field of questions remaining forever NULL.

If I remove the 2nd condition, i.e. rewrite line 2114 as:

 if (!empty($guicross)){

then the error message is no longer displayed, but I make little progress, as all I can see is (see attached screenshot).

Anything you can suggest?

Joseph

Anhang image00.jpg
Nutzerbild von Core developers Nutzerbild von Plugin developers Nutzerbild von Testers Nutzerbild von Translators

Linda,

I do not have this problem, using latest Questionnaire module on Moodle 1.7. If I set a questionnaire to Type: Respond once, then let some people answer it, then delete their responses, then they can take the Questionnaire again.

For some reason in your case some responses may not have been properly deleted from the database. If you are confident with phpMyAdmin, you might try to locate and delete those responses from the Moodle database but you'd have to be extra careful.

Another possibility, especially if this is a "test Questionnaire": Create a new questionnaire, based on your original one, and delete the original questionnaire. You will get a brand-new questionnaire, empty of responses.

Joseph