Welcome Guest, Not a member yet? Register   Sign In
Error when using Amazon S3 library
#1

[eluser]Unknown[/eluser]
Hello!

I was trying to use this library to store some images on S3, but got this error when trying the example (listBuckets()): https://github.com/psugand/CodeIgniter-S3

Quote:A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$body

Filename: libraries/S3.php

Line Number: 1487

Any ideas? First time I'm using codeigniter...

All I did was:
Code:
// Load Library
  $this->load->library('s3');
  
  // List Buckets
  var_dump($this->s3->listBuckets());

It did get the buckets, but printed the error first. Calling getBucket had the same problem..




Theme © iAndrew 2016 - Forum software by © MyBB