Uncaught ReferenceError: cp is not defined

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?

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.

Similar Messages

  • How can I use the "EvalScript()" function? I am trying to send text to a Director app from the web browser, but the console in the browser just responds "Uncaught ReferenceError: evalScript is not defined ".

    I am trying to control a Shockwave app form another machine, using "Pusher" service (websockets), and everything is ok so far; but when I try to send the shockwave app the text recieved from another machine, using the "EvalScript()" function (as documented), I only get the message "Uncaught ReferenceError: evalScript is not defined" in the browser's console. What am I doing wrong?
    'm using the following script in the webpage where the shockwave object is located:
      <script type="text/javascript">
        // Enable pusher logging - don't include this in production
        Pusher.log = function(message) {
          if (window.console && window.console.log) {
            window.console.log(message);
        var pusher = new Pusher('abc963cf3e6g678879e');
        var channel = pusher.subscribe('Galileo_channel');
        channel.bind('Galileo_event', function(data) {
          evalScript(data.message);
      alert(data.message);
      </script>
    The "alert" is working fine, but I can't get JavaScript to recognize the EvalScript (I even tried calling the shockwave object, ie: "extev01.evalScript()", since the object's ID is extev01, but it doesn't work, either).
    Help!

    Thanks Sean.
    I tried your suggestion first, using getNetText to poll the server and read a text file. The drawbak is that I had to poll the server constantly, since I could not know in advance when the text file was going to change (and it's not practical to stump the server and connection).
    I've kept trying the EvalScript, asigning the Shockwave object to a variable first, then calling the EvalScript() in the object, but it doesn't work, either. I think I will simply use JavaScript and forget about shockwave altogether, since everything is working fine up to that point (although it would be nice to be able to use Lingo for the rest of the app).

  • Javascript Error - Uncaught ReferenceError: $s is not defined in ApEx 3.0.1

    Hi,
    I am using Oracle ApEx 3.0.1 and am trying to implement the Ajax Loading animation on a report I am running. The problem though, is that I am getting a javascript error on the following line:
    window.setTimeout('$s("AjaxLoading",$x("AjaxLoading").innerHTML)', 10);Looks like in Oracle ApEx 3.0.1, I am getting the javascript error:> Uncaught ReferenceError: *$s is not defined*
    What would I need to change, to get this to work with no javascript errors in Oracle ApEx version 3.0.1 ?
    Thanks.
    Tony.

    Hi,
    It might be that $s function is not introduced on 3.0
    Try
    window.setTimeout('document.getElementById("AjaxLoading").value=document.getElementById("AjaxLoading").HTML)', 10);Regards,
    Jari

  • Uncaught ReferenceError: playbarAssetArr is not defined

    Hello, I have created a training in Captivate 7 which I've published in html 5 format. When I try launching the training in our LMS nothing happens, and I get this error: Uncaught ReferenceError: playbarAssetArr is not defined. Do you know what could be the problem? When I publish as swf there are no problems launching the course in the LMS.

    Hi There,
    Welcome To Adobe Support.
    Can you please republish  the output as SWF (without using the zip file option) and then view the output in the browser.
    Thanks
    Loveesh

  • Uncaught ReferenceError: symbolName is not defined

    I'm receiving this error. Applied action to symbol and it doesn't trigger.

    Can you provide more information on this? May be the sample and the steps that leads you to this error.
    -Sujai

  • Firefox pops up an error message on certain pages, all other browsers work fine, how can I make firefox ignore the "error" [e2219] css init error: ReferenceError: g is not defined

    Basically I want to replace the Ajax Control Toolkit Slider in favor of the Component One Studio for iPhone Slider for better mobile/desktop consistency (the ajax slider doesn't work well with iPhone). I created a simple page that works on every browser and platform (iPhone, Android, Mac, Windows) except Firefox, which fails on every platform. I have already tried disabling all plugins (safe mode) and clearing cache, I have also tried this with different versions of Firefox on different platforms. I posted this error on the Component One forum but since this only occurs with Firefox I believe this is a Firefox issue.
    I searched for this error on the forums and Google but didn’t get any results:
    ''[e2219] css init error: ReferenceError: g is not defined''
    The console has this message:
    ''[12:05:26.954] uncaught exception: [Exception... "prompt aborted by user" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: resource:///components/nsPrompter.js :: openTabPrompt :: line 462" data: no]''
    You can see the error by visiting http://www.componentone.com/i/
    Visit the same URL with IE, Chrome or Safari and there is no error. If I click [OK] the page loads normally enough for me. Is there some JavaScript or CSS line I can put in the page to make Firefox ignore the error? If so that would be great because even if there is a fix put into Firefox itself there will be those millions of users out there that will not upgrade.

    A good place to ask advice about web development is at the MozillaZine "Web Development/Standards Evangelism" forum.
    *http://forums.mozillazine.org/viewforum.php?f=25
    The helpers at that forum are more knowledgeable about web development issues.<br>
    You need to register at the MozillaZine forum site in order to post at that forum.

  • "ReferenceError: prepareFFB is not defined" I started getting this JavaScript error recently whenever I start Firefox. I would like to stop getting this error

    I get the following JavaScript error every time I start Firefox:
    ReferenceError: prepareFFB is not defined.

    hello, this sounds like it's possibly caused by an addon. do you have any extension/theme installed, you can connect the "FFB" to? if not try disabling them all in firefox > addons > extensions & reenable them one by one to find out which of them might be causing the error message.

  • MuseJSAssert: Error calling selector function:ReferenceError: Spry is not defined.

    I launched Muse today and it said there was an updated available. I installed it and then made a few small changes to my 5 page website. Then i exported the HTML and uploaded it to my server.
    But now when i try browsing the site in Chrome, I get the following error message:
    MuseJSAssert: Error calling selector function:ReferenceError: Spry is not defined.
    The only changes I made were adding some text to a few pages and adding metadata info to each page and when viewing the exported HTML locally (prior to uploading) it all behaves as it should...no error messages.
    Any ideas why its doing this? or more importantly, any suggestions on how to stop it from doing this? It wasn't doing this yesterday prior to me making these small changes.
    Here's the URL: www.gardensbytheseaursery.com
    Thanks in advance.
    Jake

    This error would occur if not all the files for the site we're uploaded.
    The 2.0 update includes numerous improvements in the generated HTML, CSS and JavaScript, so while you may have directly changed only certain pages, if you're using an external FTP client all the exported files and folders need to be uploaded. (The new built-in FTP support automatically only generates and uploads files that have changed since the previous upload.)

  • ReferenceError: resetExtension is not defined

    Out of the blue, I get this error in Dreamweaver 8 on any
    page that I try to insert an image into.
    "The following JavaScript error(s) occurred:
    At line 7 of file "Harddrive: Applications: Macromedia
    Dreamweaver 8: Configuration: Objects: Common: Image.htm":
    ReferenceError: resetExtension is not defined"
    I looked at the file the error refered to, but have no idea
    what I'm looking at. The only thing in this file reads:
    <!-- MENU-LOCATION=NONE -->
    <html>
    <head>
    <!-- Copyright 2000, 2001, 2002, 2003 Macromedia, Inc. All
    rights reserved. -->
    <title><MMString:LoadString id="insertbar/image"
    /></title>
    <script src="Image.js"></script>
    </head>
    <body>
    </body>
    </html>
    Line 7: <script src="Image.js"></script>
    PLEASE HELP! I have a project due to a client in the
    morning!!!

    What exactly is your use case?
    If you want to use the timer on the server side scripts you should use setInterval() : http://help.adobe.com/en_US/FlashMediaServer/3.5_SS_ASD/WS5b3ccc516d4fbf351e63e3d11a11aff5 ba-7f01.html#WS5b3ccc516d4fbf351e63e3d11a11afc95e-7ffa

  • "ReferenceError: "myIpAddr"  is not defined, when call JavaScript from java

    Hi developers,
    My java application was trying to issue a http request via proxy auto-config. So, I did below jobs
    1. Read URL of *.pac from registry
    2. Call FindProxyForURL from java, the code is like below
                   ScriptEngineManager factory = new ScriptEngineManager();
                   ScriptEngine engine = factory.getEngineByName("JavaScript");
                   engine.eval(autoProxyScript);
                   Invocable inv = (Invocable) engine;
                   Object obj = inv.invokeFunction("FindProxyForURL",
                             "http://java.sun.com/",
                             "java.sun.com");
    However, I got "ReferenceError: "myIpAddress" is not defined
    I can not change the script on server to add a function like "myIpAddress", I am wordering why IE or mozilla can call it successfully and get proxy server, while Java failed to do that.
    I got a ugly solution by calling "pacparser" by jni. But I really hope I can get a better solution.

    A .pac file is a JavaScript, but it requires some functions to be defined in the executing context to work (i.e. you must define those).
    From the example on the Wikipedia page there's at least "shExpMatch" and "isInNet". "myIpAddress" seems to be another such candidate.

  • When I start the Mozilla Firefox I get error message "ReferenceError: Globalstorage is not defined." How to solve this problem?

    When I start the Mozilla Firefox I get error message "ReferenceError: Globalstorage is not defined." How to solve this problem?
    -Vinayak

    Disabling Samsung Caster add-on solved this issue for me.

  • ReferenceError: callcuser is not defined

    I tested the script below in IE,Chrome, Safari all no problem except in Firefox. I had updated my firefox to the latest version 30.
    Error console is prompting me this error ; ReferenceError: callcuser is not defined
    Appreciate if you can help.
    cur_user = this.CheckCurrentJUser(callcuser);
    function callcuser(CheckCurrentJUser){
    cur_user = CheckCurrentJUser;
    CheckCurrentJUser: function(callcuser){
    var url='index.php?option=com_fabrik&format=raw&controller=plugin&c=plugin&task=userAjax';
    new Ajax(url,{
    data:{method:'GetCurrentLoginUser'},
    onComplete:function(r){
    callcuser(r);
    ).request();
    },

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • ReferenceError: BrowserToolboxCustomizeDone is not defined

    I am using Firefox for many years and I believe that it is the best browser in the market place, however I recently receive this message "ReferenceError: BrowserToolboxCustomizeDone is not defined" when I start Firefox for the first time in the morning. Could somebody help me to resolve this problem?

    Its your addon issue, check your addons are uptodate and try in safemode too
    Start Firefox in [https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Safe Mode to Troubleshoot the issue] and to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    * https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • ReferenceError: Muse is not defined

    Hi,
    I madea site,uploaded it to our testserver... everthing fine.
    upload to the final server, everything is crowded and I got the message:  ReferenceError: Muse is not defined
    any idea?
    everthing is exactly the same, no path has changed..
    Thx for all help

    Hello,
    Please publish your site to Business Catalyst as a trial site by clicking on the "publish" button to see if the site looks fine on Business Catalyst.
    If it does, you may want to first re-upload the site to your host (Upload all files, not modified files), and if the situation remains the same, you can ask your host to "Reset your FTP permissions" and then re-upload the site to the host. Check if that resolves the issue here.
    Hope this helps.
    Cheers
    Parikshit

  • "referenceError:bindows is not defined"

    Error Console reports: "referenceError:bindows is not defined"
    http://home.comcast.net/~printzis/GaugesPlots/bindowsRnd.html
    The same pages (gauges) will display fine in Firefox 3.6.28, IE and Chrome but not Firefox 13.0.1 or higher.

    It doesn't work for me in Firefox 11 or above.<br />
    It still works in the current Firefox 10.0.7 ESR version.
    Looks that Bindows has released an update:
    *http://blog.bindows.net/
    <pre><nowiki>Bindows 4.1.20
    Ran posted in Bindows Clients, Developing in Bindows on July 24th, 2012
    Due to changes introduced in Firefox 13 and Firefox 14 we created a point-update version of Bindows - version 4.1.2</nowiki></pre>

Maybe you are looking for

  • Windows error msg:  "Can not write to drive G: Joe's iPod"

    Halfway thru the download process (1780 songs) from itunes to my ipod I get a windows error msg: "Can not write to file G: Joe's ipod. All the data has been lost. Check for an error on your computer or network." Getting the error msg: " Can not write

  • Autopaste madness

    I can't reallu describe how it happens, but sometimes when I'm trying to reposition the cursor, it will select the word, copy it and plop it down so 'cli|ck' becomes 'cliclickck' (wher | is the cursor position. Another tap will repeat that 'cliclickc

  • In Hyperion planning navigation problem

    In Hyperion when you click Navigate – Applications the planning box does not show up the first time and/or it freezes

  • StartConsole.sh throw exception

    Hi both startConsole.sh and startWeblogic.sh thow a java.lang.NoClassDefFoundError: weblogic/Console. i'm using service pack 5, and think i'm setting all the environment stuff correctly. but perhaps not. any idea what exactly it can't find and how to

  • TA24477 Unable to download podcast error. Help!

    When I press download for a podcast it shows an error "unable to download podcast" then asks to if I want to be done or retry. When I just press to play the podcast it says "you do not have permission to access the requested resource." why is is this