Jump to ContentJump to Navigation/Login
` ` ` ` ` `

[Register]

Occasional ATutor release updates


No Members Logged In

(11 guests in past 15 min.)

Access Understanding Web Accessibility to learn about accessibility, or Register to take the course for FREE.

Support Forums

ATutor Support

Problem with randomized test


You must be signed-in to post.

AuthorSubject
  Page: 1
cyberjisus
Subject: Problem with randomized testQuote this post in your reply
Hello,

I've installed ATutor v1.4 on a Linux server, with Apache 1.3 and MySQL (I'm not sure wich version, I'm not the server administrator).

I have no problems creating tests with a fixed number of questions, but when I make a randomized questions test, at the time of taking the test, some questions are from a different randomized test, and some times appear questions about ATutor like "ATutor is a Open Source project; True/False". This behaviour only appears on randomice questions. I've been looking for this problem in the support forum, but I have not find any references on this problem.

Thank you for ypur time and help.

Best regards

Jess
Posted: 2004-06-14 06:28:55
greg

Avatar for greg
Subject: Randomized test patchQuote this post in your reply
There is a bug with randomized tests.

On line 143 (+/-) of /tools/take_test.php

replace the following:

$sql = "SELECT question_id FROM ".TABLE_PREFIX."tests_questions WHERE content_id=$content_id";

with:

$sql = "SELECT question_id FROM ".TABLE_PREFIX."tests_questions WHERE test_id=$tid";
Posted: 2004-06-14 10:54:56
cyberjisus
Subject: Thank youQuote this post in your reply
Thank you for your help.

In reply to:
There is a bug with randomized tests.

On line 143 (+/-) of /tools/take_test.php

replace the following:

$sql = "SELECT question_id FROM ".TABLE_PREFIX."tests_questions WHERE content_id=$co...

Posted: 2004-06-17 04:59:34
 Page: 1

You must be signed-in to post.