FCKeditor出现"this connector is disabled Please check the"editor/filemanager/connectors/aspx/config.aspx"错误的解决办法
2012-09-25 17:32
926 查看
我最近在整合FCK,我也遇到了这个问题。
解决办法:
打开editor/filemanager/connectors/aspx/config.ascx修改CheckAuthentication()方法,返回true
C# code
private bool CheckAuthentication()
{
// WARNING : DO NOT simply return "true". By doing so, you are allowing
// "anyone" to upload and list the files in your server. You must implement
// some kind of session validation here. Even something very simple as...
//
// return ( Session[ "IsAuthorized" ] != null && (bool)Session[ "IsAuthorized" ] == true );
//
// ... where Session[ "IsAuthorized" ] is set to "true" as soon as the
// user logs in your system.
return true;
}
随便看了一下config.ascx里的内容,发现如果想让对每个用户进行不同的配置,FCKeditor支持的更好了。
解决办法:
打开editor/filemanager/connectors/aspx/config.ascx修改CheckAuthentication()方法,返回true
C# code
private bool CheckAuthentication()
{
// WARNING : DO NOT simply return "true". By doing so, you are allowing
// "anyone" to upload and list the files in your server. You must implement
// some kind of session validation here. Even something very simple as...
//
// return ( Session[ "IsAuthorized" ] != null && (bool)Session[ "IsAuthorized" ] == true );
//
// ... where Session[ "IsAuthorized" ] is set to "true" as soon as the
// user logs in your system.
return true;
}
随便看了一下config.ascx里的内容,发现如果想让对每个用户进行不同的配置,FCKeditor支持的更好了。
相关文章推荐
- FCKeditor出现"this connector is disabled Please check the"editor/filemanager/connectors/aspx/config.aspx"错误的解决办法
- FCKeditor出现"this connector is disabled Please check the"editor/filemanager/connectors/aspx/config.aspx"错误的解决办法
- FCKeditor出现"this connector is disabled Please check the"editor/filemanager/connectors/aspx/config.aspx"错误的解决办法【转】
- asp.net中使用fckeditor时,提示“this connector is disabled Please check the"editor/filemanager/connectors/aspx/config.aspx”解决办法
- FCKeditor出现"this connector is disabled Please check the"editor/filemanager/connectors/aspx/config.aspx"错误的解决办法
- FCKeditor出现"this connector is disabled Please check the"editor/filemanager/connectors/aspx/config.aspx"错误的解决办法
- FCKeditor关于图片上传出现错误“ 提示没有权限 Type=Image” 以及出现"this connector is disabled Please check the"editor/filemanager/connectors/aspx/conf
- FCKeditor(2.6)出现"this connector is disabled Please check the"editor/filemanager/connectors/aspx/config.aspx"
- FCKeditor(2.6)出现"this connector is disabled Please check the"editor/filemanager/connectors/aspx/conf
- 编译时出现fatal error C1853: "debug/xxx.pch" is not a precomplied header file with......错误的原因及解决办法(转)
- This file uploader is disabled. Please check the "editor/filemanager/connectors/php/config.php" file.
- this connector is disabled Please check the"editor/filemanager/connectors/aspx/config.aspx
- FCKeditor出现"this connector is disabled Please check the"editor/filemanager/connectors/asp
- FCKeditor出现"XML request error: Internal Server Error(500)"错误的解决办法
- 向aspx页面拖拽自定义服务器控件出现“无效的Formatetc结构(异常来自HRESULT......)"错误解决办法
- ArcGIS API for Flex制作程序发布后出现错误:"访问 URL 时遇到安全性错误" 解决办法尝试(学习笔记)
- freebsd8.0安装nvidia驱动出现"/usr/share/mk/bsd.kmod.mk", line 12: "can't find kernel source tree"错误,解决办法
- Ruby on Rails安装过程中出现"no such file to load -- mkmf"错误的解决方法。
- Xcode7 出现"-fembed-bitcode"错误的解决办法
- 出现<authentication mode="Windows"/>错误解决办法