// 0: 线上模式; 1: 调试模式; 2: 插件开发模式;
!defined(‘DEBUG’) AND define(‘DEBUG’, 3);访问后台/admin,报下列错误。希望后续能够修复XIUNOX的超管模式。
后台管理
服务器错误
ErrorException: Undefined array key “username” in D:\wwwroot\xiunox\xiunox-release\xiunox-release\tmp\admin_view_htm_header_nav.inc.htm on line 80
#0 D:\wwwroot\xiunox\xiunox-release\xiunox-release\tmp\admin_view_htm_header_nav.inc.htm(80): ErrorHandler::handleError(2, ‘Undefined array…’, ‘D:\wwwroot\xiun…’, 80)
#1 D:\wwwroot\xiunox\xiunox-release\xiunox-release\tmp\admin_view_htm_header.inc.htm(70): include(‘D:\wwwroot\xiun…’)
#2 D:\wwwroot\xiunox\xiunox-release\xiunox-release\tmp\admin_view_htm_index.htm(1): include(‘D:\wwwroot\xiun…’)
#3 D:\wwwroot\xiunox\xiunox-release\xiunox-release\tmp\admin_route_index.php(301): include(‘D:\wwwroot\xiun…’)
#4 D:\wwwroot\xiunox\xiunox-release\xiunox-release\tmp\admin_index.inc.php(36): include(‘D:\wwwroot\xiun…’)
#5 D:\wwwroot\xiunox\xiunox-release\xiunox-release\admin\index.php(55): include(‘D:\wwwroot\xiun…’)
#6 {main}
Bug反馈
- 程序版本:
- Xiuno X 最新版
- PHP版本:
- php8.4
- MySql:
- 8.0
- 复现步骤:
- index.php配置!defined('DEBUG') AND define('DEBUG', 3),访问/admin提示错误
- 预期结果:
- Bug 描述:
- index.php配置!defined('DEBUG') AND define('DEBUG', 3);报错
- 错误信息:
- 错误日志:
-
如果不按照提示进行填写,复制粘贴相同信息,将会被删除并扣除金币。





