[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('404') in ArticleController.php line 71
  3. at ArticleController->detail(object(Request))
  4. at ReflectionMethod->invokeArgs(object(ArticleController), [object(Request)]) in App.php line 196
  5. at App::invokeMethod([object(ArticleController), 'detail'], []) in App.php line 408
  6. at App::module(['index', 'article', 'detail'], ['app_debug' => true, 'app_trace' => false, 'app_status' => '', ...], false) in App.php line 295
  7. at App::exec(['type' => 'module', 'module' => ['index', 'article', 'detail'], 'convert' => false], ['app_debug' => true, 'app_trace' => false, 'app_status' => '', ...]) in App.php line 123
  8. at App::run() in start.php line 18
  9. at require('/www/wwwroot/hanjunx...') in index.php line 17

Environment Variables

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

Server/Request Data

USER
www
HOME
/home/www
HTTP_HOST
hanjunxiandai.com
HTTP_USER_AGENT
claudebot
HTTP_ACCEPT
*/*
PATH_INFO
/article/158.html
REDIRECT_STATUS
200
SERVER_NAME
hanjunxiandai.com
SERVER_PORT
80
SERVER_ADDR
172.22.27.134
REMOTE_PORT
43230
REMOTE_ADDR
44.200.210.43
SERVER_SOFTWARE
nginx/1.21.0
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/hanjunxiandai.com/public
DOCUMENT_URI
/index.php
REQUEST_URI
/article/158.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/article/158.html
SCRIPT_FILENAME
/www/wwwroot/hanjunxiandai.com/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1711677623.8635
REQUEST_TIME
1711677623
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/hanjunxiandai.com/public/../application/
WEB_ROOT
/www/wwwroot/hanjunxiandai.com/public/
THINK_VERSION
5.0.8
THINK_START_TIME
1711677623.8644
THINK_START_MEM
414536
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/hanjunxiandai.com/thinkphp/
LIB_PATH
/www/wwwroot/hanjunxiandai.com/thinkphp/library/
CORE_PATH
/www/wwwroot/hanjunxiandai.com/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/hanjunxiandai.com/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/hanjunxiandai.com/
EXTEND_PATH
/www/wwwroot/hanjunxiandai.com/extend/
VENDOR_PATH
/www/wwwroot/hanjunxiandai.com/vendor/
RUNTIME_PATH
/www/wwwroot/hanjunxiandai.com/runtime/
LOG_PATH
/www/wwwroot/hanjunxiandai.com/runtime/log/
CACHE_PATH
/www/wwwroot/hanjunxiandai.com/runtime/cache/
TEMP_PATH
/www/wwwroot/hanjunxiandai.com/runtime/temp/
CONF_PATH
/www/wwwroot/hanjunxiandai.com/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false