fckeditor 的问题

来源:百度知道 编辑:UC知道 时间:2024/09/22 15:42:49
那个FCeditor,点插入图片就弹出一个等待的框 一直这样,我在本地测试是可以的,但上传到空间就不行了,
怎么解决?

<add key="FCKeditor:BasePath" value="~/fckeditor/"/>
<add key="FCKeditor:UserFilesPath" value="~/userfiles/"/>
写在wenconfig里面

<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
写在调用fck的那个页面上上面

下载最新版的fck
复制userfiles文件件到根目录下
然后ok了
你的问题是fck版本的问题

要去设置一下图片路径。
打开editor\filemanager\connectors\php\config.php

$Config['Enabled'] = true ;

因为这个项目存放在根目录下的beauty目录,所以设定文件上传位置为根目录下的beauty目录(以后不同的项目可以定义不同的位置):

$Config['UserFilesPath'] = '/beauty/userfiles/' ;