zoukankan      html  css  js  c++  java
  • FCKeditor出现"this connector is disabled Please check 的解决方法

    转自:http://www.cnblogs.com/51jquery/archive/2008/11/09/1329988.html

    今天下载了最新版本的FCK,按以前的配置全部配置好了,可是上传图片的时候,浏览服务器会弹出this connector is disabled Please check....这样的错误。终于在网上找到解决办法

    解决办法:

    打开editor/filemanager/connectors/aspx/config.ascx修改CheckAuthentication()方法,返回true

    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
    ;        
  • 相关阅读:
    五一训练礼包 — B
    五一训练礼包—坐标问题
    单链表
    顺序表
    链表
    基础DP(3)
    基础DP(2)
    基础DP(1)
    分治法
    最小表示法
  • 原文地址:https://www.cnblogs.com/wangpei/p/1512186.html
Copyright © 2011-2022 走看看