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

What should I do if I cannot log in to the phpcms background?

藏色散人
藏色散人Original
2020-01-02 10:37:142754browse

What should I do if I cannot log in to the phpcms background?

What should I do if I cannot log in to the phpcms backend?

Today, a friend said that after moving the phpcms website and changing the IP, both the front desk and the backend could not log in. At the request of a friend, I was unable to log in after changing the IP of the pc. After an hour of busy work, I finally saw It worked. Now I will share how I solved it. I hope it can help friends who are confused.

Problem: After changing the IP address of the PC, neither the backend nor the front desk can log in, prompting that the password is incorrect, and all settings have not changed, please solve?

Solution:

1. Use the mysql management tool to log in to the database space, find the member table, change the administrator password (your own password for the security key), select md5 on the left, and enter your own "security key password" on the right

2. Clear the member_cache table

3. All front-end and back-end logins are done

Note: You must add a security key when changing the password. The security key is under the config.inc.php file. .

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 I cannot log in to the phpcms background?. 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