Open
Description
I configured AWS S3 storage for my web application.It is working in local host. After moving the files into remote server. I am getting the following error.
Notice: Undefined property: stdClass::$body in /data/www/{rootfolder}/releases/{foldernumber}/S3.php on line 877
Warning: S3::getBucket(): [RequestTimeTooSkewed] The difference between the request time and the current time is too large. in /data/www/{rootfolder}/releases/{foldernumber}/S3.php on line 126
My code looks like this:
$bucket="Bucketname";require_once("S3.php");$awsAccessKey = 'ACCESSKEY';
$awsSecretKey = 'SECRET KEY';
$s3 = new S3($awsAccessKey, $awsSecretKey);
$s= $s3->listBuckets();
Metadata
Metadata
Assignees
Labels
No labels