Home > Article > CMS Tutorial > What to do if the phpcms front-end verification code is wrong
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.
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!