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

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

  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}(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 786
  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 LoadLangPack.php line 99
  13. at LoadLangPack->handle(object(Request), object(Closure))
  14. at call_user_func([object(LoadLangPack), '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 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 21

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
PATH C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\WindowsPowerShell\v1.0\
SYSTEMROOT C:\Windows
COMSPEC C:\Windows\system32\cmd.exe
PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
WINDIR C:\Windows
PHPRC D:/phpstudy_pro/Extensions/php/php7.3.4nts
_FCGI_SHUTDOWN_EVENT_ 11760
HTTP_CONNECTION close
SCRIPT_NAME /index.php
REQUEST_URI /cms/view/40.html
QUERY_STRING s=/cms/view/40.html
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REDIRECT_QUERY_STRING s=/cms/view/40.html
REDIRECT_URL /cms/view/40.html
REMOTE_PORT 60166
SCRIPT_FILENAME D:/phpstudy_pro/WWW/cblembcn/public/index.php
SERVER_ADMIN admin@example.com
CONTEXT_DOCUMENT_ROOT D:/phpstudy_pro/WWW/cblembcn/public
CONTEXT_PREFIX
REQUEST_SCHEME http
DOCUMENT_ROOT D:/phpstudy_pro/WWW/cblembcn/public
REMOTE_ADDR 3.235.68.180
SERVER_PORT 80
SERVER_ADDR 172.18.27.74
SERVER_NAME www.cblemb.cn
SERVER_SOFTWARE Apache/2.4.39 (Win64) OpenSSL/1.1.1b mod_fcgid/2.3.9a mod_log_rotate/1.02
SERVER_SIGNATURE
SystemRoot C:\Windows
HTTP_HOST www.cblemb.cn
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
REDIRECT_STATUS 200
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711616745.3086
REQUEST_TIME 1711616745