0
我开始使用elFinder,我不知道为什么,但是我得到这个错误"Unable to connect to backend.Backend not found."
。 connector.php看起来像这样elFinder错误“Unable to connect to backend。Backend not found。”
$opts = array(
// 'debug' => true,
'roots' => array(
array(
'driver' => 'LocalFileSystem', // driver for accessing file system (REQUIRED)
'path' => '../files/', // path to files (REQUIRED)
'URL' => dirname($_SERVER['PHP_SELF']) . '/../files/', // URL to files (REQUIRED)
'uploadDeny' => array('all'), // All Mimetypes not allowed to upload
'uploadAllow' => array('image', 'text/plain'),// Mimetype `image` and `text/plain` allowed to upload
'uploadOrder' => array('deny', 'allow'), // allowed Mimetype `image` and `text/plain` only
'accessControl' => 'access' // disable and hide dot starting files (OPTIONAL)
)
)
);
而文件的路径是:myproject >> dashboard >> plugins >> elfinder。我能做些什么来解决后端连接的问题?
现在部分解决了错误是:无效的后端响应。 数据不是JSON。 – Befee1975
请使用连接器主选项''debug'=> true'来尝试elFinder 2.1.15。 –