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

Cannot upload avatars. "Image could not be processed by the server"

#1
I moved to a new dedicated server (I run game servers, so the site is hosted on the same box as the servers) and this started happening.

No one on my site can upload an avatar. I chmoded the data directory to 777 and chowned it to the apache user/group and it didn't help.

I have several people complaining about this. There is nothing about it in the server error log. It also happens when I try to upload an avatar in the Admin CP..

Thanks for your help,
Tyrantelf

Screenshot of problem:
 

Jake Bunce

XenForo moderator
Staff member
#2
What image type?

Try running these shell 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.

Make sure your image library is correct:

Admin CP -> Home -> Options -> Attachments -> Default Image Processor

If you are using GD then make sure that library exists in PHP on your server. Same for ImageMagick.