What should I do if phpcms verification code verification fails?
phpcms background login prompts verification code error
1. After the V9 verification code is generated, the verification code number will be stored in the Session.
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 data of type 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.
PHP Chinese website, a large number of free PHPCMS tutorials, welcome to learn online!
The above is the detailed content of What to do if phpcms verification code verification fails. For more information, please follow other related articles on the PHP Chinese website!