[8] ErrorException in config.php line 36

Undefined index: HTTP_USER_AGENT

  1. );
  2. }
  3. }
  4. function isMobiles(){
  5. $userAgent = $_SERVER['HTTP_USER_AGENT'];
  6. if(strpos($userAgent,"iPhone") || strpos($userAgent,"iPad") || strpos($userAgent,"iPod") || strpos($userAgent,"Android")){
  7. return true;
  8. }
  9. // 如果有HTTP_X_WAP_PROFILE则一定是移动设备
  10. if (isset ($_SERVER['HTTP_X_WAP_PROFILE']))
  11. {
  12. return true;
  13. }

Call Stack

  1. in config.php line 36
  2. at Error::appError(8, 'Undefined index: HTT...', 'D:\www_wellohi_new\d...', 36, []) in config.php line 36
  3. at isMobiles() in config.php line 6
  4. at include('D:\www_wellohi_new\d...') in config.php line 12
  5. at include('D:\www_wellohi_new\a...') in Config.php line 80
  6. at Config::load('D:\www_wellohi_new/a...') in App.php line 249
  7. at App::init() in App.php line 182
  8. at App::initCommon() in App.php line 82
  9. at App::run() in index.php line 56

Environment Variables

GET Data
empty
POST Data
empty
Files
empty

Cookies

PHPSESSID
0jk5gja6g5hi29al1h2flt1ql1

Session

lang_template
pc_cn

Server/Request Data

PATH
C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;
SYSTEMROOT
C:\Windows
COMSPEC
C:\Windows\system32\cmd.exe
PATHEXT
.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
WINDIR
C:\Windows
PHPRC
D:/phpstudy_pro/Extensions/php/php7.2.9nts_p
_FCGI_SHUTDOWN_EVENT_
25380
HTTP_CONNECTION
close
SCRIPT_NAME
/index.php
REQUEST_URI
/
QUERY_STRING
REQUEST_METHOD
GET
SERVER_PROTOCOL
HTTP/1.1
GATEWAY_INTERFACE
CGI/1.1
REMOTE_PORT
45584
SCRIPT_FILENAME
D:/www_wellohi_new/index.php
SERVER_ADMIN
admin@example.com
CONTEXT_DOCUMENT_ROOT
D:/www_wellohi_new
CONTEXT_PREFIX
REQUEST_SCHEME
http
DOCUMENT_ROOT
D:/www_wellohi_new
REMOTE_ADDR
50.2.184.162
SERVER_PORT
80
SERVER_ADDR
10.61.124.71
SERVER_NAME
www.wellohi.com
SERVER_SOFTWARE
Apache/2.4.39 (Win64) OpenSSL/1.1.1b mod_fcgid/2.3.9a mod_log_rotate/1.02
SERVER_SIGNATURE
SystemRoot
C:\Windows
HTTP_COOKIE
PHPSESSID=0jk5gja6g5hi29al1h2flt1ql1
HTTP_ACCEPT_ENCODING
gzip
HTTP_ACCEPT
*/*
HTTP_HOST
www.wellohi.com
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1716639335.796
REQUEST_TIME
1716639335
Environment Variables
empty

ThinkPHP Constants

APP_DEBUG
false
CMF_ROOT
D:\www_wellohi_new/
APP_PATH
D:\www_wellohi_new/app/
UPLOAD_PATH
D:\www_wellohi_new/upload/
CMF_PATH
D:\www_wellohi_new/simplewind/cmf/
PLUGINS_PATH
D:\www_wellohi_new/plugins/
EXTEND_PATH
D:\www_wellohi_new/simplewind/extend/
VENDOR_PATH
D:\www_wellohi_new/simplewind/vendor/
RUNTIME_PATH
D:\www_wellohi_new/data/runtime/
THINKCMF_VERSION
5.0.170927
SO
is_top DESC,list_order DESC,published_time DESC,post_id DESC
GSO
is_top DESC,category_relate.list_order DESC,published_time DESC,goods_id DESC
TMPLSO
order:is_top DESC,list_order DESC,published_time DESC,post_id DESC;
TMPLGSO
order:is_top DESC,category_relate.list_order DESC,published_time DESC,goods_id DESC;
WEB_ROOT
D:/www_wellohi_new/
THINK_VERSION
5.0.24
THINK_START_TIME
1716639335.796
THINK_START_MEM
408280
EXT
.php
DS
\
THINK_PATH
D:\www_wellohi_new\simplewind\thinkphp\
LIB_PATH
D:\www_wellohi_new\simplewind\thinkphp\library\
CORE_PATH
D:\www_wellohi_new\simplewind\thinkphp\library\think\
TRAIT_PATH
D:\www_wellohi_new\simplewind\thinkphp\library\traits\
ROOT_PATH
D:\www_wellohi_new\
LOG_PATH
D:\www_wellohi_new/data/runtime/log\
CACHE_PATH
D:\www_wellohi_new/data/runtime/cache\
TEMP_PATH
D:\www_wellohi_new/data/runtime/temp\
CONF_PATH
D:\www_wellohi_new/app/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
true
U_IDNA_PROHIBITED_ERROR
66560
U_IDNA_ERROR_START
66560
U_IDNA_UNASSIGNED_ERROR
66561
U_IDNA_CHECK_BIDI_ERROR
66562
U_IDNA_STD3_ASCII_RULES_ERROR
66563
U_IDNA_ACE_PREFIX_ERROR
66564
U_IDNA_VERIFICATION_ERROR
66565
U_IDNA_LABEL_TOO_LONG_ERROR
66566
U_IDNA_ZERO_LENGTH_LABEL_ERROR
66567
U_IDNA_DOMAIN_NAME_TOO_LONG_ERROR
66568
U_IDNA_ERROR_LIMIT
66569
U_STRINGPREP_PROHIBITED_ERROR
66560
U_STRINGPREP_UNASSIGNED_ERROR
66561
U_STRINGPREP_CHECK_BIDI_ERROR
66562
IDNA_DEFAULT
0
IDNA_ALLOW_UNASSIGNED
1
IDNA_USE_STD3_RULES
2
IDNA_CHECK_BIDI
4
IDNA_CHECK_CONTEXTJ
8
IDNA_NONTRANSITIONAL_TO_ASCII
16
IDNA_NONTRANSITIONAL_TO_UNICODE
32
INTL_IDNA_VARIANT_2003
0
INTL_IDNA_VARIANT_UTS46
1
IDNA_ERROR_EMPTY_LABEL
1
IDNA_ERROR_LABEL_TOO_LONG
2
IDNA_ERROR_DOMAIN_NAME_TOO_LONG
4
IDNA_ERROR_LEADING_HYPHEN
8
IDNA_ERROR_TRAILING_HYPHEN
16
IDNA_ERROR_HYPHEN_3_4
32
IDNA_ERROR_LEADING_COMBINING_MARK
64
IDNA_ERROR_DISALLOWED
128
IDNA_ERROR_PUNYCODE
256
IDNA_ERROR_LABEL_HAS_DOT
512
IDNA_ERROR_INVALID_ACE_LABEL
1024
IDNA_ERROR_BIDI
2048
IDNA_ERROR_CONTEXTJ
4096
HTMLPURIFIER_PREFIX
D:\www_wellohi_new\simplewind\vendor\ezyang\htmlpurifier\library
QINIU_FUNCTIONS_VERSION
7.2.1
XML 地图