Home > CMS Tutorial > PHPCMS > phpcms v9 background login prompt verification code error

phpcms v9 background login prompt verification code error

王林
Release: 2019-11-14 15:21:11
Original
2515 people have browsed it

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:

phpcms v9 background login prompt verification code error

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',
Copy after login

Just change it to

'session_storage' => 'files',
Copy after login

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!

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template