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

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

  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 90
  3. at Dispatch->run() in Route.php line 785
  4. at Route->think\{closure}() in Pipeline.php line 59
  5. at Pipeline->think\{closure}() in Library.php line 148
  6. at Library->think\admin\{closure}()
  7. at call_user_func() in Middleware.php line 142
  8. at Middleware->think\{closure}() in Pipeline.php line 85
  9. at Pipeline->think\{closure}() in Pipeline.php line 66
  10. at Pipeline->then() in Route.php line 786
  11. at Route->dispatch() in Http.php line 216
  12. at Http->dispatchToRoute() in Http.php line 206
  13. at Http->think\{closure}() in Pipeline.php line 59
  14. at Pipeline->think\{closure}() in Multiple.php line 73
  15. at Multiple->think\admin\multiple\{closure}() in Pipeline.php line 59
  16. at Pipeline->think\{closure}() in Pipeline.php line 66
  17. at Pipeline->then() in Multiple.php line 74
  18. at Multiple->handle()
  19. at call_user_func() in Middleware.php line 142
  20. at Middleware->think\{closure}() in Pipeline.php line 85
  21. at Pipeline->think\{closure}() in TraceDebug.php line 71
  22. at TraceDebug->handle()
  23. at call_user_func() in Middleware.php line 142
  24. at Middleware->think\{closure}() in Pipeline.php line 85
  25. at Pipeline->think\{closure}() in LoadLangPack.php line 57
  26. at LoadLangPack->handle()
  27. at call_user_func() in Middleware.php line 142
  28. at Middleware->think\{closure}() in Pipeline.php line 85
  29. at Pipeline->think\{closure}() in SessionInit.php line 67
  30. at SessionInit->handle()
  31. at call_user_func() in Middleware.php line 142
  32. at Middleware->think\{closure}() in Pipeline.php line 85
  33. at Pipeline->think\{closure}() in Pipeline.php line 66
  34. at Pipeline->then() in Http.php line 207
  35. at Http->runWithRequest() in Http.php line 170
  36. at Http->run() in SystemService.php line 501
  37. at SystemService::doInit() in index.php line 25

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
PATH_TRANSLATED redirect:/index.php/article/4984386463697970/4984386463697970
PATH_INFO /article/4984386463697970
SCRIPT_NAME /index.php
REQUEST_URI /article/4984386463697970
QUERY_STRING
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REDIRECT_URL /article/4984386463697970
REMOTE_PORT 48770
SCRIPT_FILENAME /www/wwwroot/mubin_cn/public/index.php
SERVER_ADMIN webmaster@example.com
CONTEXT_DOCUMENT_ROOT /www/wwwroot/mubin_cn/public
CONTEXT_PREFIX
REQUEST_SCHEME http
DOCUMENT_ROOT /www/wwwroot/mubin_cn/public
REMOTE_ADDR 3.81.30.41
SERVER_PORT 80
SERVER_ADDR 172.18.59.146
SERVER_NAME mubin.cn
SERVER_SOFTWARE Apache
SERVER_SIGNATURE <address>Apache Server at mubin.cn Port 80</address>
LD_LIBRARY_PATH /www/server/apache/lib
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
HTTP_HOST mubin.cn
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
proxy-nokeepalive 1
REDIRECT_STATUS 200
FCGI_ROLE RESPONDER
PHP_SELF /index.php/article/4984386463697970
REQUEST_TIME_FLOAT 1711650705.1921
REQUEST_TIME 1711650705
0.081666s