Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

UC无法登陆!新站

[复制链接]
lxw613 发表于 2015-2-27 14:13:30 | 显示全部楼层 |阅读模式
为什么新安装的  网站   UC创始人无法登陆,  输入密码,没反应呢?
sishenmao 发表于 2015-2-27 16:47:15 | 显示全部楼层
本帖最后由 sishenmao 于 2015-3-3 20:32 编辑

http://www.lingchengluntan.com/thread-58-1-1.html
回复

使用道具 举报

pengwenx 发表于 2015-3-3 20:02:47 | 显示全部楼层
解决办法很简单
在/uc_server/model 中找到admin.php


找到代码function adminbase() {
                parent::__construct();
                $this->cookie_status = 0;
                $sid = $this->cookie_status ? getgpc('sid', 'C') :rawurlencode(getgpc('sid', 'R'));
                $this->sid = $this->view->sid = $this->sid_decode($sid) ? $sid : '';



将红色部分修改
function adminbase() {
                parent::__construct();
                $this->cookie_status = isset($_COOKIE['sid']) ? 1 : 0;
                $sid = $this->cookie_status ? getgpc('sid', 'C') :rawurlencode(getgpc('sid', 'R'));
                $this->sid = $this->view->sid = $this->sid_decode($sid) ? $sid : '';
我的小站:http://2he1.com
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2025-2-24 18:00 , Processed in 0.074683 second(s), 4 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表