Taiwan
|
本帖最後由 thanatos 於 2023-04-09 17:45 編輯
When the Setup Wizard tried to initialize the system, an Access Denied error messages was shown:
The errror message was generated from install/include/install_functions.php:1095. It created an AJAX request to /misc.php?mod=initsys&language=en, and source/module/misc/misc_initsys.php:25 is the actual line that raised this error:
- if(!($_G['adminid'] == 1 && $_GET['formhash'] == formhash()) && $_G['setting']) {
- exit('Access Denied');
- }
Copy the Code
By trying to install an official Disucz! X3.5, I found $_G['setting'] was an empty array. However, $_G['setting'] contained abundant contents when I tried to install Discuz! X3.5 ML.
I don't know how to fix this bug, but it seems that $_G['setting'] must be empty during system initialization.
|
This post contains more resources
You have to Login for download or view attachment(s). No Account? Register
x
|