Topic: Uploading to amazon s3 through endpoint

Hey guys, I have this weird bug that I couldnt solve..

So basically, I created a web app for a friend selling online photos.. So I have completed that project 3 months ago and now it seems that my friend cant upload anymore photos to amazon for some reason... I tried using my localhost and it works fine.. but when I tried to upload from the server, it just hangs there then it gave me an error 500..... I thought it was because of the fopen() command, but when I tried it and commenting out the s3 upload (using aws-sdk-php v3), it displays the output quite fast....  so I thought it was the s3 putObject command that is not working properly, so I tried to put a string in the 'Body' field, it just uploaded fine.... I have been debugging for the last 5 days and no outcome... can someone shed a light in this?

Thanks.

Re: Uploading to amazon s3 through endpoint

also, I tried using plupload example to upload straight to aws, it uploads fine...... so what gives?

Re: Uploading to amazon s3 through endpoint

Maybe your friend updated bucket permission or something? I haven't looked into s3 for some time.

If you want to see your issue fixed, do not report it here, do it on - GitHub.

Re: Uploading to amazon s3 through endpoint

but the thing is, i can upload fine using the plupload example or using my own code but replacing fopen with a random string.

Re: Uploading to amazon s3 through endpoint

Ok, i tried putting the crossdomain.xml this time and it works, albeit it gave url doesnt exists error BUT it did upload to amazon.

Thanks!