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

XF 1.5 Avatar and Attachments with problems...

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

Mike

XenForo developer
Staff member
#2
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.