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

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

藏色散人
Release: 2020-07-21 09:26:16
Original
3082 people have browsed it

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);
Copy after login

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!

Related labels:
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