Method 1:
7
You can cancel the verification code as follows:
The implementation method is divided into two steps: open login. php and find:
The code is as follows: |
Copy code |
If ($ validate = "| $ validate! = $ Svali) Replace: If (false) |
Then, remove the specific HTML code of the following verification code from the template dede/templets/login.htm:
The code is as follows: |
Copy code |
<Li> <span> verification code: </span> <Input name = "validate" type = "text" id = "vdcode" style = 'width: 50px; text-transform: uppercase; '/> </Li> |
Method 2:
Use ftp to enter your dedecms program space, delete all session files except index.htm in the data/sessiondirectory, and then clear the cache in the local IE browser.
Log on to the homepage at the dedecms background.
The solution to the GD Library is simple.
Enable GD library support for PHP in windows
So you only need to find "extension = php_gd2.dll" in php. ini"
Enable GD library support for PHP in Linux
The code is as follows: |
Copy code |
# The following methods are supported to enable the GD Library: # Check whether the GD Library has the Installation Command Php5-m | grep-I gd Or Php-I | grep-I -- color gd # If the GD library is not installed, install it on the server as follows: ### If the installation is source code, add the parameter -- With-gd ### If it is a debian linux system, use apt-get to install it, as shown below: Apt-get install php5-gd ### If it is a CentOS system, install it using yum, as shown below: Yum install php-gd ### If the suse linux system is used, install it using yast, as shown below: Yast-I php5_gd ### If this world is not enough, you can add First, go to the zlib source code, libpng source code, and gd source code. |
Decompress the package to the source code directory.
The code is as follows: |
Copy code |
Zlib Directory ./Configure -- prefix =/usr/local/zlib Make; make install Make clean Libpng Directory Cp scripts/makefile. linux./makefile ./Configure -- prefix =/usr/local/libpng Make; make install Make clean Gd Directory ./Configure -- prefix =/usr/local/libgd -- with-png =/usr/local/libpng Make; make install Make clean Finally, find [gd] in php. ini and add a line below. Extension =/usr/local/libgdgd. so
|
Restart the php service. If not, try reboot.