Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kooshana opened this issue Nov 8, 2019 · 0 comments
Open
Assignees

Comments

@kooshana
Copy link

kooshana commented Nov 8, 2019

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();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants