Home > CMS Tutorial > DEDECMS > body text

What should I do if I keep getting prompted that the verification code is incorrect when logging in to the DreamWeaver backend?

藏色散人
Release: 2019-12-12 10:44:01
Original
2973 people have browsed it

What should I do if I keep getting prompted that the verification code is incorrect when logging in to the DreamWeaver backend?

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)
Copy after login

is replaced with:

if( false )
Copy after login

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+&#39;?&#39;" />
</li>
Copy after login

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!

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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template