Home  >  Article  >  CMS Tutorial  >  What should I do if the verification code in the DEDECMS login background is wrong?

What should I do if the verification code in the DEDECMS login background is wrong?

藏色散人
藏色散人Original
2019-12-10 10:42:232386browse

What should I do if the verification code in the DEDECMS login background is wrong?

What should I do if the verification code in the DEDECMS login background is wrong?

Recommended learning: 梦Weavercms

Method 1: You can cancel the verification code, the specific method is as follows

The implementation method is divided into It is a two-step process: open login.php and find:

if($validate==” || $validate != $svali)

and replace it with:

if( false )

Then, remove the specific HTML code of the following verification code in the template dede/templets/login.htm:

<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=”thisthis.src=this.src+’?&#39;” /> 
</li>

Method 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 .

Re-enter the dedecms background and log in to the home page.

Method 3:

Check whether the server space is full. If it is full, it will also prompt that the verification code is incorrect [If in After the first step, if you log in to the backend or refresh to the login page, the space is 100% full

The above is the detailed content of What should I do if the verification code in the DEDECMS login background is wrong?. 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