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

phpcms v9 background login prompt verification code error

王林
王林Original
2019-11-14 15:21:112476browse

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',

Just change it to

'session_storage' => 'files',

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!

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