Copied to clipboard

Flag this post as spam?

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


  • Andrew 142 posts 98 karma points
    Jan 25, 2010 @ 20:58
    Andrew
    0

    Media Nodetype Error Again

    Hi all

    sorry for the double post - I have tried to help in the previous posting of this query, but since it is marked as solved, i am not getting any joy in my response. As this forum entry explains, when you try an create a new item under media you get a error related to "ERROR CREATING CONTROL FOR NODETYPE:Media.

    I have done the following:

    1. updated the umbracoAppTree table to rename 'TreeAlias' with a small 'm'

    2. Updated the ui.xml file to rename Media with a big 'M'

    3. Restarted iis

    4. Recycled the App pool

     

    This process solved the problem once briefly, but the next day it was throwing an error once again. I also upgraded from 3.06 to 4.03.

     

    My umbracoAppTree table has the following entry for the media row:

    False, True, 0, media, media, Media, folder.gif, folder_o.gif, umbraco, loadMedia, NULL

     

    The media section from my ui.xml looks like this:

    <nodeType alias="Media">
        <header>Media</header>
        <usercontrol>/create/media.ascx</usercontrol>
        <tasks>
          <create assembly="umbraco" type="mediaTasks" />
          <delete assembly="umbraco" type="mediaTasks" />
        </tasks>
     </nodeType>
    

     

    The only thing i can think of is that I have missed something obvious, but where i dont know??

    Any help please?

    Thanks in advance

    Andrew

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Jan 25, 2010 @ 23:55
    Dirk De Grave
    0

    If you're appAlias is 'media' (fourth column), than the nodeType alias should match that too, which it doesn't atm

     

    Does that work then?

    Cheers,

    /Dirk

  • Andrew 142 posts 98 karma points
    Jan 26, 2010 @ 07:09
    Andrew
    0

    Thats the invisible thread - ui.xml must be the same as appalias 

     

    Thanks!

  • 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