= $maxloginfailedtimes){}"; finally log in to the background again and update the whole site cache That’s it."> What to do if phpcms admin fails to log in-PHPCMS-php.cn
Home> CMS Tutorial> PHPCMS> body text

What to do if phpcms admin fails to log in

藏色散人
Release: 2020-01-14 09:13:37
Original
1850 people have browsed it

What to do if phpcms admin fails to log in

What should I do if phpcms admin fails to log in?

This article introduces how to solve the problem of too many login failures in PHPCMS. This problem may be caused by the website having lost the background password. You can restore the default password or continue to try the password.

What to do if phpcms admin fails to log in

#If you need to restore the default password, just click on me.

Here are two methods

Method 1:

Link to the database - find the v9_session table. Delete the data inside. Log in again OK!

Method 2:

Find the file \phpcms\modules\admin\index.PHP

Comment out the following code:

if($rtime['times'] >= $maxloginfailedtimes) { $minute = 60-floor((SYS_TIME-$rtime['logintime'])/60); showmessage(L('wait_1_hour',array('minute'=>$minute))); }
Copy after login

Then log in to the background again , just update the site-wide cache.

Finally remember to change it back!

PHP Chinese website, a large number of freePHPCMS tutorials, welcome to learn online!

The above is the detailed content of What to do if phpcms admin fails to log in. 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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!