Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

Can't use dropbox, app must be set #7

Open
coffeestains1908 opened this issue Sep 24, 2019 · 0 comments
Open

Can't use dropbox, app must be set #7

coffeestains1908 opened this issue Sep 24, 2019 · 0 comments

Comments

@coffeestains1908
Copy link

Usage
Yii::$app->fs->write('filename.ext', 'contents');

Error - Configs
Invalid Configuration – yii\base\InvalidConfigException
The "app" property must be set.

        'fs' => [
            'class' => 'dosamigos\flysystem\DropboxFsComponent',
            'token' => 'token',
        ],

TypeError
Argument 2 passed to Spatie\Dropbox\Client::__construct() must be an instance of GuzzleHttp\Client or null, string given, called in C:\xampp\htdocs\yii-adserve\vendor\2amigos\yii2-flysystem-component\src\DropboxFsComponent.php on line 53

        'fs' => [
            'class' => 'dosamigos\flysystem\DropboxFsComponent',
            'token' => 'token',
            'app' => 'yii2-dropbox'
        ],
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant