I do need to sleep some times or I start using wrong files:
As I suspected issue we are having related to S3 Class, it would be nice to actually see errors displayed. In a nutshell here is error code you get when you try to get, post or do anything with Bucket:
`PermanentRedirect The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.
“Amazon S3 supports virtual-hosted-style and path-style access in all Regions. The path-style syntax, however, requires that you use the region-specific endpoint when attempting to access a bucket. For example, if you have a bucket called mybucket that resides in the EU, you want to use path-style syntax, and the object is named puppy.jpg, the correct URI is http://s3-eu-west-1.amazonaws.com/mybucket/puppy.jpg. You will receive a “PermanentRedirect” error, an HTTP response code 301, and a message indicating what the correct URI is for your resource if you try to access a non US Standard bucket with path-style syntax using:
http://s3.amazonaws.com
A different Region endpoint than where the bucket resides, for example, http://s3-euwest-1.amazonaws.com and the bucket was created with the location constraint of Northern-California”
Endpoint used by the s3 class is s3.amazonaws.com, change it to the region of your bucket and it should work.
P.S. Honestly re-code it with AWS PHP SDK you would have less issues with customers.