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

控制器不存在:app\controller\Author

  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}() 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 216
  8. at Http->dispatchToRoute() in Http.php line 206
  9. at Http->think\{closure}() in Pipeline.php line 59
  10. at Pipeline->think\{closure}() in MultiApp.php line 65
  11. at MultiApp->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 SessionInit.php line 67
  15. at SessionInit->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 TraceDebug.php line 71
  19. at TraceDebug->handle()
  20. at call_user_func() in Middleware.php line 142
  21. at Middleware->think\{closure}() in Pipeline.php line 85
  22. at Pipeline->think\{closure}() in Pipeline.php line 66
  23. at Pipeline->then() in Http.php line 207
  24. at Http->runWithRequest() in Http.php line 170
  25. at Http->run() in index.php line 25

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
PHPSESSID 336a3d1094f0e9d72dd4478aa77daf47
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_COOKIE PHPSESSID=336a3d1094f0e9d72dd4478aa77daf47
HTTP_ACCEPT_ENCODING gzip
HTTP_ACCEPT */*
HTTP_HOST www.sdhwchem.com
HTTP_USER_AGENT Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0 (compatible; mozilla/5.0 (macintosh; intel mac os x 10_14_6) applewebkit/605.1.15 (khtml, like gecko) version/12.1.2 safari/605.1.15; +https://github.com/rom1504/img2dataset)
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME www.sdhwchem.com
SERVER_PORT 80
SERVER_ADDR 10.0.49.2
REMOTE_PORT 50822
REMOTE_ADDR 107.158.192.110
SERVER_SOFTWARE nginx/1.22.1
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/www.sdhwchem.com/public
DOCUMENT_URI /index.php
REQUEST_URI /author/admin/
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/author/admin/
SCRIPT_FILENAME /www/wwwroot/www.sdhwchem.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1700054039.0355
REQUEST_TIME 1700054039
0.047185s
Baidu
sogou