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

XF 1.2 Upload Issue

Discussion in 'Troubleshooting and Problems' started by Joe Link, Mar 10, 2014.

  1. Joe Link

    Joe Link Well-Known Member



    I just went to upload a photo using the non-flash uploader and this is what was returned. This was from the admin account.
     
  2. Amaury

    Amaury Well-Known Member

    Run a file health check and see what the results are.
     
  3. Joe Link

    Joe Link Well-Known Member

    library/XenForo/Application.php File does not contain expected contents.
     
  4. Amaury

    Amaury Well-Known Member

    Try re-uploading the files for that and see if it resolves the issue.
     
  5. Joe Link

    Joe Link Well-Known Member

    Thanks. How do I know if an add-on overwrote that file?
     
  6. Mike

    Mike XenForo Developer Staff Member

    You need to check the permissions on the internal_data/ directory and all sub-directories/files within. (If in doubt, I would recommend chmodding to 0777.)

    While running the file health check is useful, it's unlikely to be related to this at all.
     
    Amaury likes this.
  7. Joe Link

    Joe Link Well-Known Member

    Thank you @Mike, so it's safe to chmod the entire internal_data directory and all sub directories with 0777?
     
  8. Brogan

    Brogan XenForo Moderator Staff Member

    It's not only safe, it's required.
     
  9. Joe Link

    Joe Link Well-Known Member

    Well that settles it then :)

    Hmm, any idea why I might be getting this error via FTP? Do I need to contact my webhost? Looks like a clue.

    Command: SITE CHMOD 777 10033-2511586ed890549e4663257c0a3d1571.data
    Response: 550 Could not change perms on 10033-2511586ed890549e4663257c0a3d1571.data: Operation not permitted
     
  10. Brogan

    Brogan XenForo Moderator Staff Member

    You may need to check/change (chown) ownership of the files.
    Your host should be able to help if you're not sure how to do that.
     
  11. Joe Link

    Joe Link Well-Known Member

    That fixed it, thank you.
     

Share This Page