XF 1.5 Avatar Permission Issue

Hi,

When users try to upload an avatar they fail and I get a server issues saying:

mkdir(): Permission denied - library/XenForo/Helper/File.php:7

I am not sure which directory needs which permission to right this ship.

ANyone have some pointers I can easily check.

Thanks
 
The data and internal_data directory should be recursively chmodded to 0777.

This particular error would relate to the data directory (and specifically data/avatars and all of its sub directories).
 
Thanks - My data directory does not have a subfolder called avatars. Is this created by the first person adding an avatar (as long as they have write permission to the data directory), or do I need to create the directory?
 
It should be created automatically if the permissions allow (likely what is generating the error). So as long as the data directory is writable and recursive it should start to work.
 
Thanks again - Checked my test system which works fine (it's a local system so I can see what going on) - and that has the avatar directory and I did not create it, so your theory is 100% correct. Great Support!
 
Top Bottom