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

控制器不存在:app\forum-2-1\controller\IndexController

  1. foreach ($services as $service) {
  2. $this->app->register($service);
  3. }
  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 110
  2. at Controller->exec() in Dispatch.php line 90
  3. at Dispatch->run() in Route.php line 772
  4. at Route->think\{closure}() in Pipeline.php line 59
  5. at Pipeline->think\{closure}() in Pipeline.php line 66
  6. at Pipeline->then() in Route.php line 773
  7. at Route->dispatch() in Http.php line 217
  8. at Http->dispatchToRoute() in Http.php line 207
  9. at Http->think\{closure}() in Pipeline.php line 59
  10. at Pipeline->think\{closure}() in SessionInit.php line 67
  11. at SessionInit->handle()
  12. at call_user_func() in Middleware.php line 142
  13. at Middleware->think\{closure}() in Pipeline.php line 85
  14. at Pipeline->think\{closure}() in TraceDebug.php line 71
  15. at TraceDebug->handle()
  16. at call_user_func() in Middleware.php line 142
  17. at Middleware->think\{closure}() in Pipeline.php line 85
  18. at Pipeline->think\{closure}() in Pipeline.php line 66
  19. at Pipeline->then() in Http.php line 208
  20. at Http->runWithRequest() in Http.php line 171
  21. at Http->run() in index.php line 32

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
SCRIPT_NAME /index.php
REQUEST_URI /forum-2-1.html
QUERY_STRING s=forum-2-1.html
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REDIRECT_QUERY_STRING s=forum-2-1.html
REDIRECT_URL /forum-2-1.html
REMOTE_PORT 36092
SCRIPT_FILENAME /www/wwwroot/gejiang.net/public/index.php
SERVER_ADMIN webmaster@example.com
CONTEXT_DOCUMENT_ROOT /www/wwwroot/gejiang.net/public
CONTEXT_PREFIX
REQUEST_SCHEME http
DOCUMENT_ROOT /www/wwwroot/gejiang.net/public
REMOTE_ADDR 44.197.251.102
SERVER_PORT 80
SERVER_ADDR 172.27.173.240
SERVER_NAME www.gejiang.net
SERVER_SOFTWARE Apache
SERVER_SIGNATURE <address>Apache Server at www.gejiang.net Port 80</address>
LD_LIBRARY_PATH /www/server/apache/lib
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
HTTP_HOST www.gejiang.net
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
proxy-nokeepalive 1
REDIRECT_STATUS 200
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1710826621.175
REQUEST_TIME 1710826621
0.031993s