Copied to clipboard

Flag this post as spam?

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


  • Bambe 45 posts 66 karma points
    May 18, 2011 @ 03:51
    Bambe
    0

    the Media Tree gone away?

    Hi all,

    I don't know what I do...

    the Media tree are disappeared

    the tree are empty when I get into media section

    but I right click sort on media tree root the data is still here

     

    the original tree is here

    any ideas ??

    thx alot :)

     

    Regards,

    Bambe. :)

  • Tom Fulton 2030 posts 4990 karma points c-trib
    May 18, 2011 @ 04:22
    Tom Fulton
    0

    Hi Bambe,

    Did you install any packages or do any development or other changes before this happened?

    Try accessing the Media tree again and then check the umbracoLog table in the database, there may be an error explaining what's happening.  If not, try using an HTTP Sniffer tool like Fiddler to look for 500 errors and see if you can get an error message

    Hope this helps,
    Tom

  • Bambe 45 posts 66 karma points
    May 18, 2011 @ 04:41
    Bambe
    0

    Hi Tom

    Thanks for your help,

    I founded an error log from umbracoLog

    the following log is here:
    At /nweb/umbraco/webservices/TreeDataService.ashx?rnd=c66af8875a964cd39a13a1c4eff4f3b2&id=-1&treeType=media&contextMenu=true&isDialog=false&rnd2=78.1 (Referred by: http://domain/nweb/umbraco/)

    Did you install any packages or do any development or other changes before this happened?

    no, but include editing XSLT files??

     

    Regards,

    Bambe :)

  • Tom Fulton 2030 posts 4990 karma points c-trib
    May 18, 2011 @ 14:06
    Tom Fulton
    0

    Hmm, that error unfortunately doesn't say too much.

    Editing XSLT shouldnt have caused anything like that.

    The only thing I can think to suggest is try using Fiddler and seeing if you can get a better error on TreeDataService.ashx to help point in the right direction

  • Jeroen Breuer 4861 posts 12134 karma points MVP 3x admin c-trib
    May 18, 2011 @ 14:47
    Jeroen Breuer
    0

    Hello,

    I think this problem isn't related to the media tree since I've had the same error log with the settings tree once. I think it was because I had duplicated node in the UmbracoNode table. Did you delete any media item before this error occured?

    Jeroen

  • Bambe 45 posts 66 karma points
    May 20, 2011 @ 03:49
    Bambe
    0

    Hello,

    Thanks Tom and Jeroen

    I found the problem similar with Jeroen told (it makes me a good way to find the problem)

    when I press RTE's insertLink and insertImage

    the error message told me Error: No node exists with id '-21'

    and I open umbracoNode to find id -21 is disappear

    so I reinstall on other computer to find -21 and recover back

    the media node is fixed

    thx for yours help :)

     

    Regards,

    Bambe :)

  • Rich Green 2246 posts 3981 karma points
    Oct 25, 2011 @ 11:34
    Rich Green
    3
    For info, running this fixed the problem for meSET IDENTITY_INSERT [umbracoNode] ON
    INSERT [umbracoNode]([id]
          ,[trashed]
          ,[parentID]
          ,[nodeUser]
          ,[level]
          ,[path]
          ,[sortOrder]
          ,[uniqueID]
          ,[text]
          ,[nodeObjectType]
          ,[createDate])
    VALUES (-21, 0,-1,0,0,'-1,21',0,'BF7C7CBC-952F-4518-97A2-69E9C7B33842','Recycle Bin','CF3D8E34-1C1C-41E9-AE56-878B57B32113',getDate())
     
    SET IDENTITY_INSERT [umbracoNode] OFF
     
    Rich
  • Kieron McIntyre 108 posts 325 karma points
    Feb 23, 2012 @ 11:18
    Kieron McIntyre
    0

    Thanks Rich, I've just had this issue in 4.7.1 and inexplicably the Recycle bin had been removed from the database. So, I can confirm that the script above works fine - as you'd expect.

    However, what would cause this to happen? Can anyone shed light on this as I REALLY want to avoid this happening again.

    To clarify, I have not recently installed any packages, and all that has been happening is general content population.

  • Kristian Ravnevand 91 posts 209 karma points
    Aug 31, 2012 @ 10:53
    Kristian Ravnevand
    0

    I had some of the same problems with an upgrade from 4.0.3 to 4.8.1, I followed this solution: http://our.umbraco.org/forum/core/general/23642-Empty-media-tree

    Basically:

    • Create an empty umbraco solution of version 4.5.2 (download from codeplex)
    • Set the umbracoDbDSN appsetting in web.config to your 4.0.3 database
    • Run the site and the upgrade screen should apear
    • Run the wizard
    • Then go to your 4.8.1 solution and change this appsetting to <add key="umbracoConfigurationStatus" value="4.5.2"/>
    • Run you 4.8.1 site
    • Run the wizard
    • Works :-) (for me)
  • Kristian Ravnevand 91 posts 209 karma points
    Aug 31, 2012 @ 10:55
    Kristian Ravnevand
    0

    One more thing; had to run the script from this page to get rid of this error: Invalid object name 'cmsPreviewXml'.

    http://our.umbraco.org/forum/getting-started/installing-umbraco/13608-Upgrading-to-45x-and-DB-41

  • Dan 1250 posts 3746 karma points admin c-trib
    Oct 19, 2012 @ 11:52
    Dan
    0

    Rich, that script has just saved the day, thanks!

    Anyone figured out what causes this?  I had the issue just now with v4.7.2.  Not sure if it was user error (or at least triggered somehow by the user) or something else but it's very concerning when it happens!

  • Alex Lindgren 158 posts 355 karma points
    Jul 23, 2014 @ 16:35
    Alex Lindgren
    0

    The script just saved the day for me too!

Please Sign in or register to post replies

Write your reply to:

Draft