CKFinder - 404尝试上传时出错

时间:2018-02-06 15:45:29

标签: ckeditor ckfinder

我将CKFinder / CKEditor集成设置如下:

    var editor = CKEDITOR.replace('editor11');
    CKFinder.setupCKEditor(editor, null, { type: 'Files', currentFolder: '/archive/' });

显示CKFinder弹出窗口,我转到上传标签,然后可以选择图像。当我单击“将其发送到服务器”时,我收到以下错误:

Server Error in '/' Application.
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its 
dependencies) could have been removed, had its name changed, or is 
temporarily unavailable.  Please review the following URL and make sure that 
it is spelled correctly. 

Requested URL: /ckfinder/connector

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET 
Version:4.7.2110.0

单击“图像信息”选项卡上的“浏览服务器”时出现类似错误。我在文档中没有看到任何其他内容。请帮我解决这个问题

编辑:

添加connectorPath修复它。我们的DEV服务器上的路径与我的本地机器不同,它已经可以工作。

            CKFinder.setupCKEditor(editor, {
                connectorPath: '/brainsbeta/ckfinder/connector'
            });

0 个答案:

没有答案