织梦dedecms友情连接添加或者更改时报错:PHP Fatal error: Call to undefined method Request::filter_files() in D\www\include\request.class.php on line 103 的解决办法: 首先,打开/include/request.class.php文件,找到
织梦dedecms友情连接添加或者更改时报错:PHP Fatal error: Call to undefined method Request::filter_files() in D\www\include\request.class.php on line 103 的解决办法:
首先,打开/include/request.class.php文件,找到如下代码:
//上传的文件处理
if( isset($_FILES) && count($_FILES) > 0 )
{
$this->FilterFiles($_FILES);
}
$this->isinit = TRUE;
//global变量
//self::$forms['_global'] = $GLOBALS;
}
修改成:
//上传的文件处理
if( isset($_FILES) && count($_FILES) > 0 )
{
}
$this->isinit = TRUE;
//global变量
//self::$forms['_global'] = $GLOBALS;
}
其实很简单,就是删除这句代码: $this->FilterFiles($_FILES);
这样就成功解决了不能更改的问题!