KCFinder'您无权列出文件.' [英] KCFinder 'You do not have permission to list the files.'

查看:114
本文介绍了KCFinder'您无权列出文件.'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在ckeditor中集成KCFinder时遇到问题.我的ckeditor的版本是4.0,另一个(KCFinder的版本)是2.52-dev.

I have a problem with the integration of KCFinder in ckeditor. The version of my ckeditor is 4.0 and the other (KCFinder version) is 2.52-dev.

像这样配置ckeditor的config.js:

Hi configure the config.js of ckeditor like that:

CKEDITOR.config.baseHref = "/ckeditor/";

CKEDITOR.editorConfig = function( config ) {
    // Define changes to default configuration here.
    // For the complete reference:
    // http://docs.ckeditor.com/#!/api/CKEDITOR.config

    config.contentsCss  = 'contents.css';
    config.language= 'it';
    config.height = '400px';
    config.uiColor = '#ffDC6E';

    //kcfinder per l'uoload delle immagini
    config.filebrowserBrowseUrl = 'kcfinder-2.51/browse.php?type=files';
    config.filebrowserImageBrowseUrl = 'kcfinder-2.51/browse.php?type=images';
    config.filebrowserFlashBrowseUrl = 'kcfinder-2.51/browse.php?type=flash';
    config.filebrowserUploadUrl = '../../../reserved/kcfinder-2.51/upload.php?type=files';
    config.filebrowserImageUploadUrl = '../../../reserved/kcfinder-2.51/upload.php?type=images';
    config.filebrowserFlashUploadUrl = '../../../reserved/kcfinder-2.51/upload.php?type=flash';    

    // Remove some buttons, provided by the standard plugins, which we don't
    // need to have in the Standard(s) toolbar.
    config.removeButtons = 'Subscript,Superscript';
    config.disableNativeSpellChecker = false;
    };

是集成的,但是当我单击显示服务器中的文件"或上载图像时,系统会显示您没有列出文件的权限",尽管这些权限是正确的.

The integration is of but when I click to "Show files in the server" or when I upload an image the system says "You do not have permission to list the files" though the permissions are correct.

出什么问题了? ks 齐射

What is the problem? Tks Salvo

推荐答案

我认为问题在于您还需要在KCFinder中配置设置.为此,您需要在KCFinder文件夹中找到config.php:

I think the problem is that you also need to configure the setting in KCFinder. You need to locate config.php in KCFinder folder, for this:

'disabled' => true

将其更改为false,则应该可以将文件上传到服务器.

change it to false then you should be able to upload file to your server.

这篇关于KCFinder'您无权列出文件.'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆