jquery Elfinder not displaying directories with correct configuration
<p>I am having problems in configuration elfinder on my VPS running CENTOS 6.3. I have a project demo uploaded, but the filemanager with jquery elfinder plugin is not displaying directories as it should be. My configuration is correct i think, and i see no error in firebug, but directories are not displayed.</p>

<p>Here is my initialization code</p>

<pre><code>$(document).ready(function() {
    $("#elfinder").elfinder({
        url : 'plugins/elfinder/connectors/php/connector.php', 
        lang : 'en',
        docked : true,
        height: 750
    });
});
</code></pre>

<p>And connector.php settings</p>

<pre><code>&lt;?php

error_reporting(0); // Set E_ALL for debuging

if (function_exists('date_default_timezone_set')) {
    date_default_timezone_set('Asia/Karachi');
}

include_once 'elFinder.class.php';

/**
 * Simple example how to use logger with elFinder
 **/
class elFinderLogger implements elFinderILogger {

    public function log($cmd, $ok, $context, $err='', $errorData = array()) {
        if (false != ($fp = fopen('./log.txt', 'a'))) {
            if ($ok) {
                $str = "cmd: $cmd; OK; context: ".str_replace("\n", '', var_export($context, true))."; \n";
            } else {
                $str = "cmd: $cmd; FAILED; context: ".str_replace("\n", '', var_export($context, true))."; error: $err; errorData: ".str_replace("\n", '', var_export($errorData, true))."\n";
            }
            fwrite($fp, $str);
            fclose($fp);
        }
    }

}

$opts = array(
    'root'            =&gt; '../../../../../',           // path to root directory
    'URL'             =&gt; '', // root directory URL
    'rootAlias'       =&gt; 'Home',       // display this instead of root directory name
    //'uploadAllow'   =&gt; array('images/*'),
    //'uploadDeny'    =&gt; array('all'),
    //'uploadOrder'   =&gt; 'deny,allow'
    // 'disabled'     =&gt; array(),      // list of not allowed commands
    // 'dotFiles'     =&gt; false,        // display dot files
    // 'dirSize'      =&gt; true,         // count total directories sizes
    // 'fileMode'     =&gt; 0666,         // new files mode
    // 'dirMode'      =&gt; 0777,         // new folders mode
     //'mimeDetect'   =&gt; 'internal',       // files mimetypes detection method (finfo, mime_content_type, linux (file -ib), bsd (file -Ib), internal (by extensions))
    // 'uploadAllow'  =&gt; array(),      // mimetypes which allowed to upload
    // 'uploadDeny'   =&gt; array(),      // mimetypes which not allowed to upload
    // 'uploadOrder'  =&gt; 'deny,allow', // order to proccess uploadAllow and uploadAllow options
    // 'imgLib'       =&gt; 'mogrify',       // image manipulation library (imagick, mogrify, gd)
    // 'tmbDir'       =&gt; '.tmb',       // directory name for image thumbnails. Set to "" to avoid thumbnails generation
    // 'tmbCleanProb' =&gt; 1,            // how frequiently clean thumbnails dir (0 - never, 100 - every init request)
    // 'tmbAtOnce'    =&gt; 5,            // number of thumbnails to generate per request
    // 'tmbSize'      =&gt; 48,           // images thumbnails size (px)
    // 'fileURL'      =&gt; true,         // display file URL in "get info"
    // 'dateFormat'   =&gt; 'j M Y H:i',  // file modification date format
    // 'logger'       =&gt; null,         // object logger
    // 'defaults'     =&gt; array(        // default permisions
    //  'read'   =&gt; true,
    //  'write'  =&gt; true,
    //  'rm'     =&gt; true
    //  ),
    // 'perms'        =&gt; array(),      // individual folders/files permisions    
    // 'debug'        =&gt; true,         // send debug to client
    // 'archiveMimes' =&gt; array(),      // allowed archive's mimetypes to create. Leave empty for all available types.
    // 'archivers'    =&gt; array()       // info about archivers to use. See example below. Leave empty for auto detect
    // 'archivers' =&gt; array(
    //  'create' =&gt; array(
    //      'application/x-gzip' =&gt; array(
    //          'cmd' =&gt; 'tar',
    //          'argc' =&gt; '-czf',
    //          'ext'  =&gt; 'tar.gz'
    //          )
    //      ),
    //  'extract' =&gt; array(
    //      'application/x-gzip' =&gt; array(
    //          'cmd'  =&gt; 'tar',
    //          'argc' =&gt; '-xzf',
    //          'ext'  =&gt; 'tar.gz'
    //          ),
    //      'application/x-bzip2' =&gt; array(
    //          'cmd'  =&gt; 'tar',
    //          'argc' =&gt; '-xjf',
    //          'ext'  =&gt; 'tar.bz'
    //          )
    //      )
    //  )
);

$fm = new elFinder($opts); 
$fm-&gt;run();
?&gt;
</code></pre>

<p>I have tried with and without url, but no luck. I've uploaded it on a shared hosting as it is without changing anything from wamp to shared hosting and it was working like a charm. but in Dedicated server its not working properly and in firebug the AJAX call gives me a 200 ok but directories are not being displayed. Any help is appreciated.</p>
