HTTP error when uploading BuddyPress avatar profile photo
I’ve been trying off and on to debug this issue for the last few days and thus far have had no success. I want to use the BuddyPress Extended Profile component so that users on my Web site can upload avatar pictures for their user profile. I thought that the best way to do this would be using the BuddyPress profile photo, but I have hit a roadblock trying to use this feature.
In the Extended Profile tab of the Users section, when I (or any member) click ‘Edit Profile Photo’, and then ‘Select your File’ under the Upload tab, I am able to select an appropriate profile photo. While the photo is uploaded to the server, I always receive the message ‘HTTP Error’, and am unable to use the photo or continue with the process. In Chrome DevTools, I can see that the error is ‘Failed to load resource: the server responded with a status of 500 (Internal Server Error)’.
I have access to the server where I am hosting the WordPress site, and I can confirm that the photo is indeed being uploaded (to …/wp-content/uploads/avatars/a_given_number/the_file_name.jpg). I can even access that file by navigating directly to its URL in the browser. I have set the ‘ avatars’ folder permissions using chmod to 755 (I tried 777 but it did not solve the issue). The server is running Windows Server 2008 with IIS 7, and WordPress 4.2.2 with BuddyPress 188.8.131.52. The Web site is currently private (work), so at this time I cannot provide a link to the Web site.
I have traced the call stack in DevTools and the error seems to be occurring in the file bp-plupload.min.js?ver=184.108.40.206:formatted on line 24.
If anybody could please help me try to solve this issue it would be GREATLY appreciated. I’m really at a loss as to what to try next, so any suggestions are welcome. If no solution can be found, if an alternative way to upload profile photos for BuddyPress members could be suggested, that would also be appreciated.
Thanks a lot,
- The topic ‘HTTP error when uploading BuddyPress avatar profile photo’ is closed to new replies.