Studio-42 / elFinder

πŸ“ Open-source file manager for web, written in JavaScript using jQuery and jQuery UI
https://studio-42.github.io/elFinder/
Other
4.65k stars 1.42k forks source link

Getting {"error":["errUnknownCmd"]} #908

Closed sajeeshe closed 8 years ago

sajeeshe commented 10 years ago

In my CI I have congigured every thing like this

https://github.com/Studio-42/elFinder/wiki/Integration-with-Codeigniter-2

Now the issue is when the page load I get Unknown Command Error. I have no idea how to fix it. Path is correct and every thing is correct.

Here is the controller

<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Filemanager extends CI_Controller {

function __construct() {

parent::__construct();

$this->load->library('auth');

}

public function init(){

 $this->load->helper('path');
  $opts = array(
     'debug' => true, 
    'roots' => array(
      array( 
        'driver' => 'LocalFileSystem', 
        'path'   => set_realpath('user_files'), 
        'URL'    =>site_url('user_files/')
        // more elFinder options here
      ) 
    )
  );

  $this->load->library('elfinder_lib', $opts);

}

public function index(){

//$this->layout = "";
$this->load->view("files");

}

}

lovesia commented 10 years ago

NAVER - http://www.naver.com/

lovesin83@naver.com λ‹˜κ»˜ 보내신 메일 <[elFinder] Getting {"error":["errUnknownCmd"]} (#908)> 이 λ‹€μŒκ³Ό 같은 이유둜 전솑 μ‹€νŒ¨ν–ˆμŠ΅λ‹ˆλ‹€.


λ°›λŠ” μ‚¬λžŒμ΄ νšŒμ›λ‹˜μ˜ 메일을 μˆ˜μ‹ μ°¨λ‹¨ ν•˜μ˜€μŠ΅λ‹ˆλ‹€.