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

控制器不存在:app\home\controller\List

  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 Pipeline.php line 66
  13. at Pipeline->then(object(Closure)) in MultiApp.php line 72
  14. at MultiApp->handle(object(Request), object(Closure))
  15. at call_user_func([object(MultiApp), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  16. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  17. at Pipeline->think\{closure}(object(Request)) in SessionInit.php line 67
  18. at SessionInit->handle(object(Request), object(Closure))
  19. at call_user_func([object(SessionInit), '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 TraceDebug.php line 71
  22. at TraceDebug->handle(object(Request), object(Closure))
  23. at call_user_func([object(TraceDebug), '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 20

Environment Variables

GET Data
/home/list/index_html
cid 2
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
SCRIPT_NAME /index.php
REQUEST_URI /home/list/index.html?cid=2
QUERY_STRING /home/list/index.html&cid=2
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REDIRECT_QUERY_STRING /home/list/index.html&cid=2
REDIRECT_URL /home/list/index.html
REMOTE_PORT 36082
SCRIPT_FILENAME /www/wwwroot/www.fame3.com/public/index.php
SERVER_ADMIN webmaster@example.com
CONTEXT_DOCUMENT_ROOT /www/wwwroot/www.fame3.com/public
CONTEXT_PREFIX
REQUEST_SCHEME http
DOCUMENT_ROOT /www/wwwroot/www.fame3.com/public
REMOTE_ADDR 209.58.134.15
SERVER_PORT 80
SERVER_ADDR 172.26.21.148
SERVER_NAME www.fame3.com
SERVER_SOFTWARE Apache
SERVER_SIGNATURE <address>Apache Server at www.fame3.com Port 80</address>
LD_LIBRARY_PATH /www/server/apache/lib:/www/server/apache/lib
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
HTTP_X_MICROSOFTAJAX Delta=true
HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
CONTENT_TYPE application/x-www-form-urlencoded; charset=utf-8
HTTP_CACHE_CONTROL no-cache
HTTP_ACCEPT_LANGUAGE en-US,en;q=0.5
HTTP_ACCEPT_ENCODING gzip, deflate
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_X_APPLE_STORE_FRONT 143444,12
HTTP_X_APPLE_TZ 0
HTTP_REFERER http://www.baidu.com/search/spider.htm
HTTP_HOST www.fame3.com
proxy-nokeepalive 1
REDIRECT_STATUS 200
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1697558472.1614
REQUEST_TIME 1697558472
0.022563s