建站资讯

dedecms网站后台管理登陆出現空白页FastCGI

作者:admin 发布时间:2021-04-02
拆换网络服务器后网站后台管理出現空白页,经科学研究发觉这一涵数在PHP5.4版本号中早已被停止使用了,早已删掉除开。也便是这一涵数已不能用了。立即注解掉便可以了,无需开展申请注册便可以申明session。

处理方式是:

寻找include文档夹中的userlogin.class.php文档中

@session_register下的全部句子屏蔽掉掉。鲜红色一部分

function keepUser()
{
if($this- userID != $this- userType != )
{
global $admincachefile,$adminstyle;
if(empty($adminstyle)) $adminstyle = dedecms

/*@session_register($this- keepUserIDTag);*/
$_SESSION[$this- keepUserIDTag] = $this- userID;

/* @session_register($this- keepUserTypeTag);*/
$_SESSION[$this- keepUserTypeTag] = $this- userType;

/* @session_register($this- keepUserChannelTag);*/
$_SESSION[$this- keepUserChannelTag] = $this- userChannel;

/*@session_register($this- keepUserNameTag);*/
$_SESSION[$this- keepUserNameTag] = $this- userName;

/* @session_register($this- keepUserPurviewTag);*/
$_SESSION[$this- keepUserPurviewTag] = $this- userPurview;

/*@session_register($this- keepAdminStyleTag);*/
$_SESSION[$this- keepAdminStyleTag] = $adminstyle;

PutCookie( DedeUserID , $this- userID, 3600 * 24, / );
PutCookie( DedeLoginTime , time(), 3600 * 24, / );

$this- ReWriteAdminChannel();

return 1;
}
else{ .下列省去


收缩