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

XF 1.4 Issue with Thumbnails

Discussion in 'Troubleshooting and Problems' started by Tower, Nov 26, 2014.

  1. Tower

    Tower Active Member

    Last edited: Nov 26, 2014
  2. Chris D

    Chris D XenForo Developer Staff Member

    Are there any errors logged in your server error log?

    Is this just happening with existing images or also with new ones?
     
  3. Tower

    Tower Active Member

    Hi Chris,
    There arent any errors in the logs, and this is just happening with new images.
     
  4. Chris D

    Chris D XenForo Developer Staff Member

    At a guess, I would say it could be having difficulty writing to the appropriate directories:

    http://www.thecpforum.com/data/xengallery/2/2643-494afda46e211b9f4fc56322ab79bfae.jpg?1416985109

    That link will take you to a 403 error, which is unusual. That would suggest the thumbnail has been created (and I believe you would be able to see it in that location on the file system) but it cannot be read.

    And looking at the URL on your license, I can see the console is reporting the same thing:
    I would recommend contacting your host and get them to check the permissions are correct. It's likely the permissions you had set were lost during the server move.

    As per the XenForo install instructions, the data/ and internal_data/ directories need to be writable with chmod 777 and that needs to apply to all files and folders within, too.
     
    Tower likes this.
  5. Tower

    Tower Active Member

    Very odd,
    You are saying you cannot see http://www.thecpforum.com/data/xengallery/2/2643-494afda46e211b9f4fc56322ab79bfae.jpg?1416985109 ? I am able to see the image. Also, I am able to access the forum. So just to confirm you cannot see either?
     
  6. Chris D

    Chris D XenForo Developer Staff Member

    Sorry I linked to the wrong one.

    The one image in the gallery that is broken is the one I meant to link to. That returns a 403. That should be on the file system, but for some reason we can't see it.

    I think it has been added to the thumbnail directory, but it has inherited some wierd default permissions.

    First thing to do is just make sure the directories I mentioned above are fully writable.
     
  7. Tower

    Tower Active Member

  8. Chris D

    Chris D XenForo Developer Staff Member

    Yeah you have bigger problems that aren't directly related to the gallery.

    I just signed up and my avatar is broken:

    http://www.thecpforum.com/data/avatars/m/0/536.jpg?1417011308

    Visiting that page returns a 403. Again, the avatar has been created, but something on the web server is blocking it.

    I'm moving this to general troubleshooting, but, really, this is a server configuration issue.
     
  9. The Forum Heroes

    The Forum Heroes Well-Known Member

    You can close it Chris, he didn't have a correct .htaccess set up.
     
    Chris D and Tower like this.
  10. Tower

    Tower Active Member

    The issue dealt with the wrong public_html file permission, never thought to check that rofl :D
     
    Chris D likes this.

Share This Page