What should I do if I keep getting prompted that the verification code is incorrect when logging in to the DreamWeaver backend?
I built a website backend, but I have been unable to log in successfully. It keeps prompting that the verification code is incorrect, but I cannot log in. This problem has been bothering me for a long time. I have tried many methods but nothing works. Some people on the Internet say that V5.7 is not good, it is rubbish, and it will be fine in a few days. We who make websites cannot wait for it all the time~~ This makes us very passive
Recommended learning: 梦Weavingcms
I found the following method, which is provided for your reference:
1. The space is full. The verification code errors I encountered were all caused by the space being full. If you also encounter verification code errors, you can first check whether the space is full.
2. Use ftp to enter your dedecms program space, delete all other session files except index.htm in the data/session directory, and then clear the cache of the local IE browser. Try logging in to the dedecms backend again.
3. You can cancel the verification code. The specific method is as follows
The implementation method is divided into two steps:
Open login.php and find:
The code is as follows:
if($validate=='' || $validate != $svali)
is replaced with:
if( false )
Then, remove the specific HTML code of the following verification code in the template dede/templets/login.htm:
Code As follows:
<li><span>验证码:</span> <input name="validate" type="text" id="vdcode” style="width:50px;text-transform:uppercase;" /> <img id="vdimgck" src="../include/vdimgck.php" alt="看不清?点击更换" align="absmiddle" style="cursor:pointer" onclick="this.src=this.src+'?'" /> </li>
The above is the detailed content of What should I do if I keep getting prompted that the verification code is incorrect when logging in to the DreamWeaver backend?. For more information, please follow other related articles on the PHP Chinese website!