Student Unable to Progress

Student Unable to Progress

by Deborah Delin -
Number of replies: 10

Hi Gordon,

A student has reported being unable to progress once completing a quiz.

I attach a screenshot of what he sees when he completes the quiz.  As you can see, his log in details appear in the "OK" box.  Something I've never seen before.

I tested this particular quiz as a student logged in under a different name and the quiz functions fine.  But under this students log in it hangs.

Could you suggest any reason for this?

Thank you.

Attachment hotpot.jpg
Average of ratings: -
In reply to Deborah Delin

Re: Student Unable to Progress

by Gordon Bateson -
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers

Is it just this one quiz?

It may be a missing double quote in an <img> tag, or it may be someting to do with the French language pack which this student seems to be using.

Could you switch you language to French and see if you can reproduce the phenomena.

thanks
Gordon

In reply to Gordon Bateson

Re: Student Unable to Progress

by Gordon Bateson -
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers

IT may be the following tag which is causing problems:

  • <img src="http://www.strivney.com/file.php/20/A1_English_Only/confused.gif" alt="How to do this Exercise.gif" title="How to do this Exercise." width="65" height="85"" style="float: left;"></img>

Please correct the double double quotes, and retry:

  • OLD: height="85""
  • NEW: height="85"

cheers
Gordon

In reply to Gordon Bateson

Re: Student Unable to Progress

by Gordon Bateson -
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers

There are a couple of other other warnings which appear when you try to validate the code on the validator (http://validator.w3.org), such as <font> tags and plain ampersands in URLs, "&", where they are supposed to be encoded, "&amp;". I don't think those are causing the page to malfunction, but since they are in the footer and appear on every page, I suggest you fix them so that everything is standard XHTML.

regards
Gordon

In reply to Gordon Bateson

Re: Student Unable to Progress

by Deborah Delin -

Thanks for looking into this so thoroughly Gordon!

This quiz has been completed many times so I didn't dream it would be a validation problem.  I will check all my quizzes for such errors and fix them.

Thanks so much.

Debora

In reply to Deborah Delin

Re: Student Unable to Progress

by Gordon Bateson -
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers

Deborah,

it might not be just the quotes, or may be not the quotes at all, but anyway on first inspection, that is something I noticed that could possibly cause the behavior you reported.

If this requires changing the footer file in the theme, please clear the QuizPort cache before retrying the quiz. (Site admin -> Modules -> Activties -> QuizPort -> Clear cache)

BTW, I was able to log on as that student, but I could not see how to quickly get to the quiz without changing post-conditions, and I didn't want to do that on your live site. As a result, I haven't actually been able to try that quiz as that student and reproduce that behavior. It's safer if you do the testing I think.

If you do get the error again, please view the source of the page that is in your browser when you get the error, select and copy the entire source code, save it to a text file, and send it across to me in a private email.

Hopefully though, you won't get the error smile

regards
Gordon

In reply to Deborah Delin

Re: Student Unable to Progress

by Deborah Delin -

Hi Gordon,

Thanks for your further help and suggestions.

The problem prevails after cleaning up the quotes code.  I also cleaned up the footer code but I hesitate to clear the cache:  as the footer would affect all the quizzes is it not fair to assume that was not what caused this problem?  Am I right in thinking that by clearing the cache the quizzes lose the faster loading advantage that the cache gives?  I am reluctant to do that but please let me know if it is essential.

I have established that:

- The problem only occurs with the French language pack.

- It only occurs in IE (6 & 8) - FF and Google Chrome are fine.

- So far the student using the French language pack has only had a problem with this particular quiz and others have advanced without problems.

I would like to get to the bottom of the problem rather than just re-construct this particular quiz as I have many more similar quizzes live that could potentially misbehave in this way.

I am sending you by private email the text file with the source of the quiz when it behaves like this.

Thank you so much for your help.

In reply to Deborah Delin

Re: Student Unable to Progress

by Gordon Bateson -
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers

Thank you for sending the source code. I was able to use it reproduce the problem on IE8 on my testing server, so that will probably be enough to let me investigate why it is happening, and hopefully find a fix.

out for now
Gordon

In reply to Deborah Delin

Re: Student Unable to Progress

by Deborah Delin -

Glad you were able to re-produce the problem Gordon.  Look forward to hearing what you discover.

Thank you.

Deborah

In reply to Deborah Delin

Re: Student Unable to Progress

by Gordon Bateson -
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers

HI Deborah,
there is a missing </button> tag.

  • open the html file with a text editor
  • locate the following text (around line 1240):
    • <button id="FeedbackOKButton"
  • at the end of that line, just after the "</img>" tag, insert the following tag:
    • </button>
  • save the file
  • upload the modified file to Moodle

Then you should be good to go.

regards
Gordon

In reply to Gordon Bateson

Re: Student Unable to Progress

by Deborah Delin -

Gosh Gordon!  So sorry you had to spend time on that!  No idea how I managed to end up without a <button> tag.   I'll check all my other files.

Thank you very very much for helping me find the problem.

Deborah.