[0] HttpException in helper.php line 526

程序未授权使用

  1. * @param integer|Response $code 状态码 或者 Response对象实例
  2. * @param string $message 错误信息
  3. * @param array $header 参数
  4. */
  5. function abort($code, $message = null, $header = [])
  6. {
  7. if ($code instanceof Response) {
  8. throw new HttpResponseException($code);
  9. } else {
  10. throw new HttpException($code, $message, null, $header);
  11. }
  12. }
  13. }
  14. if (!function_exists('halt')) {
  15. /**
  16. * 调试变量并且中断输出
  17. * @param mixed $var 调试变量或者信息
  18. */

Call Stack

  1. in helper.php line 526
  2. at abort(200, '...') in common.php line 20
  3. at unknown()
  4. at sg_load('7F26B84B20C8D0EEAAQA...') in common.php line 2
  5. at include('/www/wwwroot/www.wan...') in App.php line 280
  6. at App::init('user/') in App.php line 526
  7. at App::module(['user', 'login', 'index'], ['app_host' => '', 'app_debug' => '1', 'app_trace' => '0', ...], null) in App.php line 456
  8. at App::exec(['type' => 'module', 'module' => ['user', 'login', 'index']], ['app_host' => '', 'app_debug' => '1', 'app_trace' => '0', ...]) in App.php line 139
  9. at App::run() in start.php line 19
  10. at require('/www/wwwroot/www.wan...') in index.php line 34

Environment Variables

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

Server/Request Data

USER
www
HOME
/home/www
HTTP_CONNECTION
Keep-Alive
HTTP_HOST
www.wangmishi.cc
HTTP_ACCEPT_ENCODING
br,gzip
HTTP_IF_MODIFIED_SINCE
Thu, 13 Jun 2024 16:44:28 GMT
HTTP_ACCEPT_LANGUAGE
en-US,en;q=0.5
HTTP_ACCEPT
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_USER_AGENT
CCBot/2.0 (https://commoncrawl.org/faq/)
PATH_INFO
/user/login/index
REDIRECT_STATUS
200
SERVER_NAME
www.wangmishi.cc
SERVER_PORT
80
SERVER_ADDR
137.175.3.242
REMOTE_PORT
54078
REMOTE_ADDR
35.170.81.33
SERVER_SOFTWARE
nginx/1.24.0
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/www.wangmishi.cc/public
DOCUMENT_URI
/index.php
REQUEST_URI
/user/login.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/user/login/index
SCRIPT_FILENAME
/www/wwwroot/www.wangmishi.cc/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1728051918.261
REQUEST_TIME
1728051918
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/www.wangmishi.cc/public/../lib/
BASE_PATH
/www/wwwroot/www.wangmishi.cc/public/
URL_PATH
/
PATH_FILE
index.php
TPL_PATH
/
ENTRANCE
index
THINK_VERSION
5.0.24
THINK_START_TIME
1728051918.2613
THINK_START_MEM
401128
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/www.wangmishi.cc/thinkphp/
LIB_PATH
/www/wwwroot/www.wangmishi.cc/thinkphp/library/
CORE_PATH
/www/wwwroot/www.wangmishi.cc/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/www.wangmishi.cc/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/www.wangmishi.cc/
EXTEND_PATH
/www/wwwroot/www.wangmishi.cc/public/../lib/extend/
VENDOR_PATH
/www/wwwroot/www.wangmishi.cc/thinkphp/vendor/
RUNTIME_PATH
/www/wwwroot/www.wangmishi.cc/runtime/
LOG_PATH
/www/wwwroot/www.wangmishi.cc/runtime/log/
CACHE_PATH
/www/wwwroot/www.wangmishi.cc/runtime/cache/
TEMP_PATH
/www/wwwroot/www.wangmishi.cc/runtime/temp/
CONF_PATH
/www/wwwroot/www.wangmishi.cc/public/../lib/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
ADDON_PATH
/www/wwwroot/www.wangmishi.cc/addons/