本站资源均来自互联网,仅供学习与参考,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
Copyright @ 2015-2020 织梦园 版权所有
Power by DedeCms
鲁ICP备15039853号-1
鲁公网安备 37132302000249号
模板标签 TAG标签 网站地图 XML地图 今日更新 返回顶部
function exitUser() { ClearMyAddon(); @($this->keepUserIDTag); @session_unregister($this->keepUserTypeTag); @session_unregister($this->keepUserChannelTag); @session_unregister($this->keepUserNameTag); @session_unregister($this->keepUserPurviewTag); DropCookie('dedeAdmindir'); DropCookie('DedeUserID'); DropCookie('DedeLoginTime'); $_SESSION = array(); } |
由此可见 是php版本的问题,因我网站php版本5.4,php5.4删除了session_unregister该函数,而dedecms没有做相应调整,不支持***新版php。
解决办法1:
在include/userlogin.class.php中查找function keepUser(),大概在281行
把keepUser()函数下的@session_register();整段删除
解决方法2:
在include/userlogin.class.php 中声明一个函数
function session_register()
{
}