Hello,

I have a multilingual site, with the quiz translated in two language (default english and french). As administrator I can see the questions displayed properly, but as anonymous user, under the question field appears a "n/a" (see attached). There is only one question (true/false) that works well and it is because I forgot to translate it. Also, for the View page, before starting the quiz, the language switcher does not switch language, however works well when the quiz is started.

I am just starting studying php so I cannot debug properly to find what the problem is. Any help would be greatly appreciated.

I am in drupal 6 and my version of quiz is 6.x-4.3. I am using i18 module for internationalization.

Thank you.

Comments

egberthertsen’s picture

It seems I encounter the same problem. My site is unilanguage but the vast majority of the questions does not show up for the auth. users; the possible answers however do. As administrator I can see both questions and possible answers.
This fault only appeares since I upgraded tot 6.x-4.3. I'm using Drupal 6.22
Help would be most welcome .

GDI’s picture

Category: support » bug
Priority: Normal » Critical

I have the same problem after upgrade to Quiz 6x-4.3. My site is not a multilingual but its not an english site. I`m using the i18n too as the topic starter and Drupal 6.22. And I`m using only multichoice questions with random selection of questions in my quiz.

UPD.
I found the problem and it seems to be fixed for me. I`ve changed the line #448 in the file quiz/question_types/quiz_question/quiz_question.core.inc

it was

      '#value' => check_markup($this->node->body, $this->node->format),

should be changed to

      '#value' => check_markup($this->node->body, $this->node->format, FALSE),

just add the missing argument FALSE.
I found the issue http://drupal.org/node/534716 and it was helpful to resolve my problem.

slustemberg’s picture

Great!!! With this fix questions are showing up. Thanks!!!

spazfox’s picture

I had a similar problem with questions that include images (added with HTML tags) not showing up. The fix in #2 worked for me. It seems this patch should be applied to the module.

falcon’s picture

Status: Active » Closed (fixed)

Thanks, commited.