2021年7月

打开:/source/class/discuz/discuz_application.php
搜索:

if(isset($_GET['formhash']) && $_GET['formhash'] !== formhash()) {
                        system_error('request_tainting');
                }

改为:

if(isset($_GET['formhash']) && $_GET['formhash'] !== formhash()) {
                        //system_error('request_tainting');
                          //header('HTTP/1.1 301 Moved Permanently');
                          header("Location: https://".$_SERVER['HTTP_HOST']."/member.php?mod=logging&action=login");
                          exit;
                }

备注:https根据实际情况修改http

Discuz! Database Error

(1062) Duplicate entry 'available' for key 'PRIMARY'
INSERT INTO `minfish_conf` (`skey`, `svalue`) VALUES ('available', '1');

模板.PNG