Copied to clipboard

Flag this post as spam?

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


  • Brian Coyle 9 posts 39 karma points
    Jul 30, 2013 @ 12:07
    Brian Coyle
    0

    Contrib conflict after install

    Hi there, any opinions greatly appreciated

    After I install 'Contour Contrib', my news list macro crashes, giving the following error:

    "Error loading Razor Script NewsEventsSubNaviiKNOW.cshtml
    'umbraco.MacroEngines.DynamicNodeList' does not contain a definition for 'First' - See more at: http://www.i-know.com/#sthash.hGOcf3sK.dpuf"

     

    If anyone can help please get back to me. It looks like some naming/definition conflict but I'm not too techy, so very stuck.

     

    Many thanks in advance

  • Comment author was deleted

    Jul 30, 2013 @ 12:18

    Not that familiar with Contour contrib but seems odd that it would cause issues with existing macros, mind telling me which files contrib installed?

  • Sebastiaan Janssen 5061 posts 15544 karma points MVP admin hq
    Jul 30, 2013 @ 12:31
    Sebastiaan Janssen
    0

    It might be that the recaptcha dll is acting up but I doubt it.

    Make sure to add ?umbDebugShowTrace to the url where you see this error and copy the stack trace you get (in red) so we have some further information.

  • Brian Coyle 9 posts 39 karma points
    Jul 30, 2013 @ 12:34
    Brian Coyle
    0

    Hi Tim,

    here are the files installed with the Contrib package.

    I need the extended 'file upload' workflow in contrib.

    Currently my client gets a static URL in their email, which they add to the hostname to retreive the file - not good.

    Is there any other way to maybe create a link or add the uploaded file in the email sent by Contour?

     

  • Brian Coyle 9 posts 39 karma points
    Jul 30, 2013 @ 12:46
    Brian Coyle
    0

    Sebastiaan, thanks for replying

    the error doesn't appear on a url of it's own. It appears in a <div> within a page, the ShowTrace line doesn't function. I may be missing something though.

     

  • Comment author was deleted

    Jul 31, 2013 @ 13:44

    Can you see if removing the recaptcha.dll fixes anything ?

  • Sebastiaan Janssen 5061 posts 15544 karma points MVP admin hq
    Jul 31, 2013 @ 18:23
    Sebastiaan Janssen
    0

    Found something interesting in the last few comments here: http://our.umbraco.org/forum/developers/razor/18840-Using-the-Take-LINQ-method-against-a-DynamicNodeList?p=1

    You might need to add:

    @using System.Linq
    @using System.Xml.Linq
    

    Apparently Contour has a Take extension method that can get in the way, maybe, possibly?

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies