[buddypress-trac] [BuddyPress] #1970: Avatars failing to upload in WP-Single

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Wed Feb 17 23:51:53 UTC 2010


#1970: Avatars failing to upload in WP-Single
-------------------------+--------------------------------------------------
Reporter:  DennisSmolek  |       Owner:       
    Type:  defect        |      Status:  new  
Priority:  major         |   Milestone:  1.2.1
Keywords:  Avatar        |  
-------------------------+--------------------------------------------------

Comment(by DennisSmolek):

 Ok so I ran some tests on the two versions I have. My local version and
 the version on the server. I put in some echo's for various variables to
 see what I can hack together. Before I get started here are my results:
 BP_AVATAR_UPLOAD_PATH;
 BP_AVATAR_URL;
 WP_CONTENT_URL;
 bp_avatar_to_crop();
 bp_avatar_to_crop_src();

 Results:
 Failing one:
 wp-content/uploads
 http://www.theovc.org/wp-content
 http://www.theovc.org/wp-content
 wp-content/uploads/avatars/137/dennis-450x300.jpg
 wp-content/uploads/avatars/137/dennis-450x300.jpg


 Working version:
 /Users/desopolis/Sites/wordpress/wp-content/uploads
 http://localhost.localdomain/wordpress/wp-content
 http://localhost.localdomain/wordpress/wp-content
 http://localhost.localdomain/wordpress/wp-content/uploads/avatars/1
 /dennis-450x300.jpg
 /uploads/avatars/1/dennis-450x300.jpg

-- 
Ticket URL: <https://trac.buddypress.org/ticket/1970#comment:11>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list