= $maxloginfailedtimes){}"; finally log in to the background again and update the whole site cache That’s it."/> = $maxloginfailedtimes){}"; finally log in to the background again and update the whole site cache That’s it.">
Home >CMS Tutorial >PHPCMS >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.
#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))); }
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 free PHPCMS 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!