Skip to:

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#3143 closed defect (bug) (fixed)

avatar uploads failing

Reported by: djpaul's profile DJPaul Owned by:
Milestone: 1.5 Priority: critical
Severity: Version:
Component: Core Keywords: has-patch


As of rev 4191, avatar uploads are failing because bp_core_avatar_upload_path() is returning a URL rather than an absolute path.

Attachments (1)

3143.patch (2.2 KB) - added by DJPaul 13 years ago.

Download all attachments as: .zip

Change History (7)

#1 @DJPaul
13 years ago

This was introduced in r3860, but it's not clear to me how that change set itself is meant to prevent debug notices if avatar directory doesn't exist. I'm attaching a patch (untested) for what I think the function should be doing but need to understand the intention behind r3860.

13 years ago

#2 @konradS
13 years ago


just noticed that when the ending is ".JPG" in BIG LETTERS,
the JPG's upload will not work anymore...

#3 @sushkov
13 years ago

  • Keywords has-patch added

Also fixes #3131

#4 @boonebgorges
13 years ago

3143.patch works like a treat for me (without 3143 uploads definitely fail on my installs).

#5 @djpaul
13 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [4271]) Correct avatar upload paths from r3860. Fixes #3143

#6 @DJPaul
13 years ago

Thanks for testing sushkov & Boone

Note: See TracTickets for help on using tickets.