2016-09-07 129 views
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。我能做些什么来解决后端连接的问题?

回答

0

这是HTTP错误“404 Not Found”。请检查您的连接器网址。

+0

现在部分解决了错误是:无效的后端响应。 数据不是JSON。 – Befee1975

+0

请使用连接器主选项''debug'=> true'来尝试elFinder 2.1.15。 –

相关问题