Skip to:
Content

BuddyPress.org

Opened 4 years ago

Closed 4 years ago

#8402 closed defect (bug) (worksforme)

“Change Profile Photo” function to delete & crop Avatars is broken on Vanilla install

Reported by: zloro's profile zloro Owned by:
Milestone: Priority: normal
Severity: normal Version: 6.3.0
Component: Media Keywords: reporter-feedback
Cc:

Description

Hello. Brand new install of WP 5.5.3 and BuddyPress 6.3.0 on a server running MySQL Version
5.6.32 & PHP Version 7.4.10 with NO OTHER plugins active & running on 2020 template.

On Page: https://www.rolevant.com/members/rolevantist/profile/change-avatar/

I can upload the image and am given the option to crop the uploaded image. However, once I select my crop area and I press the crop button the <upload & crop> area disappears & a red box WITH NO MESSAGE appears. Nothing else happens.

The original files are being uploaded to
https://rolevant.com/wp-content/uploads/avatars/1/&#8230;

But no automatically resized or manually cropped images are being saved anywhere.

Other similar Avatar Crop issues from 8-10 years ago exist on BuddyPress support forum, but nothing that is applicable to these latest versions. Any & all fixes (incompatable javascipt, JQuery, AJAX version incompatibility with JQUERY/AJAx versions called by templates) just do not appear to be relevant here. Your help/validiation & fix of this bug is appreciated!

Attachments (2)

Screen Shot 2020-11-21 at 2.15.32 PM.png (190.6 KB) - added by zloro 4 years ago.
Delete Profile Image fails with no message
Screen Shot 2020-11-21 at 2.15.23 PM.png (190.0 KB) - added by zloro 4 years ago.
Crop uploaded replacement Profile Image (Avatar) fails with no message

Download all attachments as: .zip

Change History (4)

@zloro
4 years ago

Delete Profile Image fails with no message

@zloro
4 years ago

Crop uploaded replacement Profile Image (Avatar) fails with no message

#1 @imath
4 years ago

  • Component changed from Core to Media
  • Keywords reporter-feedback added
  • Milestone changed from 7.0.0 to Awaiting Review
  • Priority changed from high to normal
  • Severity changed from major to normal

Hi @zloro

Thanks for your feedback. I wasn't able to replicate the issue. Everything works fine for me in Twenty Twenty.

Could you add/replace/delete an avatar having the Network tab of your browser's inspector open and select to only trace XHR requests. Once you cropped the image, you should have 2 lines about the admin-ajax.php file.

What's the information of the Headers tab?

https://cldup.com/BpPjWtyOhA.png

And what's the information of the Preview tab?

https://cldup.com/qWxnnDriNC.png

Finally, could you look into the console tab of the browser's inspector to see if there are errors ?

#2 @zloro
4 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed

Mea culpa.

The server did not have ctype compiled properly. Deeper Console & error log digging. Plz Mark resolved

Note: See TracTickets for help on using tickets.