Copied to clipboard

Flag this post as spam?

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


  • Mark Bowser 273 posts 860 karma points c-trib
    Mar 06, 2014 @ 02:14
    Mark Bowser
    0

    Redirect manager YSOD: No Media exists with id 'xxxx'

    We are using SEOChecker in our Umbraco 6.1.6 site, and are having an issue resolving a 'No Media exists with id 'xxxx'. This YSOD pops up when I try to access SEOChecker's Redirect manager. My guess is that a redirect was created that redirects to a media node with id xxxx. This media item has since been deleted. It no longer lives in the recycle bin or in the media tree. Now, I can't manage the redirects using the SEOChecker section of umbraco.

    Where do the redirects live? How should I go about resolving this?

    Thanks in advance

  • Richard Soeteman 4046 posts 12899 karma points MVP 2x
    Mar 06, 2014 @ 08:15
    Richard Soeteman
    0

    Hi Mark,

    Sorry that you run into this issue. Check the SEOChecker_PageNotFound table to delete the item, column documentID holds the media id. I think the event handler didn't get fired after the delete. That's why the record is still in. I'll make sure this gets improved.

    Sorry for the hassle for now.

    Best,

    Richard

  • Mark Bowser 273 posts 860 karma points c-trib
    Mar 11, 2014 @ 18:02
    Mark Bowser
    0

    Thanks! If anyone else runs into this, looks like it worked. I ran this query:

    DELETE SEOChecker_PageNotFound
    WHERE SEOChecker_PageNotFound.DocumentID NOT IN (SELECT n.id FROM umbracoNode n)
                 AND SEOChecker_PageNotFound.DocumentID != 0

    I wouldn't just take my word for it though. Make sure you read this and it makes sense.

     

Please Sign in or register to post replies

Write your reply to:

Draft