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

控制器不存在:app\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 89
  3. at Dispatch->run() in Route.php line 760
  4. at Route->think\{closure}(object(Request)) in Pipeline.php line 59
  5. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 65
  6. at Pipeline->then(object(Closure)) in Route.php line 761
  7. at Route->dispatch(object(Request), object(Closure)) in Http.php line 210
  8. at Http->dispatchToRoute(object(Request)) in Http.php line 200
  9. at Http->think\{closure}(object(Request)) in Pipeline.php line 59
  10. at Pipeline->think\{closure}(object(Request)) in MultiApp.php line 65
  11. at MultiApp->handle(object(Request), object(Closure))
  12. at call_user_func([object(MultiApp), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  13. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 84
  14. at Pipeline->think\{closure}(object(Request)) in SessionInit.php line 67
  15. at SessionInit->handle(object(Request), object(Closure))
  16. at call_user_func([object(SessionInit), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  17. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 84
  18. at Pipeline->think\{closure}(object(Request)) in TraceDebug.php line 71
  19. at TraceDebug->handle(object(Request), object(Closure))
  20. at call_user_func([object(TraceDebug), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  21. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 84
  22. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 65
  23. at Pipeline->then(object(Closure)) in Http.php line 201
  24. at Http->runWithRequest(object(Request)) in Http.php line 162
  25. at Http->run() in index.php line 25

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
REDIRECT_REDIRECT_REDIRECT_UNIQUE_ID ZgUtUXVOW7YhZZKM3fJRwwAAADA
REDIRECT_REDIRECT_REDIRECT_PHPRC /home/jiuyeqingrj2iqu9yue2q7i3nsg/others
REDIRECT_REDIRECT_REDIRECT_STATUS 200
REDIRECT_REDIRECT_UNIQUE_ID ZgUtUXVOW7YhZZKM3fJRwwAAADA
REDIRECT_REDIRECT_PATH_INFO article/11/cid/2.html
REDIRECT_REDIRECT_PHPRC /home/jiuyeqingrj2iqu9yue2q7i3nsg/others
REDIRECT_REDIRECT_STATUS 200
REDIRECT_UNIQUE_ID ZgUtUXVOW7YhZZKM3fJRwwAAADA
REDIRECT_PHPRC /home/jiuyeqingrj2iqu9yue2q7i3nsg/others
REDIRECT_HANDLER php-cgi
REDIRECT_STATUS 200
UNIQUE_ID ZgUtUXVOW7YhZZKM3fJRwwAAADA
PHPRC /home/jiuyeqingrj2iqu9yue2q7i3nsg/others
HTTP_X_FORWARDED_FOR 44.200.39.110
HTTP_X_REAL_IP 44.200.39.110
HTTP_HOST jiuyeqing.cn
HTTP_CONNECTION close
HTTP_ACCEPT */*
HTTP_USER_AGENT claudebot
PATH /sbin:/usr/sbin:/bin:/usr/bin
SERVER_SIGNATURE <address>Apache Server at jiuyeqing.cn Port 80</address>
SERVER_SOFTWARE Apache
SERVER_NAME jiuyeqing.cn
SERVER_ADDR 127.0.0.1
SERVER_PORT 80
REMOTE_ADDR 44.200.39.110
DOCUMENT_ROOT /home/jiuyeqingrj2iqu9yue2q7i3nsg/wwwroot
REQUEST_SCHEME http
CONTEXT_PREFIX /php-run-as-cgi
CONTEXT_DOCUMENT_ROOT /usr/php7.1/bin
SERVER_ADMIN webmaster@jiuyeqing
SCRIPT_FILENAME /home/jiuyeqingrj2iqu9yue2q7i3nsg/wwwroot/public/index.php
REMOTE_PORT 39882
REDIRECT_URL /public/index.php/article/11/cid/2.html
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.0
REQUEST_METHOD GET
QUERY_STRING
REQUEST_URI /article/11/cid/2.html
SCRIPT_NAME /public/index.php
PATH_INFO /article/11/cid/2.html
PATH_TRANSLATED /home/jiuyeqingrj2iqu9yue2q7i3nsg/wwwroot/article/11/cid/2.html
ORIG_PATH_INFO /public/index.php/article/11/cid/2.html
ORIG_SCRIPT_NAME /php-run-as-cgi/php-cgi
ORIG_SCRIPT_FILENAME /usr/php7.1/bin/php-cgi
ORIG_PATH_TRANSLATED /home/jiuyeqingrj2iqu9yue2q7i3nsg/wwwroot/public/index.php/article/11/cid/2.html
PHP_SELF /public/index.php/article/11/cid/2.html
REQUEST_TIME_FLOAT 1711615313.8072
REQUEST_TIME 1711615313
0.049958s