FCKeditor出现"this connector is disabled Please check the"editor/filemanager/connectors/aspx/config.aspx"错误的解决办法
2008-08-07 18:15
786 查看
我最近在整合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"错误的解决办法
- 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(2.6)出现"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/conf
- FCKeditor出现"this connector is disabled Please check the"editor/filemanager/connectors/asp
- 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/php/confi
- FCKeditor出现"this connector is disabled Please check the"editor/filemanager/connectors/aspx/config.aspx"错误的解决办法
- FCKeditor出现"this connector is disabled Please check 的解决方法
- FCKeditor出现"this connector is disabled Please check 的解决方法
- linux挂载硬盘重启后出现an error occurred during the file system check错误最有效的解决办法
- 打开sln文件出现the selected file is not a valid visual studio solution file错误提示解决办法
- 用sudo时提示"xxx is not in the sudoers file. This incident will be reported 的解决办法
- vc 出现“fatal error C1085: Cannot write precompiled header file: 'Debug/xxx.pch': The parameter is incorrect“的错误的解决办法
- 打开sln文件出现 “the selected file is not a valid visual studio solution file”错误提示解决办法
- FCKeditor中"this connector is disabled"错误的解决方法【转】