开发者

elfinder configuration

I have a problem with Elfinder configuration. All standard ways doesn't work and also this configuration:

'root' => $_SERVER['DOCUMENT_ROOT'].'/images/elfinder/',

'URL' => 'http://'.$_SERVER['HTTP_HOST'].'/images/elfinder/',

seems not to work. I get Invalid redirect error. I don't have acces to apache error.log / system console - only FTP access.

Is there开发者_JAVA技巧 any way I can debug elfinder / find what cause redirection?


The first thing you need is to check that JSON output from connector is valid, you can make it using FireBug extension, if there are some PHP warnings than client will not be able to parse response.

Also try to set 'root' => './' for debugging purpose.


Please try after remove url and include path like this:

'path' => $_SERVER['DOCUMENT_ROOT'].'/images/elfinder/',

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜