Home > CMS Tutorial > PHPCMS > body text

What should I do if discuz cannot log in to phpcms?

藏色散人
Release: 2021-02-01 11:59:50
Original
1892 people have browsed it

What should I do if discuz cannot log in to phpcms?

Recommendation: "discuz tutorial"

What should I do if discuz cannot log in to phpcms? Correction of the problem that discuz, ucenter, uchome cannot log in after changing the password in phpcms

1. Solution to the problem that the PC cannot log in after changing the password in the UC background: (your UCenter installation root directory ) / control / admin / user.php

About line 289

$_ENV['note']->add('updatepw', 'username='.urlencode($username).'&password=');
Copy after login
Copy after login
Copy after login

is modified to:

$_ENV['note']->add('updatepw', 'username='.urlencode($username).'&password='.$orgpassword);
Copy after login

2. The PC cannot log in after changing the password in DZ (this is for everyone Most concerned)

Solution: (your forum root directory)/uc_client/control/user.php

About 99 lines

$_ENV['note']->add('updatepw', 'username='.urlencode($username).'&password=');
Copy after login
Copy after login
Copy after login

Change to:

$_ENV['note']->add('updatepw', 'username='.urlencode($username).'&password='.$newpw);
Copy after login
Copy after login

3. Solution to the problem that the PC cannot log in after changing the password in UCHome: (your uchome root directory) /uc_client / control / user. php

About 104 lines

$_ENV['note']->add('updatepw', 'username='.urlencode($username).'&password=');
Copy after login
Copy after login
Copy after login

is modified to:

$_ENV['note']->add('updatepw', 'username='.urlencode($username).'&password='.$newpw);
Copy after login
Copy after login

PHP Chinese website, a large number of free

PHPCMS tutorials

, welcome to learn online!

The above is the detailed content of What should I do if discuz cannot log in to phpcms?. For more information, please follow other related articles on the PHP Chinese website!

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