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

XF 1.1 Attachments issue

Discussion in 'Troubleshooting and Problems' started by ecruzartist, Dec 21, 2013.

  1. ecruzartist

    ecruzartist Member

    I had to move a xenforo 1.1.5 install that I work on that I had to move to a sub-directory. The move, more or less, went fine. But some weirdness has happened in the transition. Some attachments can no longer be called up by the friendly URL and I can't figure out why. with the exception of being moved one directory down, the location's the same. The encrypted file name is the same in the database and on server. When I call the file up via the server's directory structure with the encrypted name, it shows up. The file's not corrupt. The check sum of the file is the same.

    What might the problem be? Is it possible there's some database corruption? Could it be something else?
     
  2. AndyB

    AndyB Well-Known Member

    What do you mean by "called up by the friendly URL".

    Do you have any add-on that effect attachments?
     
  3. Jeremy

    Jeremy XenForo Moderator Staff Member

    What is the error you receive? Can you post a link to such an error?
     
  4. ecruzartist

    ecruzartist Member

  5. Jeremy

    Jeremy XenForo Moderator Staff Member

    That is an invalid ID, it should have a number greater than 0.
     
  6. ecruzartist

    ecruzartist Member

  7. Mike

    Mike XenForo Developer Staff Member

    Note the URL you're giving isn't actually for the attachment, but the thumbnail. It's not used when viewing the attachment. The data in question here is inside the internal_data directory.

    As such, we'd really need to see the actual URL of a working and non-working attachment.
     
  8. ecruzartist

    ecruzartist Member

  9. Mike

    Mike XenForo Developer Staff Member

    Looking at the code, the only 404 error possibility I see is if the attachment ID doesn't exist. When I view that URL, I get a no permission error, which happens after the 404 check.

    Can you either provide an account that we can see the attachment with or a screenshot of what you see? If you have add-ons, please disable all of them to confirm if the issue still happens.
     

Share This Page