• 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

Verringer

Active member
#1
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:

Jake Bunce

XenForo moderator
Staff member
#2
If you have shell access then run these commands to recursively set permissions in those directories:

Code:
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).