Home  >  Article  >  Backend Development  >  升级dz 3.2版本出现UC无法登录

升级dz 3.2版本出现UC无法登录

WBOY
WBOYOriginal
2016-06-20 13:01:06943browse

升级Discuz(dz) 3.2版本出现UC无法登录解决方法:

1、在站点根目录下找到: uc_server/model/admin.php

2、打开 admin.php 文件进行编辑,搜索找到这行代码:(如果你这文件没改动过的话默认位置是在 22 行。)$this->cookie_status = 0;

3、把搜索到的这行代码修改为:$this->cookie_status = isset($_COOKIE['sid']) ? 1 : 0;

按照以上三步操作就可以解决【 UCenter】不能登录的问题。


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn