Skip to main content
Participant
May 20, 2014
Answered

Uncaught ReferenceError: cp is not defined

  • May 20, 2014
  • 1 reply
  • 1800 views

When uploading a published HTML5 Captivate course (with Quiz) I'm getting the error:

SyntaxError: Unexpected token ILLEGAL at eval (native) at b (assets/js/CPXHRLoader.js:36:374) at XMLHttpRequest.<anonymous> (assets/js/CPXHRLoader.js:37:45)

Uncaught ReferenceError: cp is not defined


This is new since I've added the quiz though as I had no issues before. Any idea what might be causing it and how to fix it?

    This topic has been closed for replies.
    Correct answer David H0ward

    In case anyone else stumbles upon this, my error was created by having line breaks in the Quiz Results Messages.

    1 reply

    David H0wardAuthorCorrect answer
    Participant
    May 21, 2014

    In case anyone else stumbles upon this, my error was created by having line breaks in the Quiz Results Messages.

    Known Participant
    August 19, 2014

    I've stumbled across your message and I'm going to see if that resolves my Unexpected token illegal message.  Thanks.  Will let you know.