this connector is disabled错误的解决方法
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;
}
<!-- google_ad_section_start -->关于FCKeditor,上传文件时提示invalid request
问题最终还是在FCKeditor的官方论坛解决了,感谢 rlohuis ,引用一下放过来。
I had this problem as well. The problem is that it can't find the type of resource for upload. I assume that it should detect the resource type by file extension, but there is no code to do that. I fixed it by adding the resource type "File" in the config. I think this is a workaround, but it worked for me. So the link browser url looks somewhat like this (added Type=File&): FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=File&Connector=../../../../connector.' + _FileBrowserExtension; And the quick upload looks like this (added + '?Type=File' ): FCKConfig.LinkUploadURL = FCKConfig.BasePath + '../upload.' + _QuickUploadExtension + '?Type=File' ;