Copied to clipboard

Flag this post as spam?

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


  • jeff mayer 122 posts 200 karma points
    Nov 10, 2014 @ 20:17
    jeff mayer
    0

    Getting Error when Saving nodes in 7.18

    When saving or publishing content nodes I get an error. It works fine within local visual studio install but see the error  when publishing from production I get the folllowing error in my javascript console within Chrome.  This is a recent problem that just popped up. 

     

    TypeError: Cannot read property 'forEach' of undefined

        at Function._.each._.forEach (http://website.com/DependencyHandler.axd?s=L3VtYnJhY28vbG…U1lbnUvQWN0aW9uTmV3UmVsYXRpb25UeXBlLmpzOw&t=Javascript&cdv=345307634:25:97)

        at postMultiPartRequest.dialogService.ysodDialog.errorMsg (http://website.com/DependencyHandler.axd?s=L3VtYnJhY28vbG…lbnUvQWN0aW9uTmV3UmVsYXRpb25UeXBlLmpzOw&t=Javascript&cdv=345307634:813:453)

        at http://website.com/DependencyHandler.axd?s=L3VtYnJhY28vbG…lbnUvQWN0aW9uTmV3UmVsYXRpb25UeXBlLmpzOw&t=Javascript&cdv=345307634:821:116

        at http://website.com/DependencyHandler.axd?s=L3VtYnJhY28vbG…bnUvQWN0aW9uTmV3UmVsYXRpb25UeXBlLmpzOw&t=Javascript&cdv=345307634:14:11604

        at i (http://website.com/DependencyHandler.axd?s=L3VtYnJhY28vbG…1lbnUvQWN0aW9uTmV3UmVsYXRpb25UeXBlLmpzOw&t=Javascript&cdv=345307634:14:947)

        at i (http://website.com/DependencyHandler.axd?s=L3VtYnJhY28vbG…1lbnUvQWN0aW9uTmV3UmVsYXRpb25UeXBlLmpzOw&t=Javascript&cdv=345307634:14:947)

        at i (http://website.com/DependencyHandler.axd?s=L3VtYnJhY28vbG…1lbnUvQWN0aW9uTmV3UmVsYXRpb25UeXBlLmpzOw&t=Javascript&cdv=345307634:14:947)

        at i (http://website.com/DependencyHandler.axd?s=L3VtYnJhY28vbG…1lbnUvQWN0aW9uTmV3UmVsYXRpb25UeXBlLmpzOw&t=Javascript&cdv=345307634:14:947)

        at http://website.com/DependencyHandler.axd?s=L3VtYnJhY28vbG…lbnUvQWN0aW9uTmV3UmVsYXRpb25UeXBlLmpzOw&t=Javascript&cdv=345307634:14:1496

        at Object.e.$eval (http://website.com/DependencyHandler.axd?s=L3VtYnJhY28vbG…lbnUvQWN0aW9uTmV3UmVsYXRpb25UeXBlLmpzOw&t=Javascript&cdv=345307634:14:7447) 

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Nov 10, 2014 @ 21:33
    Jan Skovgaard
    0

    Hi Jeff

    How do you deploy from local to production? What is your process? Is it shared hosting or running a dedicated server?

    I think that maybe you need to try and clear the client dependency cache by going to /app_data/TEMP/ClientDependency and delete the files (on the server) and in the /config/ClientDependency.config increment the version number.

    Hope this helps

    /Jan

  • jeff mayer 122 posts 200 karma points
    Nov 10, 2014 @ 22:06
    jeff mayer
    0

    Hi Jan,

     

    Cleared the temp ClientDependency folder as you suggested and updated version #, but same error occurs.  

     

    Its a dedicated server that has worked fine until recently. Can't seem to resolve . Even copied fresh copy of Umbraco, Umbraco_client  and DLLS from new install.   Copied entire directory from local machine to production which has worked fine until recent error.  Some content nodes see to save and publish fine, others seem to hang. The publish button dims after publishing and the page hangs. 

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Nov 11, 2014 @ 16:53
    Jan Skovgaard
    0

    Hi Jeff

    Did you recycle the app pool as well after doing the proposed steps?

    Has something happened on the server? An update of some of the software for instance? Does the server logs reveal anything?

    /Jan

  • jeff mayer 122 posts 200 karma points
    Nov 11, 2014 @ 17:09
    jeff mayer
    0

    Tried app pool recycling but doesn't help. Nothing in the umbraco log appears when the error occurs, only getting the javascript error.  Nothing on the server has changed that I am aware of. In fact we have 2 servers, the error occurs on both instances.   Its only working correctly on local instance.  

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Nov 11, 2014 @ 21:07
    Jan Skovgaard
    0

    Hi Jeff

    Hmm, could something be missing on your server setup that could be the cause of this then?

    Is it possible for you to try and install Webmatrix and then make an Umbraco installation using it on your server - The benefit is that Webmatrix makes sure all needed dependencies are installed before it tries to install Umbraco.

    You don't need to use the Umbraco installation for anything else and can delete it afterwards and then install and setup Umbraco manually as or however you have done the Umbraco setup on your server. Could this be an option to try out?

    /Jan

  • jeff mayer 122 posts 200 karma points
    Nov 11, 2014 @ 23:12
    jeff mayer
    0

    I tried installing webmatrix and umbraco but the problem still occurs.  Should I consider a fresh install first?  Then try to merge my files. 

  • jeff mayer 122 posts 200 karma points
    Nov 11, 2014 @ 23:40
    jeff mayer
    0

    I have noticed something new. If I add a URL href link to a text field RTE using TINY MCE editor and publish and save it fails. But if I remove the link it publishes without error. Any thoughts?

  • jeff mayer 122 posts 200 karma points
    Nov 13, 2014 @ 22:31
    jeff mayer
    0

    Jan, 

    Turns out this was a firewall related issue.   Thanks for your help

     

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Nov 14, 2014 @ 07:42
    Jan Skovgaard
    0

    Hi Jeff

    Aaah yes...the firewall! It can really mess things up sometimes - Happy you managed to figure out the issue mate :)

    /Jan

Please Sign in or register to post replies

Write your reply to:

Draft