Can't download while connected to amazon s3


#1

Dear support,

I really need your help on this subject! I use BuddyPress Media for my site and I connected my site to my Amazon s3 server (using “Amazon S3 for WordPress” plugin).

Now I can upload to it using BuddyPress Media, I can display items on my site but I can’t get the download thing to work. I get following link;

http://www.MYSITE.com/wp-admin/admin-ajax.php?action=bp_media_download&file=http://mysthree.s3.amazonaws.com/wp-content/uploads/2013/07/MYFILE.mp3

While I guess it should be just http://mysthree.s3.amazonaws.com/wp-content/uploads/2013/07/MYFILE.mp3

Right?

Many thanks in advance!


#2

SOLVED IT. Changed the code in the BPMediaActions.php file.

On line 333 I changed the code I deleted the . admin_url(‘admin-ajax.php’) . ‘?action=bp_media_download&file=’ part


#3