add('updatepw')" on line 99 to "'username=' .urlencode()" can be used."/> add('updatepw')" on line 99 to "'username=' .urlencode()" can be used.">

Home  >  Article  >  CMS Tutorial  >  What should I do if discuz cannot log in to phpcms?

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

藏色散人
藏色散人Original
2020-02-04 09:19:221870browse

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=');

is modified to:

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

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=');

Change to:

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

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=');

is modified to:

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

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!

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