You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my yii2-starter-kit installation, I configured the fileStorage module to use creocoder\flysystem\AwsS3Filesystem (which now has a pull request that supports S3 v3) as filesystemComponent.
I haven't touched any code except for common/config/base.php, setting a awss3Fsmodule:
When I try to upload an avatar using the standard avatar-upload action in modules/user/controllers/DefaultController.php, I get the following error: exception 'yii\base\ErrorException' with message 'fstat() expects parameter 1 to be resource, integer given' in vendor\league\flysystem\src\Util.php:256
How can I fix this issue?
The text was updated successfully, but these errors were encountered:
iadj
changed the title
Avatar upload not working when using AwsS3Filesystem as filesystemComponent
Avatar upload not working when using flysystem AwsS3Filesystem as filesystemComponent
Feb 17, 2016
In my
yii2-starter-kit
installation, I configured thefileStorage
module to usecreocoder\flysystem\AwsS3Filesystem
(which now has a pull request that supports S3 v3) asfilesystemComponent
.I haven't touched any code except for common/config/base.php, setting a
awss3Fs
module:and
fileStorage
module:When I try to upload an avatar using the standard
avatar-upload
action inmodules/user/controllers/DefaultController.php
, I get the following error:exception 'yii\base\ErrorException' with message 'fstat() expects parameter 1 to be resource, integer given' in vendor\league\flysystem\src\Util.php:256
How can I fix this issue?
The text was updated successfully, but these errors were encountered: