Home > Article > CMS Tutorial > phpcms v9 background login prompt verification code error
Problem analysis:
After the V9 verification code is generated, the verification code number will be stored in the Session. By default in V9, Session is stored in the database. Its performance in the database is as follows:
You can check the Session table in the database after accessing the background login page. If there is no data of type code|s in the table :4:"***"; That means the Session was not successfully written to the database, which will cause your login to fail.
Solution:
You can modify the following in "/caches/configs/system.php
":
'session_storage' => 'mysql',
Just change it to
'session_storage' => 'files',
and try again.
The above modification means that the Session is stored in the hard disk, which will use PHP's default storage method.
Recommended tutorial: phpcms tutorial
The above is the detailed content of phpcms v9 background login prompt verification code error. For more information, please follow other related articles on the PHP Chinese website!