[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 ArticleController.php line 40
  3. at ArticleController->index()
  4. at ReflectionMethod->invokeArgs(object(ArticleController), []) in Container.php line 395
  5. at Container->invokeReflectMethod(object(ArticleController), object(ReflectionMethod), ['cid' => '2', 'id' => '24', '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 484
  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 487
  18. at App->run() in index.php line 41

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
PHPSESSID e7n6faglu6k8f6dr3ceo2e6mv1
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_COOKIE PHPSESSID=e7n6faglu6k8f6dr3ceo2e6mv1
HTTP_ACCEPT_ENCODING gzip
HTTP_ACCEPT */*
HTTP_HOST www.hmnzy.com
HTTP_USER_AGENT Mozilla/5.0 (compatible; AhrefsBot/7.0; +http://ahrefs.com/robot/)
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME hmnzy.com
SERVER_PORT 80
SERVER_ADDR 172.30.42.215
REMOTE_PORT 45780
REMOTE_ADDR 170.130.200.86
SERVER_SOFTWARE nginx/1.18.0
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/hmnzy.cn/public
DOCUMENT_URI /index.php
REQUEST_URI /product/24/
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/product/24/
SCRIPT_FILENAME /www/wwwroot/hmnzy.cn/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1674778942.3052
REQUEST_TIME 1674778942
Environment Variablesempty
ThinkPHP Constants
HTTP_TYPE http://
HTTP_HOST www.hmnzy.com
APP_DEBUG true
CMF_ROOT /www/wwwroot/hmnzy.cn/
CMF_DATA /www/wwwroot/hmnzy.cn/data/
APP_PATH /www/wwwroot/hmnzy.cn/app/
WEB_ROOT /www/wwwroot/hmnzy.cn/public/
HTMLPURIFIER_PREFIX /www/wwwroot/hmnzy.cn/vendor/ezyang/htmlpurifier/library
0.054088s