Skip to:
Content

BuddyPress.org

Opened 17 years ago

Closed 17 years ago

#425 closed defect (bug) (fixed)

Broken avatars

Reported by: geordee Owned by:
Priority: major Milestone:
Component: Version:
Severity: 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)

#1 @geordee
17 years ago

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.

#2 @apeatling
17 years ago

  • Resolutionfixed
  • Status newclosed

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.