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

XF 1.3 Can't Upload Files

Discussion in 'Troubleshooting and Problems' started by Verringer, Apr 8, 2014.

  1. Verringer

    Verringer Active Member

    Somehow all my folders stopped working, returning 403's and 404's - so I set everything to chmod 775 and then internal_data and data to 777.

    I cannot upload any attachments still to the forum.. Any help?

    When trying to change avatar, it sets it as invalid image or doesn't change at all.
    Last edited: Apr 8, 2014
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    If you have shell access then run these commands to recursively set permissions in those directories:

    chmod -R 777 data
    chmod -R 777 internal_data
    You might also try 755 permissions. Depending on how PHP is installed, 755 may still be writable. I have seen some server configurations throw errors with 777.

    Or many FTP clients can set permissions too (if you don't have shell access).

Share This Page