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

XF 1.5 Thread suddenly missing?

Discussion in 'Troubleshooting and Problems' started by xert77, Dec 28, 2015.

  1. xert77

    xert77 Member


    We had a thread on our forums, I moved it from one category to another & then started to edit it. All was fine, it was displaying in the new location, the edits were being displayed.

    Suddenly 1 hour later I go to make some more changes and it's completely vanished?! It has 55000 views as it was linked from one of our videos. Is there anyway to get it back?
  2. Amaury

    Amaury Well-Known Member

    A thread just doesn't disappear for no reason.

    Check your moderator and admin logs and see if someone deleted it. It might have been deleted accidentally or it might have been a deliberate act.
  3. xert77

    xert77 Member

    The logs have nothing about a thread being deleted. Does it show light delete and heavy delete?
  4. Mike

    Mike XenForo Developer Staff Member

    It would. Do you have any other moderator logs at the time?

    Is anything else missing?
  5. xert77

    xert77 Member

    There doesn't seem to be anything else missing. I know that I perma deleted some spam threads which were light deleted in another category. Maybe it got deleted during that, it was in an entirely different category though.

    The logs however don't say that I deleted anything, even the spam threads.

    For now I have managed to recreate the page, just a shame it lost the view count and replies. Probably was just me being stupid :(
  6. wang

    wang Well-Known Member

    You can recover the view count by executing this sql query.

    UPDATE `xf_thread` SET view_count = x WHERE thread_id = x;
    And of course replace the x-es with the appropriate values. The view count that you want that thread to have, and the id of said thread.
    Last edited: Dec 28, 2015
    xert77 likes this.
  7. xert77

    xert77 Member

    do you execute that within xen foro?
  8. wang

    wang Well-Known Member

    No, that must be executed from the sql box in your phpmyadmin, or in whatever program that you are using to manage your databases.
    xert77 likes this.

Share This Page