-
Notifications
You must be signed in to change notification settings - Fork 130
S3 Driver #153
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
Comments
Update : Apparently some changes have been made recently on the So if I use the updated code of the driver, and use my fix for the "tmp_path", I've got a brand new error :
Looks like a aws sdk version problem ! But that's weird as it was working previously.. |
Hi @bonswouar, there was a PR helios-ag/ElFinderPHP@aadea4b, that have reworked some behavior i think, and Soap client was removed. |
Thanks for your answer @helios-ag . Well, the new question included this PR.
But I'm still having problems, apparently because of this
|
@fousheezy, can you provide working configuration for S3? |
That would be much appreciated ! |
I searched a bit more, and I really doubt that the current
|
@helios-ag here's the working configuration I'm using with the master branch: app/config/config.yml
|
Hi @fousheezy, which version of aws sdk do you use? |
presently 2.8.12 My composer.json entry is |
Thank you ! I just tried with this version of the SDK. Though, still have the same problems.. @fousheezy, which versions of FMElfinderBundle and ElFinderPHP are you using ? Without any change ?! Don't understand how it is possible. First, could you ( @helios-ag ) tag helios-ag/ElFinderPHP with @fousheezy PR please ?
And finally, I still have the issue :
You can see here it's because I'm using a "new" region, which supports only V4 signatures. But finally it goes back to my last error :
Because of the |
@bonswouar, tagged pre PR version with 2.2.2, and latest as 2.3 |
Thanks @helios-ag . I finally made it work, but I still don't understand how it could work for @fousheezy . Lots of things modified in the S3 php connector. I also changed few things : At the end it seems to work pretty fine, except a little bug on the root folder, which shows no file (except in the tree). I'll take a look at that later. Should I make a PR ? |
PR would be nice, especially if you resolve problem with root folder. |
Ok I just fixed that and made a PR (helios-ag/ElFinderPHP#21) |
Thanks @helios-ag ! |
_Don't know why #120 has been closed, those S3 driver problems should be fixed, no ?_
I was first using the Flysystem config for S3 :
That seemed to work fine.. But then I noticed folders aren't visible ! (though creating them work, but they won't be displayed in ElFinder explorer)
So I tried using the "native" elFinder S3 driver, here is the (apparently) correct config :
I first had, as mentioned in the other issue :
If I fix that I've got :
If I fix that I've got :
I assumed this path is the "tmp_path", so I fixed that and finally I've got a SOAP error :
Is anybody able to properly use this Bundle with S3 ? Any help would be appreciated.
=> Update : Second part deprecated in
dev-master
, now it's using the AWS SDK instead of the SOAP client.The text was updated successfully, but these errors were encountered: