• 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

Chris D

XenForo developer
Staff member
#2
Are there any errors logged in your server error log?

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

Chris D

XenForo developer
Staff member
#4
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:
Failed to load resource: the server responded with a status of 403 (Forbidden)
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

Active member
#5
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.
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?
 

Chris D

XenForo developer
Staff member
#6
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.
 

Mike Edge

Well-known member
#9
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.
You can close it Chris, he didn't have a correct .htaccess set up.