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

XF 1.1 This attachment cannot be shown at this time. Please try back later.

Nudaii

Well-known member
#1
I recently moved from one host to another, and now whenever i click any attachments from before the move i get this message

This attachment cannot be shown at this time. Please try back later.

however any new attachments works, and the files are physically still in the data/internal_data folders

any ideas?
 

Chris D

XenForo developer
Staff member
#3
I guess just make sure the old files themselves are actually readable by the web server. It has been known for file permissions to change during the copy phase and although the parent folder might be the same, somehow those files are set to be unreadable for some reason.

EDIT:
 

Brogan

XenForo moderator
Staff member
#12
According to Firebug, it's a 404.

Have you confirmed the attachment is actually in the directory?
You can check using WinSCP or similar.
 
#16
Seems I'm having a similar issue, same error message.

I've confirmed the attachments do exist in /data, yet I would not know how to do so in /internal_data/attachments - how can I read the .data files?

Anyways, I also gave the entire root directory and forward to these attachments www-data rights, and even set the attachments themselves to 755.

Any ideas? I believe this is also related to user avatars... as an admin, only mine is visible, yet it appears that no one else's avatar is set. I logged in as a test user, changed my avatar and it stuck. But when I went back to admin, that avatar for the test user was not set, which I find very weird...

Using 1.3.1. thanks
 

Mike

XenForo developer
Staff member
#18
You just need to check that an internal_data/ record exists at the correct place. The data is just what's uploaded -- you can rename the extension. This error generally indicates that the file doesn't exist or can't be read.

What changed from when it worked to when it didn't? Figuring that out and either undoing it or figuring out the significance is the key to this.