我使用的是CKEditor 3,我需要集成一個免費的文件瀏覽器/上傳器。我試圖整合附帶FCKEditor的一個,但我always get this XML error:CKeditor與FCKeditor文件瀏覽器的集成
The server didn't send back a proper XML response. Please contact your system administrator.
XML request error: OK (200)
Requested URL:
http://example.com/admin/filemanager/browser/default/?Command=GetFoldersAndFiles&Type=File&CurrentFolder=%2F&uuid=1260817820353
Response text:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <html> <head> <title>Index of /admin/filemanager/browser/default</title> </head> <body> <h1>Index of /admin/filemanager/browser/default</h1> <table><tr><th><img src="/icons/blank.gif" alt="[ICO]"></th> <th><a href="?C=N;O=D">Name</a></th> <th><a href="?C=M;O=A">Last modified</a></th> <th><a href="?C=S;O=A">Size</a></th> <th><a href="?C=D;O=A">Description</a></th></tr> <!-- edited for brevity -->
我試圖做這樣:
<script type="text/javascript">
window.onload = function(){
CKEDITOR.config.language='es';
CKEDITOR.config.forcePasteAsPlainText = true;
CKEDITOR.config.enterMode = CKEDITOR.ENTER_DIV;
CKEDITOR.replace('ncCont',{
filebrowserBrowseUrl: 'filemanager/browser/default/browser.html',
filebrowserUploadUrl : 'filemanager/connectors/php/upload.php'
});
};
</script>
能的FCKeditor與CKEditor的整合?如果是,那怎麼辦?如果沒有,是否有免費的filebrowser/uploader替代方案?
我遵循這個指南,而是選擇要上傳的圖片,按下後「發送至服務器」,我總是得到「不能發佈/文件管理器/連接器/ php/upload.php?type = Images & CKEditor = htmlSlide0 & CKEditorFuncNum = 0 & langCode = de「我假設」&「被替換爲」&amp;「,它破壞了字符串,但我找不到代碼不知道PHP)。任何幫助/建議? – MJB 2014-06-10 19:21:27