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//dataChange 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 tosession.cookie_path = /Putextension =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 )
Then, remove the following details of the verification code in the templatedede/templets/login.htmHTML code:
Or: In [Verification Code Security Settings], it is said that the modified save actually modifies the filedatasafeinc_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 opendatasafeinc_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/";
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!