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

WBOY
Release: 2016-06-20 13:01:06
Original
884 people have browsed it

升级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】不能登录的问题。


Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!