浏览服务器时总是提示=>
Sorry, can\'t map "UserFilesPath" to a physical path. You must set the "UserFilesAbsolutePath" value in "editor/filemanager/connectors/php/config.php配置文件$Config['Enabled'] = true ;$Config['UserFilesPath'] = '/userfiles/' ;$Config['UserFilesAbsolutePath'] = '' ;
图片上传文件夹:userfiles  ,放在网站根目录下在apache上没有问题,在iis 6\7上会出现问题

解决方案 »

  1.   

    'UserFilesAbsolutePath'='绝对路径'
      

  2.   

    如果谁以后还遇到这样的问题,参考以下办法解决:$http_path = substr($_SERVER['PHP_SELF'], 0, -1 * (strlen($_SERVER['PHP_SELF']) - strrpos($_SERVER['PHP_SELF'], '/')));
    $_SERVER['SCRIPT_FILENAME'] = str_replace('\\', '\\\\', $_SERVER['SCRIPT_FILENAME']);
    $path = substr($_SERVER['SCRIPT_FILENAME'], 0, -1 * (strlen($_SERVER['SCRIPT_FILENAME']) - strrpos($_SERVER['SCRIPT_FILENAME'], '\\')));
    $Config['UserFilesPath'] = $http_path.'/userfiles/' ;
    $Config['UserFilesAbsolutePath'] =  ((strpos($_SERVER["SERVER_SOFTWARE"], 'apache') === false) ?$path.'\\userfiles\\' : '')  ;
      

  3.   

    出错信息是无法将相对咱径转为绝对路径,应设
    $Config['UserFilesAbsolutePath'] = '' 
    填上绝对路径试