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
I try to use Flysystem driver to connect to a webdav target with elfinder.
I use 2.1.53 version of elfinder.
It is installed on Windows server with IIS.
I am used to use LocalFileSystem driver with Elfinder and it work correctly.
With Flysystem and webdav I have a 500 return code.
I have tried to install the Flysytem driver like this : https://github.com/barryvdh/elfinder-flysystem-driver
The content of my connector.minimal.php below
require './driver.php';
use Sabre\DAV\Client;
use League\Flysystem\WebDAV\WebDAVAdapter;
This discussion was converted from issue #3349 on June 10, 2021 14:34.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
hi,
I try to use Flysystem driver to connect to a webdav target with elfinder.
I use 2.1.53 version of elfinder.
It is installed on Windows server with IIS.
I am used to use LocalFileSystem driver with Elfinder and it work correctly.
With Flysystem and webdav I have a 500 return code.
I have tried to install the Flysytem driver like this : https://github.com/barryvdh/elfinder-flysystem-driver
The content of my connector.minimal.php below
require './driver.php';
use Sabre\DAV\Client;
use League\Flysystem\WebDAV\WebDAVAdapter;
$settings = array(
'baseUri' => 'http://localhost:8080',
'userName' => 'user',
'password' => 'pwd',
);
$client = new Client($settings);
$webdavAdapter = new WebDAVAdapter($client,"/content/default/");
$webdavfs = new Filesystem($webdavAdapter);
$opts = array(
'debug' => true,
'roots' => array(
// WebDAV
array(
'driver' => 'Flysystem',
'filesystem' => $webdavfs
),
)
);
// run elFinder
$connector = new elFinderConnector(new elFinder($opts));
$connector->run();
Is there another file log than IIS log like \intepub\logs\logfiles ?
Any idea why I have a 500 error code ?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions