Home Backend Development PHP Tutorial 3 possible reasons for the solution to the error in DEDECMS background verification code and unable to perform normal verification

3 possible reasons for the solution to the error in DEDECMS background verification code and unable to perform normal verification

Apr 01, 2017 am 10:04 AM

This article mainly introduces the backend of DEDECMSVerification code 3 possible reasons and solutions for errors that cannot be verified normally. Friends in need can refer to the download address of

dedecms template : www.php.cn/xiazai/code/dedecms

I often see many people posting that they can’t enter the backend after using the site built by DreamWeaver. The verification code is obviously correct, but It says the verification code is incorrect. Today I spent some time sorting out some related methods, mainly the following ones:
Solution 1:

data/session The save failed because The directory does not have write permission (permission 777), which can be modified by using the FTP connection tool or entering online file management;
Solution 2:

You can cancel the verification code, the specific operation method As follows, it is divided into two steps:

1. Open dede/login.php and find:

The code is as follows:

if($validate=='' || $validate != $svali)
Copy after login

is replaced with:

The code is as follows:

if( false)
Copy after login

2. Remove the specific HTML code of the following verification code in the template dede/templets/login.htm:

The code is as follows:

<li><span>验证码:</span> 
<input name="validate" type="text" id="vdcode" style=&#39;
width
:50px;
text-transform
:uppercase;&#39; class="text" /> 
<img id="vdimgck" src="../
include
/vdimgck.php" alt="看不清?点击更换" align="absmid
dl
e" style="cursor:pointer" 
onclick
="this.src=this.src+&#39;?&#39;" /> 
</li>
Copy after login

Solution 3:

If the above two methods do not work, you can also check whether the space is full, because if the space is full, then generate The session file cannot be found.

The above is the detailed content of 3 possible reasons for the solution to the error in DEDECMS background verification code and unable to perform normal verification. For more information, please follow other related articles on the PHP Chinese website!

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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
WWE 2K25: How To Unlock Everything In MyRise
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

What should I do if Google Chrome does not display the verification code image? Chrome browser does not display the verification code? What should I do if Google Chrome does not display the verification code image? Chrome browser does not display the verification code? Mar 13, 2024 pm 08:55 PM

What should I do if Google Chrome does not display the verification code image? Sometimes you need a verification code to log in to a web page using Google Chrome. Some users find that Google Chrome cannot display the content of the image properly when using image verification codes. What should be done? The editor below will introduce how to deal with the Google Chrome verification code not being displayed. I hope it will be helpful to everyone! Method introduction: 1. Enter the software, click the "More" button in the upper right corner, and select "Settings" in the option list below to enter. 2. After entering the new interface, click the "Privacy Settings and Security" option on the left. 3. Then click "Website Settings" on the right

Can virtual numbers receive verification codes? Can virtual numbers receive verification codes? Jan 02, 2024 am 10:22 AM

The virtual number can receive the verification code. As long as the mobile phone number filled in during registration complies with the regulations and the mobile phone number can be connected normally, you can receive the SMS verification code. However, you need to be careful when using virtual mobile phone numbers. Some websites do not support virtual mobile phone number registration, so you need to choose a regular virtual mobile phone number service provider.

Why can't I receive the verification code to register in Youka? Why can't I receive the verification code to register in Youka? Mar 03, 2024 pm 05:31 PM

Youkazhong users need to use the verification code to register, so why can’t they receive the verification code to register? Users may not receive the verification code due to network problems, device problems, or server problems. This introduction to the registration problem of not receiving the verification code can tell you how to install it. The following is a detailed introduction, come and take a look! Why can't you receive the verification code for registration in Youka? Answers: Network problems, equipment problems, and server problems lead to detailed introduction: 1. Solution to network problems: Users need to check their own network and can try to change the network environment. If the network is weak, the verification code will fail to be sent. 2. Equipment problem: Solution: Check if there is any interfering software in your background. You can try restarting the device or reinstalling the software.

How to use Laravel to implement verification code function How to use Laravel to implement verification code function Nov 04, 2023 am 10:42 AM

Laravel is a popular PHP web framework that provides many conveniences for web application development. One of the very important functions is the verification code function. CAPTCHA is a mechanism for validating human actions, and it can be used in many web application scenarios. In this article, we will use Laravel as an example to introduce how to implement the verification code function and provide specific code examples. Generate verification code images In Laravel, the way to generate verification code images is usually to use PHP's GD library.

Where is the imperial cms resource network template? Where is the imperial cms resource network template? Apr 17, 2024 am 10:00 AM

Empire CMS template download location: Official template download: https://www.phome.net/template/ Third-party template website: https://www.dedecms.com/diy/https://www.0978.com.cn /https://www.jiaocheng.com/Installation method: Download template Unzip template Upload template Select template

How to implement verification code and prevent bot attacks in PHP project? How to implement verification code and prevent bot attacks in PHP project? Nov 03, 2023 pm 05:40 PM

How to implement verification code and prevent bot attacks in PHP project? With the development and popularity of the Internet, more and more websites and applications are beginning to be threatened by bot attacks. In order to protect user information security and provide a good user experience, developers need to implement verification codes and measures to prevent bot attacks in their projects. This article will introduce how to implement verification codes and prevent bot attacks in PHP projects. 1. Implementation of verification code Verification code is a common method to prevent robot attacks. Users need to enter a verification code when logging in or registering.

Detailed explanation of the impact of Discuz canceling the verification code function on website security Detailed explanation of the impact of Discuz canceling the verification code function on website security Mar 11, 2024 am 10:45 AM

"Discussion on the Impact of Discuz's Canceling the Verification Code Function on Website Security" With the rapid development of the Internet, website security issues have become increasingly prominent. As a common security verification mechanism, verification code is widely used on websites. However, some websites may cancel the verification code function in order to improve user experience. Will this have a negative impact on website security? This article will discuss the impact of Discuz's cancellation of verification code function on website security and provide specific code examples. 1. The function and principle of verification code Verification code (CAP)

How dedecms implements template replacement How dedecms implements template replacement Apr 16, 2024 pm 12:12 PM

Template replacement can be implemented in Dedecms through the following steps: modify the global.cfg file and set the required language pack. Modify the taglib.inc.php hook file and add support for language suffix template files. Create a new template file with a language suffix and modify the required content. Clear Dedecms cache.

See all articles