Clearing Unsuccessful Attempts To Access Test Again -- Need Help

Clearing Unsuccessful Attempts To Access Test Again -- Need Help

by John Smith -
Number of replies: 3

Hi all,

This problem has been driving me insane and now follows:

My Moodle Server is running an online test and what happens  is that I have to manually clear repeated unsuccessful attempts before a student can access the test again. I don't understand why it does this but as soon as I delete the previous attempts, the user is now able to access the test through the pop-up window. I does not seem to be a server error but rather a configuration issue.


Cloud this also be due to the fact that I have configured the Storyline 2 (Scorm 1.2) test package with the following parameters in Moodle?:


  • Display package: Current window
  • Student skip content structure page: Always
  • Disable preview mode: Yes
  • Display course structure on entry page: No
  • Display course structure in player: Hidden
  • Display attempt status: Entry page only
  • Attempts management: Unlimited attempts
  • Attempts grading: Highest attempt
  • Force new attempt: No
  • Force completed: No       (Should this be set to Yes instead?????)
  • Auto-continue: No
  • Auto-commit: No


Any help or pointers would be greatly appreciated.

The server is configured as follows:

  • Moodle 2.4 (Build: 20121203)
  • PHP Version 5.4.9
  • OS: Linux AMI running on Amazon EC2


Many thanks...



Average of ratings: -
In reply to John Smith

Re: Clearing Unsuccessful Attempts To Access Test Again -- Need Help

by Amy Groshek -

Hi John,

You've got a lot of great information here but it's also important to know what the SCORM package is sending, and what exactly "not able to access the test through the pop-up window" means.

My recommendation:

  1. Create a test user and enroll that user in the course as a student.
  2. Enable the API debugging log for the user.
  3. Log in as the user and go through the course. Save the API debugging log.
  4. Log in as the user and enter the course again, replicating the issue. Again save the API debugging log.
  5. Share those logs in this thread.
  6. Include some screenshots so it's clear what "not able to access" means.

Also, Dan is going to come on here and tell you to upgrade. 2.4 was a long, long time ago. You should definitely upgrade.

In reply to John Smith

Re: Clearing Unsuccessful Attempts To Access Test Again -- Need Help

by Mathew Gancarz -
Picture of Core developers

Hi John, the reason why is your students are going back to the 'previous' attempt on the quiz. We worked around this in one of our courses by setting "Force new attempt" to Yes under Attempts Management. Each time they open the scorm module it will start a new attempt and give them a fresh go at the quiz. It does mean they can't go back in after and review their successful attempt though.

In reply to Mathew Gancarz

Re: Clearing Unsuccessful Attempts To Access Test Again -- Need Help

by John Smith -

I did some research on the Developer forum and realized that the issue I am having is related to a bug in 2.4. Therefore, I need to upgrade.