Copied to clipboard

Flag this post as spam?

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


  • Giorgos Grispos 145 posts 179 karma points
    Jul 08, 2011 @ 15:30
    Giorgos Grispos
    0

    Media folder becomes empty

    Hello,

    Suddenly media folder is empty, images and folders are still there I can see that through sort function or by browsing the frond end of the site. In the back end there is nothing, any ideas guys?

    Version:4.7

    Cheers, Giorgos

  • Giorgos Grispos 145 posts 179 karma points
    Jul 08, 2011 @ 16:15
    Giorgos Grispos
    0

    Hello again, 

    Just checked database and everything looks as normal, nodes are there.. why are not coming to the tree?

    Giorgos

  • Tom Fulton 2030 posts 4990 karma points c-trib
    Jul 08, 2011 @ 16:23
    Tom Fulton
    0

    Hi Giorgos,

    For a hint you can try checking the umbracoLog table just after you visit the media section, most likely the tree rendering is throwing an error.

    You should also try using a tool like Fiddler to see if you are getting any 500 errors and if any useful error data is returned - may give a hint to where the problem is.

    Have you changed anything recently, installed new packages, etc?

    -Tom

  • Giorgos Grispos 145 posts 179 karma points
    Jul 08, 2011 @ 17:40
    Giorgos Grispos
    0

    Hi Tom,

    Thanks for your thoughts,

    Just tried the tswe.log4umbraco package and I got this after trying to visit media

     

    At /umbraco/webservices/TreeDataService.ashx?rnd=45f8667ae78d43c6b63af964b399e9b5&id=-1&treeType=media&contextMenu=true&isDialog=false&rnd2=98

     

    no idea if that helps you or not to realise what's going wrong with it. I haven't changed anything nor istalled anything new. I got the uploadify package and I was just uploading images while happened this.

    Giorgos

  • Tom Fulton 2030 posts 4990 karma points c-trib
    Jul 08, 2011 @ 17:46
    Tom Fulton
    0

    Well that's a start but it doesn't really show the "real" error message

    I would suggest using Firebug or Fiddler to monitor the http traffic when you visit the Media section, and check the Raw data returned on TreeDataService.ashx, hopefully it should contain the real error.

    -Tom

  • Giorgos Grispos 145 posts 179 karma points
    Jul 08, 2011 @ 17:51
    Giorgos Grispos
    0

    Hey Tomas,

    you're right, there is an error 500

    No node exists with id '-21'

    any ideas now? cheers

    Giorgos

  • Tom Fulton 2030 posts 4990 karma points c-trib
    Jul 08, 2011 @ 18:00
    Tom Fulton
    1

    Ok, that's much better!  -21 is the ID of the Media Recycle Bin, and this is actually a common issue.  Somehow it gets deleted.

    I haven't personally run into it but there are a few threads on how to fix it.  The first one looks like the way to go, it has an SQL statement to re-add the missing node...just make sure you backup your database first.

    http://our.umbraco.org/forum/core/general/18493-Media-section-broke-No-node-exists-with-id-%27-21%27
    http://our.umbraco.org/forum/using/ui-questions/20431-the-Media-Tree-gone-away

    http://our.umbraco.org/forum/ourumb-dev-forum/bugs/20284-Media-no-longer-listing-after-accidentally-hitting-delete-on-the-Media-Recycle-Bin

    Hope this helps,
    Tom

  • Giorgos Grispos 145 posts 179 karma points
    Jul 08, 2011 @ 18:44
    Giorgos Grispos
    0

    That's great Tomas,

    Thanks a lot for your help, everything looks fine, the SQL did the job and created the recycle bin.

    of course I'd love to know why this happened but at least I got the media back.

    Cheers, Giorgos

  • Tom Fulton 2030 posts 4990 karma points c-trib
    Jul 08, 2011 @ 18:49
    Tom Fulton
    0

    Awesome!  I couldn't find anything on Codeplex about the issue, so if you get a chance you might want to report it and reference this and the above threads.  Although I'm not sure anyone knows how to reproduce it yet, at least it can be a place to track the issue and hopefully others that run into it will report their situations.  You said you were using Uploadify right before it happens, I wonder if that's the common factor?

    -Tom

  • Giorgos Grispos 145 posts 179 karma points
    Jul 08, 2011 @ 19:13
    Giorgos Grispos
    0

    Yeah sure,

    just post it in codeplex. you can vote for it as well

    http://umbraco.codeplex.com/workitem/30357

    As for Uploadify I am using it a lot in many projects but never had this problem again.

    Cheers, Giorgos

Please Sign in or register to post replies

Write your reply to:

Draft