Home > CMS Tutorial > DEDECMS > body text

dedeCMS DreamWeaver backend login verification code is wrong or not displayed

angryTom
Release: 2019-11-15 15:43:05
Original
1923 people have browsed it

dedeCMS DreamWeaver backend login verification code is wrong or not displayed

dedeCMS backend login verification code is wrong or not displayed

The common thing is that the verification code is entered correctly but However, the prompt is incorrect or not displayed at all. Let’s talk about several reasons for encountering this situation:

1) The dede version program upgrade operation is incorrect, causing the verification code prompt to be incorrect

2) Better space, new space Gd library configuration problem in pho.ini

3) The website space is full

4) Specifically caused by transferring the data directory to version 5.7

5) In-program /data /session directory permission setting problem

6) Clear the browser’s cookies and restart the browser;

7) The network speed is not good, change the time and try again when the network speed is faster!

8) There is an error in the website program, re-upload and install;

The reason why the dede backend login verification code is incorrect or not displayed has been found, so now let’s summarize the solution .

1. If it is caused by transferring the data directory in version 5.7.

Please change it/include/vdimgck.phpThis file also calls the file in DATA. You can also change the path and add this //data Change to your current path.

2. After consulting the information, I learned that the session has not been cleared. Go to the data/session directory and delete all files except index.html.

3. If it still doesn't work, check whether the session has write permissions. If not, add write permissions to the "internet guest account". For Linux, set the directory permissions to "777".

4. Set the server's php.ini: Open the php.ini file and find it; session.save_path = "/tmp" Rewrite it to session.cookie_path = /Put extension =php_gd2.dll;Remove the semicolon in front of it.

5. Check whether your space is full. The test method is that you can upload a file in the FTP space at will. There will be a prompt and you can contact the space service provider.

6. Remove the verification code directly: Open login.php and find:

if($validate=='' || $validate != $svali)
// 替换为:
if( false )
Copy after login

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

<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="absmiddle" style="cursor:pointer" />
</li>
Copy after login

Or: In [Verification Code Security Settings], it is said that the modified save actually modifies the file datasafeinc_safe_config.php, which is a configuration file.

For example: $safe_gdopen = '1,2,3,5,6'; This is where the verification code is enabled in the system. There is a one-to-one relationship with the [Verification Code Security Settings] interface.

So, if we want to turn off the verification code in the management background (if the verification code cannot be entered correctly and the GB library is not supported), we only need to open datasafeinc_safe_config.php and set $safe_gdopen = '1,2 ,3,5,6'; Just delete the 6 in it. No need to go through tedious settings.

7. Modify the vdimgck.php file in the include folder and modify the following paragraph,

//Session保存路径
$sessSavePath = dirname(__FILE__)。"//data/sessions/";
Copy after login

is modified to //$sessSavePath = dirname (__FILE__) . "//data/sessions/";

After modification, it sometimes works and sometimes doesn't work, and the same situation occurs when it is changed back. If you change the DEDE background path to the default DEDE folder, there will be no verification code errors.

Finally, if none of the above methods apply, then reinstall the corresponding version of the program, and then transfer your css and image files, template files, and upload folders. Finally restore the database.

Recommended tutorial: dedecms tutorial

The above is the detailed content of dedeCMS DreamWeaver backend login verification code is wrong or not displayed. For more information, please follow other related articles on the PHP Chinese website!

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