#0 [0]HttpException in Controller.php line 76

控制器不存在:app\index\controller\category\Php

  1. ->setAction($this->actionName);
  2. }
  3. public function exec()
  4. {
  5. try {
  6. // 实例化控制器
  7. $instance = $this->controller($this->controller);
  8. } catch (ClassNotFoundException $e) {
  9. throw new HttpException(404, 'controller not exists:' . $e->getClass());
  10. }
  11. // 注册控制器中间件
  12. $this->registerControllerMiddleware($instance);
  13. return $this->app->middleware->pipeline('controller')
  14. ->send($this->request)
  15. ->then(function () use ($instance) {
  16. // 获取当前操作名

Call Stack

  1. in Controller.php line 76
  2. at Controller->exec() in Dispatch.php line 89
  3. at Dispatch->run() in Route.php line 772
  4. at Route->think\{closure}(object(Request)) in Pipeline.php line 59
  5. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  6. at Pipeline->then(object(Closure)) in Route.php line 773
  7. at Route->dispatch(object(Request), object(Closure)) in Http.php line 216
  8. at Http->dispatchToRoute(object(Request)) in Http.php line 206
  9. at Http->think\{closure}(object(Request)) in Pipeline.php line 59
  10. at Pipeline->think\{closure}(object(Request)) in MultiApp.php line 71
  11. at MultiApp->think\app\{closure}(object(Request)) in Pipeline.php line 59
  12. at Pipeline->think\{closure}(object(Request)) in Auth.php line 22
  13. at Auth->handle(object(Request), object(Closure))
  14. at call_user_func([object(Auth), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  15. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  16. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  17. at Pipeline->then(object(Closure)) in MultiApp.php line 72
  18. at MultiApp->handle(object(Request), object(Closure))
  19. at call_user_func([object(MultiApp), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  20. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  21. at Pipeline->think\{closure}(object(Request)) in SessionInit.php line 67
  22. at SessionInit->handle(object(Request), object(Closure))
  23. at call_user_func([object(SessionInit), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  24. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  25. at Pipeline->think\{closure}(object(Request)) in TraceDebug.php line 71
  26. at TraceDebug->handle(object(Request), object(Closure))
  27. at call_user_func([object(TraceDebug), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  28. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  29. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  30. at Pipeline->then(object(Closure)) in Http.php line 207
  31. at Http->runWithRequest(object(Request)) in Http.php line 170
  32. at Http->run() in index.php line 20

Environment Variables

GET Data
cat_id 131
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER apache
HOME /usr/share/httpd
PATH_TRANSLATED redirect:/index.php/category.php
PATH_INFO /category.php
SCRIPT_NAME /index.php
REQUEST_URI /category.php?cat_id=131
QUERY_STRING cat_id=131
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REDIRECT_QUERY_STRING cat_id=131
REDIRECT_URL /category.php
REMOTE_PORT 59838
SCRIPT_FILENAME /var/www/html/e-get/public/index.php
SERVER_ADMIN root@localhost
CONTEXT_DOCUMENT_ROOT /var/www/html/e-get/public
CONTEXT_PREFIX
REQUEST_SCHEME https
DOCUMENT_ROOT /var/www/html/e-get/public
REMOTE_ADDR 172.70.222.20
SERVER_PORT 443
SERVER_ADDR 172.104.73.247
SERVER_NAME www.e-get.com.tw
SERVER_SOFTWARE Apache/2.4.37 (CentOS Stream) OpenSSL/1.1.1k
SERVER_SIGNATURE
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
HTTP_CF_IPCOUNTRY US
HTTP_CDN_LOOP cloudflare
HTTP_CF_CONNECTING_IP 3.230.128.106
HTTP_REFERER http://www.e-get.com.tw/category.php?cat_id=131
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
HTTP_CF_VISITOR {"scheme":"https"}
HTTP_X_FORWARDED_PROTO https
HTTP_CF_RAY 866aa9b8099a593d-NRT
HTTP_X_FORWARDED_FOR 3.230.128.106
HTTP_ACCEPT_ENCODING gzip, br
HTTP_CONNECTION Keep-Alive
HTTP_HOST www.e-get.com.tw
proxy-nokeepalive 1
SSL_TLS_SNI www.e-get.com.tw
HTTPS on
UNIQUE_ID ZfkSQWBnq4imwG6jGVZbMQAAANI
REDIRECT_STATUS 200
REDIRECT_SSL_TLS_SNI www.e-get.com.tw
REDIRECT_HTTPS on
REDIRECT_UNIQUE_ID ZfkSQWBnq4imwG6jGVZbMQAAANI
FCGI_ROLE RESPONDER
PHP_SELF /index.php/category.php
REQUEST_TIME_FLOAT 1710821953.8724
REQUEST_TIME 1710821953
0.003081s