bp_core_avatar_v1 returns local path to avatar
I have a really strange avatar issue going on. I’m using the latest BuddyPress trunk (821) and MU 2.7 for reference.
For some strange reason when I upload an Avatar the usermeta field in the database that stores the location of that avatar contains the local path on my web server like this:
bp_core_avatar_v1 = WebsitesWebsitesPHPCitizenAccess/wp-content/blogs.dir/1/files/avatars/1/aad_logo-avatar1.jpg
bp_core_avatar_v1_path = WebsitesWebsitesPHPCitizenAccess/wp-content/blogs.dir/1/files/avatars/1/aad_logo-avatar1.jpg
Notice how Websites….. is listed when it should not be. So of course on the website the img src is broke and displayed like so:
<img class=”avatar photo” height=”150″ width=”150″ alt=”” src=”http://mydomain.com/WebsitesWebsitesPHPCitizenAccess/wp-content/blogs.dir/1/files/avatars/1/aad_logo-avatar2.jpg”/>
Any ideas on what could be causing this issue? I’ve search the forum and tickets and haven’t seen any mention of this before.
The topic ‘bp_core_avatar_v1 returns local path to avatar’ is closed to new replies.