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

XF 1.3 Thumbnails not appearing after installing LiteSpeed

Discussion in 'Troubleshooting and Problems' started by Mike54, Feb 5, 2014.

  1. Mike54

    Mike54 Active Member

    After installing LiteSpeed and upgrading PHP from 5.4.17 to 5.4.24, I've suddenly encountered a problem with thumbnails not displaying.


    However the full images display with no problem.


    If I create the post with the thumbnail image, clicking on the broken thumbnail image will momentarily open the lightbox, then closes it immediately. If I didn't know to look for the lightbox, it comes and goes so quickly I would not realize what it is.

    When hovering over the thumbnail, the URL appears as /attachments/ Shouldn't that be /data/attachments instead? I can't wrap my head around this odd URL.


    I am running 1.3 on another VPS, using Apache and thumbnails are all working as anticipated.
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Please confirm the full URL of the thumbnail, and try visiting the URL directly to see if that exposes any errors. Also check the log for relevant errors:

    Admin CP -> Tools -> Server Error Log

    It might be a broken image library. Try using a different library if one is available:

    Admin CP -> Home -> Options -> Attachments -> Default Image Processor
  3. Mike54

    Mike54 Active Member

    Hi Jake. Thanks for offering to help with this one.
    OK, here is another attempt -


    From top to bottom, the URL on the broken thumbnail is - http://www.tbucketeers.com/attachments/tux-png.9475/

    If I click on the thumbnail, I get the issue where the lightbox tries to open then immediately closes. If I attempt to directly visit that URL, I can view the full-size image.

    Obviously, the URL on the full image is the same as above - http://www.tbucketeers.com/attachments/tux-png.9475/

    The URL in the upload insertion is - http://www.tbucketeers.com/attachments/tux-png.9475/?temp_hash=f5c39abd2684647f6563fae9a7305c86 I am able to view the full image, by directly visiting that URL.
    Nary an error to be seen.

    I've always used ImageMagick, so I selected GD, instead. The results are exactly as above.

    I keep seeing the PHP upgrade/LiteSpeed installation as being the common denominator. Posts containing thumbnails, submitted before this change, are displaying thumbnails as expected. As I mentioned, a second forum on a VPS running Apache is displaying thumbnails without issue.
  4. Mike

    Mike XenForo Developer Staff Member

    Divvens likes this.
  5. Mike54

    Mike54 Active Member

    Thanks, Mike. At least you gave me a nudge in the right direction.
  6. Mike54

    Mike54 Active Member

    I managed to get everything working. It was as easy as enabling suEXEC within LiteSpeed and getting directory and file permissions set to LiteSpeed's liking.
    Jake Bunce likes this.

Share This Page