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

控制器不存在:app\index\controller\EProducts

  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 Pipeline.php line 66
  13. at Pipeline->then(object(Closure)) in MultiApp.php line 72
  14. at MultiApp->handle(object(Request), object(Closure))
  15. at call_user_func([object(MultiApp), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  16. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  17. at Pipeline->think\{closure}(object(Request)) in SessionInit.php line 67
  18. at SessionInit->handle(object(Request), object(Closure))
  19. at call_user_func([object(SessionInit), '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 TraceDebug.php line 71
  22. at TraceDebug->handle(object(Request), object(Closure))
  23. at call_user_func([object(TraceDebug), '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 Pipeline.php line 66
  26. at Pipeline->then(object(Closure)) in Http.php line 207
  27. at Http->runWithRequest(object(Request)) in Http.php line 170
  28. at Http->run() in index.php line 20

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
REDIRECT_UNIQUE_ID Zfj55G1GleAbiCuqob9RywAAAAQ
REDIRECT_PHPRC /home/host6185hho5sptr631t8/others
REDIRECT_HANDLER php-cgi
REDIRECT_STATUS 200
UNIQUE_ID Zfj55G1GleAbiCuqob9RywAAAAQ
PHPRC /home/host6185hho5sptr631t8/others
HTTP_X_FORWARDED_FOR 54.205.179.155
HTTP_X_REAL_IP 118.123.16.21
HTTP_HOST www.bbt3.com
HTTP_CONNECTION close
HTTP_FROM_HTTPS on
HTTP_SSL_FLAG SSL
HTTP_ACCEPT_ENCODING gzip
HTTP_X_FORWARDED_PROTO https
HTTP_ACCEPT */*
HTTP_USER_AGENT claudebot
HTTP_REFERER http://www.bbt3.com/e_products/Eco-friendly-Items-1.html
PATH /sbin:/usr/sbin:/bin:/usr/bin
SERVER_SIGNATURE <address>Apache Server at www.bbt3.com Port 80</address>
SERVER_SOFTWARE Apache
SERVER_NAME www.bbt3.com
SERVER_ADDR 127.0.0.1
SERVER_PORT 80
REMOTE_ADDR 54.205.179.155
DOCUMENT_ROOT /home/host6185hho5sptr631t8/wwwroot/public
REQUEST_SCHEME http
CONTEXT_PREFIX /php-run-as-cgi
CONTEXT_DOCUMENT_ROOT /usr/php7.3/bin
SERVER_ADMIN webmaster@host618
SCRIPT_FILENAME /home/host6185hho5sptr631t8/wwwroot/public/index.php
REMOTE_PORT 58524
REDIRECT_URL /index.php/e_products/Eco-friendly-Items-1.html
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.0
REQUEST_METHOD GET
QUERY_STRING
REQUEST_URI /index.php/e_products/Eco-friendly-Items-1.html
SCRIPT_NAME /index.php
PATH_INFO /e_products/Eco-friendly-Items-1.html
PATH_TRANSLATED /home/host6185hho5sptr631t8/wwwroot/public/e_products/Eco-friendly-Items-1.html
ORIG_PATH_INFO /index.php/e_products/Eco-friendly-Items-1.html
ORIG_SCRIPT_NAME /php-run-as-cgi/php-cgi
ORIG_SCRIPT_FILENAME /usr/php7.3/bin/php-cgi
ORIG_PATH_TRANSLATED /home/host6185hho5sptr631t8/wwwroot/public/index.php/e_products/Eco-friendly-Items-1.html
PHP_SELF /index.php/e_products/Eco-friendly-Items-1.html
REQUEST_TIME_FLOAT 1710815716.1461
REQUEST_TIME 1710815716
0.053824s