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

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

  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 MultiApp.php line 65
  11. at MultiApp->handle(object(Request), object(Closure))
  12. at call_user_func([object(MultiApp), 'handle'], object(Request), object(Closure)) 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 SessionInit.php line 67
  15. at SessionInit->handle(object(Request), object(Closure))
  16. at call_user_func([object(SessionInit), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  17. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 84
  18. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 65
  19. at Pipeline->then(object(Closure)) in Http.php line 204
  20. at Http->runWithRequest(object(Request)) in Http.php line 162
  21. at Http->run() in index.php line 25

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER
www
HOME
/home/www
HTTP_ACCEPT_ENCODING
deflate, gzip
HTTP_ACCEPT
*/*
HTTP_HOST
www.anhuiliyang.com
HTTP_USER_AGENT
Mozilla/5.0+(compatible;+Baiduspider/2.0;++http://www.baidu.com/search/spider.html)
PATH_INFO
REDIRECT_STATUS
200
SERVER_NAME
www.anhuiliyang.com
SERVER_PORT
80
SERVER_ADDR
172.17.47.221
REMOTE_PORT
20000
REMOTE_ADDR
154.212.203.32
SERVER_SOFTWARE
nginx/1.16.1
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/www.anhuiliyang.com/public
DOCUMENT_URI
/index.php
REQUEST_URI
/hmcdw/ptdrshnm/19.gslk
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/hmcdw/ptdrshnm/19.gslk
SCRIPT_FILENAME
/www/wwwroot/www.anhuiliyang.com/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1615039420.2359
REQUEST_TIME
1615039420
Environment Variables
APP_DEBUG
1
APP_DEFAULT_TIMEZONE
Asia/Shanghai
DATABASE_TYPE
mysql
DATABASE_HOSTNAME
127.0.0.1
DATABASE_DATABASE
www_anhuiliyang
DATABASE_USERNAME
www_anhuiliyang
DATABASE_PASSWORD
FyPyZP6684aRdjs7
DATABASE_HOSTPORT
3306
DATABASE_CHARSET
utf8mb4
DATABASE_DEBUG
1
DATABASE_PREFIX
tp_
LANG_DEFAULT_LANG
zh-cn
ThinkPHP Constantsempty