[0] HttpException in helper.php line 47

  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('action')) {
  15. /**
  16. * 调用模块的操作方法 参数格式 [模块/控制器/]操作
  17. * @param string $url 调用地址
  18. * @param string|array $vars 调用参数 支持字符串和数组

Call Stack

  1. in helper.php line 47
  2. at abort(404, '') in Product.php line 99
  3. at Product->details('5')
  4. at ReflectionMethod->invokeArgs(object(Product), ['5']) in Container.php line 395
  5. at Container->invokeReflectMethod(object(Product), object(ReflectionMethod), ['id' => '5', 'convert' => false]) in Module.php line 131
  6. at Module->think\route\dispatch\{closure}(object(Request), object(Closure), null)
  7. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  8. at Middleware->think\{closure}(object(Request))
  9. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  10. at Middleware->dispatch(object(Request), 'controller') in Module.php line 136
  11. at Module->exec() in Dispatch.php line 168
  12. at Dispatch->run() in App.php line 432
  13. at App->think\{closure}(object(Request), object(Closure), null)
  14. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  15. at Middleware->think\{closure}(object(Request))
  16. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  17. at Middleware->dispatch(object(Request)) in App.php line 435
  18. at App->run() in index.php line 21

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
SCRIPT_NAME /index.php
REQUEST_URI /product/5.html
QUERY_STRING
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/2.0
GATEWAY_INTERFACE CGI/1.1
REDIRECT_URL /product/5.html
REMOTE_PORT 38614
SCRIPT_FILENAME /www/wwwroot/www.tuodeli.com/index.php
SERVER_ADMIN webmaster@example.com
CONTEXT_DOCUMENT_ROOT /www/wwwroot/www.tuodeli.com/
CONTEXT_PREFIX
REQUEST_SCHEME https
DOCUMENT_ROOT /www/wwwroot/www.tuodeli.com/
REMOTE_ADDR 34.229.223.223
SERVER_PORT 443
SERVER_ADDR 172.20.66.89
SERVER_NAME www.tuodeli.com
SERVER_SOFTWARE Apache
SERVER_SIGNATURE <address>Apache Server at www.tuodeli.com Port 443</address>
LD_LIBRARY_PATH /www/server/apache/lib:/www/server/apache/lib
PATH /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/root/bin
HTTP_HOST www.tuodeli.com
HTTP_REFERER http://www.tuodeli.com/product/5.html
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
proxy-nokeepalive 1
H2_STREAM_TAG 336-3
H2_STREAM_ID 3
H2_PUSHED_ON
H2_PUSHED
H2_PUSH off
H2PUSH off
HTTP2 on
SSL_TLS_SNI www.tuodeli.com
HTTPS on
REDIRECT_STATUS 200
REDIRECT_H2_STREAM_TAG 336-3
REDIRECT_H2_STREAM_ID 3
REDIRECT_H2_PUSHED_ON
REDIRECT_H2_PUSHED
REDIRECT_H2_PUSH off
REDIRECT_H2PUSH off
REDIRECT_HTTP2 on
REDIRECT_SSL_TLS_SNI www.tuodeli.com
REDIRECT_HTTPS on
REDIRECT_PATH_INFO product/5.html
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1710848215.6023
REQUEST_TIME 1710848215
Environment Variablesempty
ThinkPHP Constantsempty