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

XF 1.4 Avatars and images missing after server move

Discussion in 'Troubleshooting and Problems' started by Radiola, Nov 15, 2015.

  1. Radiola

    Radiola Member

    Our problem is similar to the problem at https://xenforo.com/community/threads/avatars-missing-after-moving-host.72060/ except that both avatars and images are now missing after a server move.

    Following Brogan's advice in that thread:
    I have reset both to 0777 but still no avatars or images. (Example: http://antifraudintl.org/threads/japan-fake-passports.38006/ should show numerous false passports. All were visible with our previous server)

    Question: I have other folders/directories on the server that show permissions as 0755. Do I need to reset all folders/directories to 0777? Also, public_html permission is 0750. Does that need to be changed too?

    Question 2: Would it just be easier to upgrade to 1.5? Would that clean up this problem?

    @Paul, this is in the ticket XF-F274681F
  2. Radiola

    Radiola Member

    So just to make things interesting a couple of members do have their avatars showing now.....

    If they edit from their profile and reload the avatar it works.
  3. Jeremy P

    Jeremy P Well-Known Member

    Only those two directories should be set to 777.

    Did you change the permissions recursively? Recursive meaning all of the folders and files inside of those directories should be set to 777 too.

    Otherwise, make sure the contents of those two directories were correctly transferred between servers. Upgrading to 1.5 is unlikely to fix anything in this regard.
  4. Radiola

    Radiola Member

    Jeremy P, I'm pretty sure I did but let me double check.

    Oops. Missed one.

    In internal_data there's install-lock.php but permission is 0644. Change that one too?
  5. Jeremy P

    Jeremy P Well-Known Member

    I think that one should be fine how it is. It won't affect the state of avatars anyways.

    Your URL isn't resolving for me so I can't say anything more definitive about the problem. I'm sure, if nothing else, that ticket support will help you figure it out.
  6. Tracy Perry

    Tracy Perry Well-Known Member

    Check your .htaccess. If nothing else, try disabling the FURL in the XenForo ACP and then rename .htaccess to .htaccess.old (or whatever you want to use). Then see if they load. If so, you have something in your .htaccess that is not playing well (I'm assuming you are using Apache).
    If you need, hit me up in convo and I can take a look for you and see if we can figure it out.
    Your images in /data, /styles and a few other places are givne a 404 error.
  7. Brogan

    Brogan XenForo Moderator Staff Member

    The domain is not resolving for me either so I can't really do any checking.

    If you are sure the files have been moved over and aren't corrupt then the first thing to check is permissions (chmod), if that doesn't fix it then it could be an ownership issue (chown).
  8. Radiola

    Radiola Member

    Thanks Tracy Perry and Brogan. I will check on those things later today if/when I get some time.

    Brogan, I have no idea why the domain does not resolve. It's almost 48 hours since the DNS nameserver move....
  9. Tracy Perry

    Tracy Perry Well-Known Member

  10. Radiola

    Radiola Member

    Okay, that sever was really, really flaky, short version. I have migrated things back to LeaseWeb. If I can get things turned back on today things may be different.
  11. Radiola

    Radiola Member

    Problem resolved. Thank you once again, Tracy Perry.

    (P.S.- Missing folders during a previous migration.)
  12. Tracy Perry

    Tracy Perry Well-Known Member

    No problem.. again, if you have any issues, let me know.

Share This Page