Copied to clipboard

Flag this post as spam?

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


  • Fredrik Esseen 610 posts 906 karma points
    Aug 16, 2010 @ 13:14
    Fredrik Esseen
    0

    Empty media after upgrade to 4.5.1

    Im getting the same problem discussed on this forum before after upgrade.

    The media node is not showing any folders or images.

    I dont get the same error though. This is what i get in the log as ERROR:

    "At /umbraco/webservices/TreeDataService.ashx?rnd=848fe661f3e2400d9dcdb1e60302fa76&id=-1&treeType=media&contextMenu=true&isDialog=false&rnd2=20.3 "

    When i click the dialog for sorting i can see the whole tree so thers nothing wrong with the content, just the tree.

  • Fredrik Esseen 610 posts 906 karma points
    Aug 16, 2010 @ 15:16
    Fredrik Esseen
    0

    I noticed in the log that the error message is not fetched. The full message just looks like this:

    At /umbraco/webservices/TreeDataService.ashx?rnd=b01b471b59c94e6b9930ae27608382de&id=-1&treeType=media&contextMenu=true&isDialog=false&rnd2=25 (Referred by: http://localhost:9094/umbraco/umbraco.aspx#media):

    Shouldnt there be an error? Can I fetch it some other way?

  • Fredrik Esseen 610 posts 906 karma points
    Aug 25, 2010 @ 08:29
    Fredrik Esseen
    0

    Sorry but gotta *bump*

    Using 4.5.2 and MySQL

  • Mirela Budaes 44 posts 94 karma points
    Aug 27, 2010 @ 13:06
    Mirela Budaes
    0

    Hey,

    Did you by any chance find a solution for this?

    Mirela.

  • Fredrik Esseen 610 posts 906 karma points
    Aug 27, 2010 @ 13:12
    Fredrik Esseen
    0

    Nope, not yet. I think it has to do with the recycle bin. In the DB table UmbracoNode there is two rows with the recycle bin and it looks right to me.
    A clean installation works fine.

  • Mirela Budaes 44 posts 94 karma points
    Aug 27, 2010 @ 14:20
    Mirela Budaes
    1

    I had the same error and after working many hours at this, I found out the source of the problem: the IconPicker datatype.

    The error looked like this:

     

    No Document exists with Version 'c0d465d0-3269-4891-ba06-132b68e932f9']
       umbraco.cms.businesslogic.web.Document.setupNode() +1068
       umbraco.cms.businesslogic.CMSNode..ctor(Int32 Id) +89
       umbraco.cms.businesslogic.Content..ctor(Int32 id) +44
       umbraco.cms.businesslogic.web.Document..ctor(Int32 id) +60
       Decode.Umb.IconPicker.Event.BeforeNodeRenderHandler(XmlTree& sender, XmlTreeNode& node, EventArgs e) +235
       umbraco.cms.presentation.Trees.BaseTree.OnBeforeNodeRender(XmlTree& sender, XmlTreeNode& node, EventArgs e) +78
       umbraco.cms.presentation.Trees.BaseMediaTree.Render(XmlTree& tree) +1491
       umbraco.loadMedia.Render(XmlTree& tree) +50
       umbraco.presentation.webservices.TreeDataService.LoadTree(TreeRequestParams treeParams) +156
       umbraco.presentation.webservices.TreeDataService.GetXmlTree() +198
       umbraco.presentation.webservices.TreeDataService.ProcessRequest(HttpContext context) +85
       System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

    I should have seen the Decode.Umb.IconPicker.Event.BeforeNodeRenderHandler call earlier.

    I'm writing it here, because I also found out that there have to be 2 node with text='Recycle Bin'. The one with id=-21 was added as a recycle bin for Media files.

    So the source of your problem has to be somewhere else, as it was for me.

    Hope this helps,

    Mirela.

     

  • Fredrik Esseen 610 posts 906 karma points
    Aug 27, 2010 @ 15:23
    Fredrik Esseen
    0

    How did you retrieve the error? In the log i only get an empty error

  • Mirela Budaes 44 posts 94 karma points
    Aug 27, 2010 @ 15:34
    Mirela Budaes
    0

    I use Firebug in Firefox and can see what the TreeDataService.ashx service returns.

  • Fredrik Esseen 610 posts 906 karma points
    Aug 27, 2010 @ 15:45
    Fredrik Esseen
    0

    Strange..the only answer I get is 500 Internal Server Error..

  • Fredrik Esseen 610 posts 906 karma points
    Aug 27, 2010 @ 15:52
    Fredrik Esseen
    0

    My bad...changed to debug="true" and got the following:

    [NullReferenceException: Object reference not set to an instance of an object.]
       umbraco.cms.presentation.Trees.MediaRecycleBin.CreateRootNode(XmlTreeNode& rootNode) +131
       umbraco.cms.presentation.Trees.BaseTree.CreateRootNode() +114
       umbraco.cms.presentation.Trees.BaseTree.Initialize() +270
       umbraco.cms.presentation.Trees.BaseTree.get_RootNode() +37
       umbraco.loadMedia.CreateRecycleBin() +200
       umbraco.loadMedia.Render(XmlTree& tree) +60
       umbraco.presentation.webservices.TreeDataService.LoadTree(TreeRequestParams treeParams) +157
       umbraco.presentation.webservices.TreeDataService.GetXmlTree() +198
       umbraco.presentation.webservices.TreeDataService.ProcessRequest(HttpContext context) +85
       System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +100
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

    Seems to be the recyclebin after all? Someone knows why?

  • Fredrik Esseen 610 posts 906 karma points
    Aug 27, 2010 @ 16:07
    Fredrik Esseen
    0

    Noticed that the Recyclebin was not added in the Table UmbracoAppTree. Added the row but it wasnt enough.

    EDIT: Seems it was enough! A restart of the application did the trick! At least I think that was what made it..Adding to codeplex.

  • Jason Prothero 422 posts 1243 karma points MVP c-trib
    Mar 01, 2011 @ 19:57
    Jason Prothero
    0

    Yep, this was my problem as well.  Had to manually update the UmbracoAppTree and the UmbracoNode to include the new Recycle Bin in the Media Area.

     

     

Please Sign in or register to post replies

Write your reply to:

Draft