Home  >  Article  >  CMS Tutorial  >  What to do if the phpcms front-end verification code is wrong

What to do if the phpcms front-end verification code is wrong

藏色散人
藏色散人Original
2020-07-21 09:26:162985browse

Solution to phpcms front-end verification code error: first find and open the "member/index.php" file; then add a new statement with the content "pc_base::load_sys_class($session_storage);"; finally save the changes That’s it.

What to do if the phpcms front-end verification code is wrong

The problem and solution that the front desk login verification code is always wrong

After investigation, it was found that it was $_SESSION[' code'] cannot get the value, there is something wrong with SESSION.

Solution:

Modify the file-website root directory/phpcms/modules/member/index.php

Add the following code below the

$session_storage ='session_'.pc_base::load_config('system','session_storage');
pc_base::load_sys_class($session_storage);

Recommended: "phpcms tutorial"

The above is the detailed content of What to do if the phpcms front-end verification code is wrong. 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