'mysql'," to "'session_storage'=>'files'," That’s it."/> 'mysql'," to "'session_storage'=>'files'," That’s it.">

Home >CMS Tutorial >PHPCMS >What should I do if phpcms prompts a verification code error?

What should I do if phpcms prompts a verification code error?

藏色散人
藏色散人Original
2020-05-15 11:30:012437browse

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!

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