XF 1.5 Avatar and Attachments with problems...

nos

Member
Hi, I changed to a VPS server with CentOS and everything works fine except the avatars and attachments that doesn't upload.

I've done "chmod -R 777" data and "chmod -R 777 internal_data"

I also put the chown correctly, in my case, apache: apache

The error log show this:

ErrorException: copy(/var/www/html/myforum/internal_data/attachments/3/3563-8b386c147966fccd5840d5e70694587b.data): failed to open stream: Permission denied -library/XenForo/Helper/File.php:253


I think the problem is in the permissions but, in what permissions?. What should I do more? :(.



Thanks!.
 
Last edited:
If you're positive these files and directories have been chmodded as needed (and can confirm this via SSH), then this might be SELinux interfering. The common solution is to just disable it unless you can tune it to your specific rules.
 
Top Bottom