I have just completed a fresh installation of Drupal 6.19. I have also installed the latest Quiz 4 module, and also the Autoload module.

Having successfully installed these, as per the instructions I created a quiz, with a couple of questions within this. The quiz, diplays on teh home page of my website. However when I try to take the quiz, by clicking on the 'Start Quiz' link, I get the following error page in Firefox:

"Firefox has detected that the server is redirecting the request for this address in a way that will never complete."

The same thing happens in Internet Explorer.

My understanding is that this could be something to do with the .htaccess file settings.

Can anyone shed anymore light. I've looked through the forums but could not find a definitive answer.

Any help would be great.

Thanks

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

michel_v’s picture

Version: 6.x-5.x-dev » 6.x-4.0
FileSize
404 bytes

We had the same issue with Drupal 6.20 Quiz 6.x-4.0, seems to have been solved by patching line 1661 in quiz.module.

dajunek’s picture

Patch doesn't work. Loop is exiting in when changing user's tabs /user/1 , /user/1/dashboard, /user/1/notifications , user/1/stats. Any ideas ?

falcon’s picture

Category: support » bug
Sarenc’s picture

Component: Code - Quiz module » Code - Import/Export

I had the same issue and the patch worked for me.

rbayliss’s picture

Status: Active » Needs review
FileSize
423 bytes

This patch would definitely fix the issue, but there's another issue, which is that the quiz is redirecting even for authenticated users, because the check is on $quiz instead of $user (meaning it's checking the quiz node's author instead of the current user).

Sivaji_Ganesh_Jojodae’s picture

How about using $GLOBALS['conf']['cache'] = FALSE; instead of unique URL hack. I noticed that CacheExclude module using this $GLOBALS trick. Thoughts ?

fuzzy76’s picture

After inspection it seems like the quiz that caused the problem at our site was owned by the anonymous user, so this confirms the cause of the problem.

greg.harvey’s picture

+1, we just had the same problem, user got deleted, quiz belonged to anonymous, redirect bug.

falcon’s picture

Status: Needs review » Closed (fixed)

Thanks for reporting

  • Commit 955c03e on 7.x-4.x, 7.x-5.x authored by falcon, committed by paalj:
    Fix #943278 reported by ashah: Quiz redirect problem for anonymous users...

  • Commit 955c03e on 7.x-4.x, 7.x-5.x, quiz-pages authored by falcon, committed by paalj:
    Fix #943278 reported by ashah: Quiz redirect problem for anonymous users...

  • Commit 955c03e on 7.x-4.x, 7.x-5.x, quiz-pages, 2269219 authored by falcon, committed by paalj:
    Fix #943278 reported by ashah: Quiz redirect problem for anonymous users...

  • Commit 955c03e on 7.x-4.x, 7.x-5.x, 2269219 authored by falcon, committed by paalj:
    Fix #943278 reported by ashah: Quiz redirect problem for anonymous users...