欢迎进入广州凡科互联网科技有限公司网站
全国服务热线
4000-399-000
织梦cmsdedecms5.7在php5.4自然环境下安裝出現后台管
时间: 2021-02-22 22:27 浏览次数:
好织梦cms网编历经搜索材料发觉,由于php5.4 早已没有应用ession_register涵数这一涵数 因此安裝织梦cms的情况下会出現后台管理空白页 如何解决? 处理方式:找开include/userlogin.class.php文档
好织梦cms网编历经搜索材料发觉,由于php5.4 早已没有应用ession_register涵数这一涵数 因此安裝织梦cms的情况下会出現后台管理空白页 如何解决? 处理方式:找开include/userlogin.class.php文档,搜索下列內容: @session_register($this-keepUserIDTag); $_SESSION[$thi...

好织梦cms网编历经搜索材料发觉,由于php5.4 早已没有应用ession_register涵数这一涵数 因此安裝织梦cms的情况下会出現后台管理空白页 如何解决?
处理方式:找开include/userlogin.class.php文档,搜索下列內容:

@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, / );

更换成

global $admincachefile,$adminstyle;
if(empty($adminstyle)) $adminstyle = dedecms
//@session_register($this- keepUserIDTag);
$_SESSION[$this- keepUserIDTag] = $this- keepUserIDTag;
$_SESSION[$this- keepUserIDTag] = $this- userID;
//@session_register($this- keepUserTypeTag);
$_SESSION[$this- keepUserTypeTag] = $this- keepUserTypeTag;
$_SESSION[$this- keepUserTypeTag] = $this- userType;
// @session_register($this- keepUserChannelTag);
$_SESSION[$this- keepUserChannelTag] = $this- keepUserChannelTag;
$_SESSION[$this- keepUserChannelTag] = $this- userChannel;
//@session_register($this- keepUserNameTag);
$_SESSION[$this- keepUserNameTag] = $this- keepUserNameTag;
$_SESSION[$this- keepUserNameTag] = $this- userName;
//@session_register($this- keepUserPurviewTag);
$_SESSION[$this- keepUserPurviewTag] = $this- keepUserPurviewTag;
$_SESSION[$this- keepUserPurviewTag] = $this- userPurview;
// @session_register($this- keepAdminStyleTag);
$_SESSION[$this- keepAdminStyleTag] = $this- keepAdminStyleTag;
$_SESSION[$this- keepAdminStyleTag] = $adminstyle;
PutCookie( DedeUserID , $this- userID, 3600 * 24, / );
PutCookie( DedeLoginTime , time(), 3600 * 24, / );


dedecms模版,dedecms公司模版,dedecms新闻资讯模版,高档HTML5响应式模版,dedecms手机上模版,织梦cms模版实例教程,网站模版,网页页面模版,完全免费网页页面模版

下一篇:没有了


Copyright © 广州凡科互联网科技有限公司 版权所有 粤ICP备10235580号
全国服务电话:4000-399-000   传真:021-45545458
公司地址:广州市海珠区工业大道北67号凤凰创意园