Welcome Guest, Not a member yet? Register   Sign In
getting file not found
#1

I have included the AWS sdk in my third party directory.  I also add the above line to my module:

use third_party\AWS\S3;

This line is causing an error:

Message: Class 'S3Client' not found

Filename: controllers/Configure.php


$s3Client = new S3Client([
   'profile' => 'default',
   'region' => 'us-east-1',
   'version' => 'latest'
]);


I have a file called s3Client.php in my third party directory. In it there is:

class S3Client extends AwsClient implements S3ClientInterface
{
   use S3ClientTrait;

   public static function getArguments()
   {
       $args = parent::getArguments();


I have no idea why this is not working. Can anyone tell me ho to get my CI code to see the s3Client.php file?  
proof that an old dog can learn new tricks
Reply


Messages In This Thread
getting file not found - by richb201 - 08-05-2018, 01:18 PM
RE: getting file not found - by John_Betong - 08-05-2018, 04:02 PM
RE: getting file not found - by SomeGuy - 09-24-2018, 09:41 AM
RE: getting file not found - by richb201 - 09-24-2018, 12:34 PM



Theme © iAndrew 2016 - Forum software by © MyBB