Photo upload in profile page

When I try to upload a photo in my profile page, it gives a server error message.
Can anyone fix this?

Would you be able to tell us which browser you’re using?