'mysql'," to "'session_storage'=>'files'," That’s it."/> 'mysql'," to "'session_storage'=>'files'," That’s it.">
Home > Article > CMS Tutorial > What should I do if phpcms prompts a verification code error?
What should I do if phpcms prompts that the verification code is wrong?
#phpcms background login prompt verification code error solution
1. After the V9 verification code is generated, the verification code number will be stored in the Session among.
2. In V9, by default, Session is stored in the database. Its performance in the database is as follows:
3. After accessing the background login page, you can check the Session table in the database. If there is no type of data code|s in the table: 4:"***"; That means the Session was not successfully written to the database.
This will cause your login to fail.
4. You can try to modify "/caches/configs/system.php" by modifying:
'session_storage' => 'mysql',
to
'session_storage' => 'files',
Try again.
The above modification means that the Session is stored in the hard disk, which will use PHP's default storage method.
Recommended: "phpcms tutorial"
The above is the detailed content of What should I do if phpcms prompts a verification code error?. For more information, please follow other related articles on the PHP Chinese website!