[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('/home/www/wwwroot/ww...') in App.php line 280
  6. at App::init('user/') in App.php line 526
  7. at App::module(['user', 'reg', 'agreement'], ['app_host' => '', 'app_debug' => '1', 'app_trace' => '0', ...], null) in App.php line 456
  8. at App::exec(['type' => 'module', 'module' => ['user', 'reg', 'agreement']], ['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('/home/www/wwwroot/ww...') in index.php line 45

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
74te.com
HTTP_ACCEPT_ENCODING
br,gzip
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/reg/agreement
REDIRECT_STATUS
200
SERVER_NAME
www.74te.com
SERVER_PORT
80
SERVER_ADDR
180.215.152.165
REMOTE_PORT
33356
REMOTE_ADDR
34.204.185.54
SERVER_SOFTWARE
nginx/1.18.0
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/home/www/wwwroot/www.74te.com
DOCUMENT_URI
/index.php
REQUEST_URI
/user/agreement.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/user/reg/agreement
SCRIPT_FILENAME
/home/www/wwwroot/www.74te.com/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1618094676.7571
REQUEST_TIME
1618094676
Environment Variables
empty

ThinkPHP Constants

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