Opened 16 years ago
Closed 16 years ago
#425 closed defect (bug) (fixed)
Broken avatars
Reported by: | geordee | Owned by: | |
---|---|---|---|
Milestone: | Priority: | major | |
Severity: | Version: | ||
Component: | Keywords: | ||
Cc: |
Description
I have beta 2 running in UESI.in. The avatars are all broken. The image upload has an extra slash when it is being uploaded
For example, the uploaded image has a broken image URL http://uesi.in//avatars/2/img-avatar2.jpg
Change History (2)
#2
@
16 years ago
- Resolution set to fixed
- Status changed from new to closed
Fixed, thanks. On all my tests current avatars seemed okay, and avatars would upload on registration just fine. It's avatar editing that seemed to cause a problem.
What are your installation variables - VHOST/NOVHOST ? Installed in the root?
Note: See
TracTickets for help on using
tickets.
The issue is with bp-core/bp-core-avatars.php
Line 232 currently reads $newdir = ABSPATH;
It should read $newdir = path_join( ABSPATH, $path );
At least when I did that the problem is resolved.