Skip to content

Fatal error: Class 'Aws\ClientSideMonitoring\Configuration' not found #224

@kooshana

Description

@kooshana

I configured  Wasabi S3 storage for my web application.It is working in local host.

After moved files into remote server. I am getting the below error.
Fatal error: Class 'Aws\ClientSideMonitoring\Configuration' not found in /data/www/{rootfolder}/release/{foldernubmer}/vendor/aws/aws-sdk-php/src/ClientSideMonitoring/ConfigurationProvider.php on line 190.

My code looks like this:  
require DIR.'/vendor/autoload.php';
use Aws\S3\S3Client;
use Aws\Sts\StsClient;
use Aws\S3\Exception\S3Exception;
use Aws\ClientSideMonitoring\Configuration;

$bucket='Bucketname';

$s3Client = S3Client::factory(array(
    'endpoint' => 'http://s3.wasabisys.com',
    'region' => 'us-east-1',
    'version' => 'latest',
    ));
$result = $s3Client->listBuckets();

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions