来自服务器的响应没有xml,CK finder无法加载来自web服务器的XML响应

博主求助于解决CKFinder在2.1.1版本中遇到的XML响应加载失败问题,详细展示了相关配置和调试过程,寻求社区协助。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

我有一个CKFinder 2.1.1的问题。当我点击应该加载它的按钮时,它会加载窗口,但会出现一个响应:“无法从Web服务器加载XML响应,服务器返回空响应。”加载CKFinder的javascript函数在下面发布。任何帮助将不胜感激,谢谢!CK finder无法加载来自web服务器的XML响应

$('textarea.contentEditor').ckeditor(function(){},

{

//Options~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

resize_enabled : false,

height : 600,

fontSize_defaultLabel : '12',

font_defaultLabel : 'Arial',

//scayt_autoStartup : true,

extraPlugins : 'contentPreview',

contentsCss : [

$('#SITE_ROOT').html() + "/css/base/StandardWellness.css",

$('#SITE_ROOT').html() + "/css/base/CKEditorOverrides.css"

],

toolbar :

[

{ name: 'document', items : [ 'Source','-','DocProps','Print','-','Templates' ] },

{ name: 'clipboard', items : [ 'Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo' ] },

{ name: 'editing', items : [ 'Find','Replace','-','SelectAll','-','SpellChecker', 'Scayt' ] },

{ name: 'forms', items : [ 'Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton',

'HiddenField' ] },

'/',

{ name: 'basicstyles', items : [ 'Bold','Italic','Underline','Strike','Subscript','Superscript','-','RemoveFormat' ] },

{ name: 'paragraph', items : [ 'NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote','CreateDiv','-',

'JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','-','BidiLtr','BidiRtl' ] },

{ name: 'links', items : [ 'Link','Unlink','Anchor' ] },

{ name: 'insert', items : [ 'Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak','Iframe' ] },

'/',

{ name: 'styles', items : [ 'Styles','Format','Font','FontSize' ] },

{ name: 'colors', items : [ 'TextColor','BGColor' ] },

{ name: 'tools', items : [ 'Maximize', 'ShowBlocks','-','About' ] },

{ name: 'MyHealth', items : ['contentPreview']}

]

}).ckeditor(function(){

//Callback ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

var editor = $('textarea.contentEditor').ckeditorGet();

CKFinder.setupCKEditor(editor, { basePath : '../ckfinder/', rememberLastFolder : true }) ;

CKEDITOR.on('dialogDefinition', function(ev)

{

// Take the dialog name and its definition from the event data.

var dialogName = ev.data.name;

var dialogDefinition = ev.data.definition;

if (dialogName == 'image') {

dialogDefinition.removeContents('Upload');

call_obj = new Object();

}

if (dialogName == 'flash') {

dialogDefinition.removeContents('Upload');

}

if(dialogName == 'link') {

dialogDefinition.removeContents('upload');

}

});

});

2012-05-02

thuey

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值