1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Thread deletion error

Discussion in 'Troubleshooting and Problems' started by OverHere, Jun 8, 2013.

  1. OverHere

    OverHere Active Member

    When I delete a thread it says:

    Global Discussion Forum - Error
    The requested thread could not be found.

    But, the thread actually does get deleted.

    What is the cause and resolution of this error?

    Thanks.
     
  2. Mike

    Mike XenForo Developer Staff Member

    How are you deleting the thread? There is one possible scenario where it could redirect you back to the thread even after it's been removed.

    Otherwise, I'd look at add-ons. See if you can reproduce it with all add-ons disabled.
     
  3. OverHere

    OverHere Active Member

    Please see the 2 attached files... both Admin & a User added threads and when Admin deletes the thread via the moderator block he sees the attached 2 files, 1 & 2. The error is in no. 2.

    What do you think?

    deletion1.jpg deletion2.jpg
     
  4. Andrej

    Andrej Well-Known Member

     
    OverHere likes this.
  5. Mike

    Mike XenForo Developer Staff Member

    That would be the case where it's roughly expected.
     
  6. OverHere

    OverHere Active Member

    Peter will test via disabling add-ons etc., but i just realised that my error only happens when as Admin you use the moderator pop up window (shown above) and then you check Permanent Delete and press 'delete posts' to permanently delete a thread, not when you use other delete options there like that in the Thread Tools and the delete option near 'IP' 'Report' etc.:

    pop.jpg

    So, something is wrong in or around the pop-up moderator block.

    Any idea on this?
     
  7. Mike

    Mike XenForo Developer Staff Member

    See my previous post: this is the known behavior when using the inline mod tools to delete the thread (when leading to a situation where you can't see the thread, generally permanent deletion).
     
    Andrej likes this.
  8. SchmitzIT

    SchmitzIT Well-Known Member

    This is an error I can actually reproduce in 1.1.5, both on the client's forum without any add-ons, as well as on my stock 1.1.5 local test forum.

    Steps to reproduce:

    1) Create a new thread.
    2) As an admin, open up the thread (or, if you posted as an admin, it'll take you there directly).
    3) Check the checkbox in the fipo, causing the pop-up to show up:

    bug1.png
    4) Click Delete to bring up the inline moderation overlay, and select "Permanently delete":

    bug2.png

    5) Click on "Delete Posts":

    bug3.png
     
  9. xf_phantom

    xf_phantom Well-Known Member

    @Mike wouldn't it be better to use the forumindexpage as redirect target, if $firstPostCount > 0 ?

    because if firstPostCount > 0 => at least 1 deleted thread =>big chance that no thread redirect is possible
    or if all posts(threads) are from the same forum => redirect to the forum, like when a moderated thread is inserted
     

    Attached Files:

    Last edited: Jun 9, 2013
    Andrej likes this.
  10. OverHere

    OverHere Active Member

    @Mike, what Peter is saying suggests that there is a bug in xF? What to do t fix this?
     
  11. xf_phantom

    xf_phantom Well-Known Member

  12. OverHere

    OverHere Active Member

    No this is not how this is working .. only until a few days ago deleting a thread here wasn't showing this error, and deleting a thread in other 'delete' options on that page also doesn't show this error.

    Before, deleting via this this specific route was working just fine as it does via other thread delete options,

    So, @Mike, please see to this and advise.
     
  13. OverHere

    OverHere Active Member

    This error wasn't appearing before?
     
  14. xf_phantom

    xf_phantom Well-Known Member

    I'm not sure if we're talking about the same:D


    If you use the default xenforo inline moderation, you'll be redirected back to the thread, you were viewing, while using the inline moderation.
    Steps to reproduce http://xenforo.com/community/threads/thread-deletion-error.52074/#post-558251


    Maybe you're talking about inline moderation on "forum level" and not "thread level"?
     
  15. OverHere

    OverHere Active Member

    Please see what Peter sys above.
     
  16. Andrej

    Andrej Well-Known Member

  17. OverHere

    OverHere Active Member

    I already confirmed that the other delete options are fine, but, if everyone here is adamant this is how it is as in relation to what Peter has shown, obviously, it needs fixing. I left VB to avoid all this...
     
  18. Andrej

    Andrej Well-Known Member

  19. OverHere

    OverHere Active Member

    I reported it but @Mike should've recognised this as a bug
     
  20. phaze3131

    phaze3131 Active Member

    I have the same issue. Is there anyway to change the error message? For example add a redirect link to homepage. Say, click here to redirect to homepage, or maybe click here to search for a thread.
     

Share This Page