Comments (3)
Doing further research:
VM1292:1 GET https://project.it/ckfinder/connector?command=GetFiles&lang=it&type=Gallery¤tFolder=%2F1%2F&hash=2a12bd16454bdc38 500
log error:
cURL error 6: Could not resolve host: projectnet.s3.ams3.amazonaws.com (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) {"url":"https://project.it/ckfinder/connector","precedente":"https://project.it/admin/articoli/add","input":{"command":"GetFolders","lang":"it","type":"Gallery","currentFolder":"/","hash":"2a12bd16454bdc38"}}
Error executing "PutObject" on "https://projectnet.s3.ams3.amazonaws.com/gallery/"; AWS HTTP error: cURL error 6: Could not resolve host: projectnet.s3.ams3.amazonaws.com (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) {"userId":2,"exception":"[object] (Aws\\S3\\Exception\\S3Exception(code: 0): Error executing \"PutObject\" on \"https://projectnet.s3.ams3.amazonaws.com/gallery/\"; AWS HTTP error: cURL error 6: Could not resolve host: projectnet.s3.ams3.amazonaws.com (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) at /var/www/vhosts/project.it/httpdocs/vendor/aws/aws-sdk-php/src/WrappedHttpHandler.php:195)
how come it sets as amazonaws endpoint and not digitaloceanspaces, as set by filesystem config and ckfinder config?
I found this as well: ckfinder/ckfinder#340
but I don't quite understand what to do, i put IF control as said by the user in
\vendor\ckfinder\ckfinder-laravel-package_connector\Backend\BackendFactory.php
to line 206, without solving the problem...
from ckfinder-laravel-package.
Hello, do you still have the problem?
from ckfinder-laravel-package.
Hi bmlotek,
Given the poor support I have dropped ckfinder, preferring alexusmai/laravel-file-manager, if you can guarantee me that the package will not be dropped again I will come back...
Anyway I solved it with:
$config['backends']['default'] = array(
'name' => 'awss3',
'adapter' => 's3',
'bucket' => '***',
'region' => 'fra1',
'endpoint' => 'https://fra1.digitaloceanspaces.com',
'key' => '***',
'secret' => '****',
'visibility' => 'public',
'root' => '***'
);
's3' => [
'driver' => 's3',
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
'region' => env('AWS_DEFAULT_REGION'),
'bucket' => env('AWS_BUCKET'),
'url' => env('AWS_URL'),
'endpoint' => env('AWS_ENDPOINT'),
'visibility' => 'public-read',
]
I hope this will help someone.
from ckfinder-laravel-package.
Related Issues (20)
- How can i automatically add alt tag by the name of the image HOT 2
- I can't install laravel 10 HOT 3
- S3 IAM Role Support
- Cannot GET /public/js/ckfinder/core/connector/php/connector.php HOT 2
- Not supported by Laravel 11 HOT 1
- Laravel 9 is not support when will you update HOT 8
- Laravel 9 update HOT 3
- Laravel 9 - Symfony Issues HOT 1
- When will laravel9 be supported HOT 2
- When will laravel9 be supported HOT 2
- Laravel 9 support! HOT 3
- How to use it on AWS S3? HOT 1
- automatic deletion of files folder HOT 1
- When will release version for Laravel 9+? HOT 3
- Support for DigitalOcean Spaces HOT 1
- Downloading the package HOT 1
- Laravel 10 support coming soon? HOT 6
- Could not download the distribution package of CKFinder HOT 3
- CKFinder command QuickUpload expects to be called with POST HTTP request
- Downloading the package on laravel 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ckfinder-laravel-package.