invald backend configuration

Added by xav paquerettes 6 months ago

Hello,

I use easyPHP, and I can't to setup connector.php

file elfinder-1.2 is in file Test and test is in the www folder of easyPHP

my config is :

<?php
 // Include connector
 include_once dirname(__FILE__).DIRECTORY_SEPARATOR.'elFinder.class.php';

 $opts = array(
    'root'        => 'www//elfinder-1.2/files',
    'URL'         => 'http://localhost//elfinder-1.2/files',
    'lang'        => 'fr',
    'debug'       => false,
    'arc'         => '7za',
    'fileURL'     => false,
    'imgLib'      => 'mogrify',
    'dotFiles'    => true,
    'dirSize'     => true,
    'uploadAllow' => array('image/png'),
    'uploadDeny'  => array('image', 'text'),
    'uploadOrder' => 'deny,allow',
   'disabled'    => array('edit', 'rename'),
    'tmbDir'      => '_tmb',
    'defaults'    => array(
       'read'        => true,
      'write'       => true,
     'rm'          => true
    ),
);

 $fm = new elFinder($opts); 
 $fm->run();

?>

thank you for your help!


Replies (1)

RE: invald backend configuration - Added by Troex Nevelin 6 months ago

See the connector output, do you get valid json?

(1-1/1)