'files'," ."/> 'files'," .">

Home >CMS Tutorial >PHPCMS >What to do if phpcms verification code verification fails

What to do if phpcms verification code verification fails

藏色散人
藏色散人Original
2020-01-10 10:32:022333browse

What to do if phpcms verification code verification fails

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn