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

XF 1.4 File Permissions

Discussion in 'XenForo Questions and Support' started by Tower, Feb 3, 2015.

  1. Tower

    Tower Active Member

    Code:
    Once the files are finished uploading, you must set permissions (or CHMOD) several places. This is necessary to ensure that XenForo can write to those parts of your server. You can usually do this with your FTP client.
    
    In the set of files and directories you just uploaded, you will see 2 folders: data and internal_data.
    These two directories must be set to world writeable (CHMOD 0777) or give the IUSR_ Full Control in Windows.
    Keep your FTP client open; you may still need it for the next step.
    Hello,
    I am needing to find out what file permissions i need to have for what. The text I provided is not concrete enough, I am not able to upload attachments or photos in the gallery.

    Thanks,
    Jake
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    The /data and /internal_data directories must be recursively chmod 0777.
     
  3. Tower

    Tower Active Member

    Thanks Brogan,
    Do ALL the files have to be 777 or just the directories and sub dirtectories?
    Thanks
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    The files should be 0644, but the folders need to be 0777.
     
  5. Tower

    Tower Active Member

    Thanks for the response,
    Is there anyway to tell what the return error is?
     
  6. Brogan

    Brogan XenForo Moderator Staff Member

    Which return error?
     
  7. Tower

    Tower Active Member

    I cannot upload attachments or gallery picture uploads, and I dont know why. I have 777 in all the correct areas, I am needing to find out what is causing the "errored upload". How can I tell what the error is? I need a more detailed error then "There was a problem uploading your file. " lol
     
  8. Brogan

    Brogan XenForo Moderator Staff Member

    Is there anything in the ACP error log?

    Or the server error log?
     
  9. Tower

    Tower Active Member

    No sir.
     
  10. Brogan

    Brogan XenForo Moderator Staff Member

    How big is the file?

    Does it work if you disable the Flash uploader?
     
  11. Tower

    Tower Active Member

    The file is 6.99 MB, and it does not work either way. :(
     
  12. Tower

    Tower Active Member

    What error log should I be looking at, because I have checked everyone that I know of and I dont see anything indicating a returned upload error.
     
  13. Brogan

    Brogan XenForo Moderator Staff Member

    Tower likes this.
  14. Tower

    Tower Active Member

    eva2000 likes this.

Share This Page