Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Dan 1288 posts 3921 karma points c-trib
    Mar 14, 2013 @ 12:00
    Dan
    0

    Contour error: Uncaught TypeError: Cannot call method 'apply' of undefined

    Hi,

    I have a fairly old (4.7.2) site running Contour (don't know which version, as oddly Contour isn't showing under the 'installed packaged' section of the developer part of the CMS!?).  However, the forms are working nicely on the website and have been since the original build, several months ago, but recently the client client has noticed that the form designer doesn't appear in the back-office.  See screen-grab:

    I've looked and there's a javascript error in the dev tools console:

    Uncaught TypeError: Cannot call method 'apply' of undefined jquery-ui-1.7.2.custom.min.js:71 a.widget.a.extend._trigger jquery-ui-1.7.2.custom.min.js:71 b.Widget._createWidget DependencyHandler.axd:12 b.(anonymous function).(anonymous function) DependencyHandler.axd:12 (anonymous function) DependencyHandler.axd:12 e.extend.each DependencyHandler.axd:2 e.fn.e.each DependencyHandler.axd:2 b.fn.(anonymous function) DependencyHandler.axd:12 (anonymous function) umbracoforms.js:23 e.resolveWith DependencyHandler.axd:2 e.extend.ready DependencyHandler.axd:2 c.addEventListener.B DependencyHandler.axd:2

    I think the client has changed hosting accounts a couple of times since this site was set up, so perhaps some files haven't been copied across correctly or some client-side scripts have been cached?  I've tried deleting all files in the App_Data/Temp/ClientDependency folder but this hasn't solved it.

    Does anyone have any other ideas/suggestions?

    Thanks folks!

  • Comment author was deleted

    Mar 18, 2013 @ 08:47

    Hmmm could you check the \Umbraco\Plugins\umbracoContour\UmbracoContour.config file and see if you get a version number in that one

     

  • Dan 1288 posts 3921 karma points c-trib
    Mar 18, 2013 @ 09:55
    Dan
    0

    Hi Tim,

    Version 1.1.8 according to the config.

  • Comment author was deleted

    Mar 18, 2013 @ 10:12

    Hmmm yeah I would try restoring that version from an upgrade archive so you are sure all files are there...file should be available here http://nightly.umbraco.org/Umbraco%20Contour/Archive/

  • Dan 1288 posts 3921 karma points c-trib
    Mar 18, 2013 @ 10:22
    Dan
    0

    Thanks Tim.  So just install the 1.1.8 package again over the top?

  • Comment author was deleted

    Mar 18, 2013 @ 10:35

    Nope don't install, perform an update operation but using the same version, basicly it's just an xcopy details here http://our.umbraco.org/projects/umbraco-pro/contour/documentation

  • Dan 1288 posts 3921 karma points c-trib
    Mar 18, 2013 @ 12:00
    Dan
    0

    Hi Tim,

    I've downloaded the UmbracoContour_1.1.8_update.zip from here: http://nightly.umbraco.org/Umbraco%20Contour/Archive/1.1.8/.  Unzipped it, copied all of the files over, but there was no change (I've deleted cookies and deleted the contents of the App_Data/TEMP folder.  In the upgrade documentation it says it's not necessary to run the upgrade.aspx page, but I tried it anyway and that file is missing (I get a 404 when calling http://example.com/umbraco/plugins/umbracocontour/upgrade.aspx).  I checked the update zip and that doesn't contain the upgrade file either - should it?  (I suspect not because v1 wouldn't have an upgrade, right?).

    Anyhow, I'm a little stuck here now, do you have any other ideas as to what might be causing this?

    Thanks

  • Comment author was deleted

    Mar 18, 2013 @ 14:42

    Yeah that version shouldn't contain the upgrade page

    Do you know if an umbraco upgrade or Contour upgrade happened to the site ?

     

  • Dan 1288 posts 3921 karma points c-trib
    Mar 18, 2013 @ 14:50
    Dan
    0

    I suspect Umbraco has been upgraded but not Contour (Contour was installed at the time of building, so the versions would suggest an Umbraco upgrade subsequently).  Do you think upgrading Contour should fix this?

  • Comment author was deleted

    Mar 18, 2013 @ 14:55

    Ah yes that's it

    You'll need at least version 1.1.10 if you are on 4.7 due to a jquery update in the core

    http://nightly.umbraco.org/Umbraco%20Contour/changes.txt

    So I would recommend that you upgrade to that version

  • Dan 1288 posts 3921 karma points c-trib
    Mar 18, 2013 @ 14:57
    Dan
    0

    I sounds really obvious now - I totally should have checked the version compatability!  Thanks Tim - really appreaciate your help :)

  • Comment author was deleted

    Mar 18, 2013 @ 15:01

    No prob, glad I could help :)

Please Sign in or register to post replies

Write your reply to:

Draft