-
登录远程主机或者打开FTP连接工具
-
打开网站所在目录,找到以下文件 /uc_server/model 中找到admin.php
-
打开 /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 : ”;
-
将此部分代码 this->cookie_status = 0; 修改为 this->cookie_status = isset($_COOKIE[‘sid’]) ? 1 : 0;
-
代码修改完后的完整信息
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 : ”;
-
保存文件,登录后台更新网站即可
UC密码正确无法登录后台的解决方法
Search
Latest Comments
Categories
Archives
- 2025 年 11 月 (19)
- 2025 年 10 月 (276)
- 2025 年 9 月 (58)
- 2023 年 2 月 (1)
- 2022 年 3 月 (1)
- 2021 年 2 月 (1)
- 2020 年 7 月 (1)
- 2019 年 9 月 (2)
- 2018 年 9 月 (1)
- 2018 年 8 月 (2)
- 2018 年 6 月 (2)
- 2018 年 5 月 (3)
- 2018 年 2 月 (2)
- 2018 年 1 月 (1)
- 2017 年 12 月 (2)
- 2017 年 10 月 (1)
- 2017 年 7 月 (1)
- 2017 年 4 月 (1)
- 2017 年 2 月 (1)
- 2016 年 11 月 (1)
- 2016 年 10 月 (1)
- 2016 年 8 月 (2)
- 2016 年 7 月 (1)
- 2016 年 6 月 (3)
- 2016 年 4 月 (4)
- 2016 年 3 月 (5)
- 2016 年 2 月 (5)
- 2016 年 1 月 (2)
- 2015 年 12 月 (1)
- 2015 年 11 月 (3)
- 2015 年 9 月 (1)
- 2015 年 8 月 (2)
- 2015 年 7 月 (8)
- 2015 年 6 月 (5)
- 2015 年 5 月 (3)
- 2015 年 4 月 (4)
- 2015 年 3 月 (3)
- 2015 年 2 月 (1)
- 2015 年 1 月 (1)
- 2014 年 10 月 (1)
- 2014 年 9 月 (2)
- 2014 年 8 月 (3)
- 2014 年 7 月 (4)
- 2014 年 6 月 (1)
- 2014 年 5 月 (3)
- 2014 年 4 月 (15)
- 2014 年 3 月 (5)
- 2009 年 7 月 (1)
Tags
Newsletter
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Insert the contact form shortcode with the additional CSS class- "bloghoot-newsletter-section"

By signing up, you agree to the our terms and our Privacy Policy agreement.
发表回复
要发表评论,您必须先登录。