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

XF 1.1 Forum moved to subfolder causing attachment errors?

Discussion in 'Troubleshooting and Problems' started by Akela, Jan 20, 2014.

  1. Akela

    Akela Active Member

    I recently moved my forum to a subfolder and it seems to have caused all attachments to show up as broken images.

    Is there a way I can fix the broken path?
     
  2. Jeremy

    Jeremy XenForo Moderator Staff Member

    Did you properly copy over the internal_data/ and data/ directories? Are the attachments there?
     
    Akela likes this.
  3. Akela

    Akela Active Member

    There are subfolders there named "0" and "1", with images named in the style of 1000-53c2622c2bd961dccb7d0e01c66e8ffc.jpg
     
  4. Jeremy

    Jeremy XenForo Moderator Staff Member

    Have you updated the board URL to include the new sub-directory?
     
    Akela likes this.
  5. Brogan

    Brogan XenForo Moderator Staff Member

    Can you link to a thread with a broken image which is visible to guests?
    Do you use any form of caching, cdn, etc?
     
    Akela likes this.
  6. AndyB

    AndyB Well-Known Member

    Make sure internal_data/ and data/ directories have been chmod'ed to 755 recursively.
     
    Akela likes this.
  7. Akela

    Akela Active Member

    Yes, I've been running the forum out of the directory for months now. Just didn't notice the broken attachments until now.

    http://datingfora.com/community/dating/something-to-think-about.8882/#post-170955
    (post #4)

    Cloudflare - I just purged its cache, but it made no difference.
     
  8. Akela

    Akela Active Member

    It didn't make a difference :(
     
  9. AndyB

    AndyB Well-Known Member

    Try chmod'ing to 777 recursively.
     
    Akela likes this.
  10. Akela

    Akela Active Member

    No difference...

    Perhaps, the issue is not in the folders but in some of the files getting corrupted during the move...
    Thank you, everyone who tried to help.
     
  11. Brogan

    Brogan XenForo Moderator Staff Member

  12. Akela

    Akela Active Member

    I get an error screen.
     
  13. AndyB

    AndyB Well-Known Member

    Does this file exist on the server under the data/attachments/1/ directory?

    Code:
    http://datingfora.com/community/data/attachments/1/1357-cfb2d59d2fd14a05316f76313ad12bf1.jpg
    
     
  14. Akela

    Akela Active Member

    No, it doesn't... How could it not have copied over...
     
  15. AndyB

    AndyB Well-Known Member

    Appears you are making progress. I can see the thumbnails images now in posts.
     
  16. Akela

    Akela Active Member

    Not in the post linked above...
     
  17. Jeremy

    Jeremy XenForo Moderator Staff Member

    If you have a backup of your forum, it may be worth looking for the files and moving them over.
     

Share This Page