88805新莆京(中国VIP认证)官方网站-Green Game Store

[8] ErrorException in Base.php line 33

未定义数组索引: HTTP_USER_AGENT

  1. public $all_column = array(); //所有栏目集合
  2. public $levelId = array(); //当前栏目的所有集合
  3. public $webconfig = array(); //网站配置
  4. /*
  5. * 初始化方法
  6. * */
  7. public function _initialize(){
  8. if (strpos($_SERVER['HTTP_USER_AGENT'], 'miniProgram') !== false) {
  9. $wx_xiao = true;
  10. $this->assign('wx_xiao',$wx_xiao);//网站配置
  11. }
  12. // $this->number();
  13. $column = Db::name('column')->where('isDisable','<>', 1)->order('intOrder asc,id asc')->select();
  14. $column_list = Db::name('column')->where('isDisable','<>', 1)->where('isHide','<>', 1)->order('intOrder asc,id asc')->select();

Call Stack

  1. in Base.php line 33
  2. at Error::appError(8, 'Undefined index: HTT...', 'E:\htdocs\llblcn2020...', 33, []) in Base.php line 33
  3. at Base->_initialize() in Index.php line 15
  4. at Index->_initialize() in Controller.php line 59
  5. at Controller->__construct(object(Request))
  6. at ReflectionClass->newInstanceArgs([object(Request)]) in App.php line 359
  7. at App::invokeClass('app\officialweb\cont...') in Loader.php line 479
  8. at Loader::controller('Index', 'controller', false, 'Error') in App.php line 581
  9. at App::module(['officialweb', 'Index', 'index'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 457
  10. at App::exec(['type' => 'module', 'module' => ['officialweb', 'Index', 'index'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  11. at App::run() in start.php line 19
  12. at require('E:\htdocs\llblcn2020...') in index.php line 17

Environment Variables

GET Data
empty
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

HTTPS
on
SSL_TLS_SNI
www.llbl.cn
HTTP_HOST
www.llbl.cn
HTTP_ACCEPT
*/*
HTTP_ACCEPT_ENCODING
gzip
PATH
C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\MySQL\MySQL Server 5.5\bin;E:\Apache24\bin;E:\php5.6;
SystemRoot
C:\Windows
COMSPEC
C:\Windows\system32\cmd.exe
PATHEXT
.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
WINDIR
C:\Windows
SERVER_SIGNATURE
SERVER_SOFTWARE
Apache
SERVER_NAME
www.llbl.cn
SERVER_ADDR
172.18.96.183
SERVER_PORT
443
REMOTE_ADDR
45.43.234.218
DOCUMENT_ROOT
E:/htdocs/llblcn2020
REQUEST_SCHEME
https
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT
E:/htdocs/llblcn2020
SERVER_ADMIN
724455869@qq.com
SCRIPT_FILENAME
E:/htdocs/llblcn2020/index.php
REMOTE_PORT
58220
GATEWAY_INTERFACE
CGI/1.1
SERVER_PROTOCOL
HTTP/1.1
REQUEST_METHOD
GET
QUERY_STRING
REQUEST_URI
/
SCRIPT_NAME
/index.php
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1708814743.113
REQUEST_TIME
1708814743
Environment Variables
empty

ThinkPHP Constants

APP_PATH
E:\htdocs\llblcn2020/application/
THINK_VERSION
5.0.24
THINK_START_TIME
1708814743.1158
THINK_START_MEM
125096
EXT
.php
DS
\
THINK_PATH
E:\htdocs\llblcn2020\thinkphp\
LIB_PATH
E:\htdocs\llblcn2020\thinkphp\library\
CORE_PATH
E:\htdocs\llblcn2020\thinkphp\library\think\
TRAIT_PATH
E:\htdocs\llblcn2020\thinkphp\library\traits\
ROOT_PATH
E:\htdocs\llblcn2020\
EXTEND_PATH
E:\htdocs\llblcn2020\extend\
VENDOR_PATH
E:\htdocs\llblcn2020\vendor\
RUNTIME_PATH
E:\htdocs\llblcn2020\runtime\
LOG_PATH
E:\htdocs\llblcn2020\runtime\log\
CACHE_PATH
E:\htdocs\llblcn2020\runtime\cache\
TEMP_PATH
E:\htdocs\llblcn2020\runtime\temp\
CONF_PATH
E:\htdocs\llblcn2020/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
true