I cant stop those errors

Discussion in 'Other' started by sami simo, Jul 30, 2017.

  1. sami simo

    sami simo Webmaster

    I have too many errors like this every day.
    Capture.JPG
    there were many broken image in my threads, but I have removed all those broken links. rebuild thread informations but still get those errors.
    [bd] Image is still trying to show images that does not exist anymore , could please help me fix this?
     
    Tags:
  2. xfrocks

    xfrocks XenForo rocks! Staff Member

    How often are these? When did you clean up those images? Normally search bots will keep trying links for awhile.
     
    sami simo likes this.
  3. sami simo

    sami simo Webmaster

    Thanks for taking the time to answer xfrocks.
    I didn't reply before because I needed time to discover how to reproduce those errors.
    I can generate a dozen of errors instantly just by refreshing once the thread list.
    Here is what happened:
    I have converted all linked images in my forums into attachments, and I have removed all broken images that could not convert.
    Now, I have zero external image in my forum. but I can see many broken thumbnails in thread list view when the BD image is enabled.
    those thumbnails have similar URL for the old broken images. even if those images don't exist any more in posts. and even I have rebuilt thread information.
    What should I do?
    Can uninstalling and reinstalling the add-on fix this?
    or maybe I should only remove the thumbnail folder?
     
  4. xfrocks

    xfrocks XenForo rocks! Staff Member

    Probably the image has been saved to field `xf_thread.bdimage_image` on the database. Rebuilding won't replace an existing image. You can run this sql command:

    Code:
    UPDATE xf_thread SET bdimage_image = NULL;
    It will remove all thread image previously set. Then you can rebuild them again if you want (and have time). We have newer version of [bd] Image which will handle this better (no more server error log) though. I may release it soon.
     
    sami simo likes this.
Loading...