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

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

  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 96
  3. at Dispatch->run() in Route.php line 747
  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 748
  7. at Route->dispatch(object(Request), object(Closure)) in Http.php line 213
  8. at Http->dispatchToRoute(object(Request)) in Http.php line 203
  9. at Http->think\{closure}(object(Request)) in Pipeline.php line 59
  10. at Pipeline->think\{closure}(object(Request)) in SessionInit.php line 67
  11. at SessionInit->handle(object(Request), object(Closure), null)
  12. at call_user_func([object(SessionInit), 'handle'], object(Request), object(Closure), null) 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 MultiApp.php line 65
  15. at MultiApp->think\app\{closure}(object(Request)) in Pipeline.php line 59
  16. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 65
  17. at Pipeline->then(object(Closure)) in MultiApp.php line 66
  18. at MultiApp->handle(object(Request), object(Closure), null)
  19. at call_user_func([object(MultiApp), 'handle'], object(Request), object(Closure), null) in Middleware.php line 142
  20. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 84
  21. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 65
  22. at Pipeline->then(object(Closure)) in Http.php line 204
  23. at Http->runWithRequest(object(Request)) in Http.php line 162
  24. at Http->run() in index.php line 20

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER
www
HOME
/home/www
SCRIPT_NAME
/index.php
REQUEST_URI
/q/34.iunm
QUERY_STRING
s=/q/34.iunm
REQUEST_METHOD
GET
SERVER_PROTOCOL
HTTP/1.1
GATEWAY_INTERFACE
CGI/1.1
REDIRECT_QUERY_STRING
s=/q/34.iunm
REDIRECT_URL
/q/34.iunm
REMOTE_PORT
20000
SCRIPT_FILENAME
/www/wwwroot/kwjiancai.c/public/index.php
SERVER_ADMIN
webmaster@example.com
CONTEXT_DOCUMENT_ROOT
/www/wwwroot/kwjiancai.c/public
CONTEXT_PREFIX
REQUEST_SCHEME
http
DOCUMENT_ROOT
/www/wwwroot/kwjiancai.c/public
REMOTE_ADDR
154.81.79.66
SERVER_PORT
80
SERVER_ADDR
172.18.10.68
SERVER_NAME
www.kwjiancai.com
SERVER_SOFTWARE
Apache
SERVER_SIGNATURE
<address>Apache Server at www.kwjiancai.com Port 80</address>
LD_LIBRARY_PATH
/www/server/apache/lib
PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
HTTP_ACCEPT_ENCODING
deflate, gzip
HTTP_ACCEPT
*/*
HTTP_HOST
www.kwjiancai.com
HTTP_USER_AGENT
Mozilla/5.0+(compatible;+Baiduspider/2.0;++http://www.baidu.com/search/spider.html)
proxy-nokeepalive
1
REDIRECT_STATUS
200
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1632109831.3337
REQUEST_TIME
1632109831
Environment Variables
APP_DEBUG
1
ThinkPHP Constants
PHP_OS_FAMILY
Linux
MAJOR_VERSION
1
MINOR_VERSION
1
REVISION_VERSION
0