1. [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 Error.php line 18
    3. at Error->index()
    4. at ReflectionMethod->invokeArgs(object(Error), []) in App.php line 343
    5. at App::invokeMethod([object(Error), 'index'], []) in App.php line 611
    6. at App::module(['index', 'Error', 'index'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 457
    7. at App::exec(['type' => 'module', 'module' => ['index', 'Error', 'index'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
    8. at App::run() in start.php line 19
    9. at require('/www/wwwroot/xfcxdr.com...') in index.php line 18

    Environment Variables

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

    Server/Request Data

    USER
    www
    HOME
    /home/www
    FCGI_ROLE
    RESPONDER
    SCRIPT_FILENAME
    /www/wwwroot/xfcxdr.com/index.php
    QUERY_STRING
    s=/news/company-news-17.html
    REQUEST_METHOD
    GET
    CONTENT_TYPE
    application/x-www-form-urlencoded; charset=utf-8
    CONTENT_LENGTH
    SCRIPT_NAME
    /index.php
    REQUEST_URI
    /news/company-news-17.html
    DOCUMENT_URI
    /index.php
    DOCUMENT_ROOT
    /www/wwwroot/xfcxdr.com
    SERVER_PROTOCOL
    HTTP/1.1
    REQUEST_SCHEME
    http
    GATEWAY_INTERFACE
    CGI/1.1
    SERVER_SOFTWARE
    nginx/1.22.1
    REMOTE_ADDR
    192.161.56.224
    REMOTE_PORT
    55684
    SERVER_ADDR
    10.0.4.10
    SERVER_PORT
    80
    SERVER_NAME
    xfcxdr.com
    REDIRECT_STATUS
    200
    PATH_INFO
    /news/company-news-17.html
    HTTP_HOST
    xfcxdr.com
    HTTP_REFERER
    https://www.baidu.com/search/spider.htm
    HTTP_X_APPLE_TZ
    0
    HTTP_X_APPLE_STORE_FRONT
    143444,12
    HTTP_ACCEPT
    text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    HTTP_ACCEPT_ENCODING
    gzip, deflate
    HTTP_ACCEPT_LANGUAGE
    en-US,en;q=0.5
    HTTP_CACHE_CONTROL
    no-cache
    HTTP_CONTENT_TYPE
    application/x-www-form-urlencoded; charset=utf-8
    HTTP_USER_AGENT
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0)
    HTTP_X_MICROSOFTAJAX
    Delta=true
    PHP_SELF
    /index.php
    REQUEST_TIME_FLOAT
    1726997459.4819
    REQUEST_TIME
    1726997459
    Environment Variables
    empty

    ThinkPHP Constants

    APP_PATH
    /www/wwwroot/xfcxdr.com/application/
    THINK_VERSION
    5.0.24
    THINK_START_TIME
    1726997459.4824
    THINK_START_MEM
    271824
    EXT
    .php
    DS
    /
    THINK_PATH
    /www/wwwroot/xfcxdr.com/thinkphp/
    LIB_PATH
    /www/wwwroot/xfcxdr.com/thinkphp/library/
    CORE_PATH
    /www/wwwroot/xfcxdr.com/thinkphp/library/think/
    TRAIT_PATH
    /www/wwwroot/xfcxdr.com/thinkphp/library/traits/
    ROOT_PATH
    /www/wwwroot/xfcxdr.com/
    EXTEND_PATH
    /www/wwwroot/xfcxdr.com/extend/
    VENDOR_PATH
    /www/wwwroot/xfcxdr.com/vendor/
    RUNTIME_PATH
    /www/wwwroot/xfcxdr.com/runtime/
    LOG_PATH
    /www/wwwroot/xfcxdr.com/runtime/log/
    CACHE_PATH
    /www/wwwroot/xfcxdr.com/runtime/cache/
    TEMP_PATH
    /www/wwwroot/xfcxdr.com/runtime/temp/
    CONF_PATH
    /www/wwwroot/xfcxdr.com/application/
    CONF_EXT
    .php
    ENV_PREFIX
    PHP_
    HELPER_PATH
    /www/wwwroot/xfcxdr.com/application/common/helper/
    INCLUDE_PATH
    /www/wwwroot/xfcxdr.com/application/common/include/
    IS_CLI
    false
    IS_WIN
    false
    PHP_INT_MIN
    -9223372036854775808
    __ROOT__
    PUBLIC_PATH
    /public
    DOMAIN_NAME
    https://xfcxdr.com
    __DOMAIN__
    MODULE_NAME
    index
    CONTROLLER_NAME
    Error
    ACTION_NAME
    index
    TPL_PATH
    /www/wwwroot/xfcxdr.com/application/index/template/
    网站地图