Skip navigation
CaseyJon
Currently Being Moderated

MuseJSAssert: Error calling selector function:TypeError: $(elem).museMenu is not a function

Nov 26, 2012 7:57 PM

Tags: #error #not #a #muse #function #is #calling #selector #musejsassert: #function:typeerror: #$(elem).musemenu

Having a real headache here...I keep getting this error message..."MuseJSAssert: Error calling selector function:TypeError: $(elem).museMenu is not a function"...I've uploaded the site again and again per previous discussions with no luck. Please HELP!!

 

 

www.campusone.net

 
Replies
  • Currently Being Moderated
    Nov 27, 2012 11:35 AM   in reply to CaseyJon

    Not all the files exported by Muse are on your server. Specifically, at least the jquery.musemenu.js file that should be in the scripts/1.1 folder is missing. It appears some image files are also missing.

     

    Are you using a third party FTP client application to upload your site, or the built-in Muse Upload to FTP Host feature?

     

    If you're using a third party FTP client application, repeat the File:Export as HTML process from Muse and export to a new EMPTY folder. This will cause everything to be generated and exported by Muse. Then use your FTP client application to re-upload everything. ALL the files and folders.

     

    Whenever there's an update of Muse, all files and folders need to be re-uploaded. This is because each update includes improvements to the generated code and changes for new features. The exported files are interrelated. After an update everything needs to be re-uploaded so all the files are from the same version of Muse. (If the File:Upload to FTP Host feature is used this is taken care of automatically and when there hasn't been an update of Muse only the minimal set of changed files are generated and uploaded.)

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 27, 2012 1:03 PM   in reply to CaseyJon

    Bummer. We'll look at avoiding periods in folder names for a future release.

     

    Sorry, I don't have a slick workaround. Sounds like a global find/change...

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 28, 2012 10:27 AM   in reply to CaseyJon

    Chrome still reports the http://www.campusone.net/scripts/1_1/jquery.musemenu.js is missing (though note it is now looking in a "1_1" folder rather than a "1.1" folder).

     

    To do exactly what I'm doing to detect this:

    1) Go to a page that reports a JavaScript error or that otherwise shows a missing link for an image using Chrome.

    2) Right click and choose "Inspect Element". It doesn't matter what you click on.

    This should bring up the developer tools UI within your browser window.

    3) From the button at the top of the Developer Tools UI click on "Console".

    This should display a list of any errors that occurred during the load of the page. In this case it shows the jquery.musemenu.js file was not found.

     

    Screen Shot 2012-11-28 at 10.24.53 AM.png

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points