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

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

  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 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 85
  14. at Pipeline->think\{closure}(object(Request)) in BaseMiddleware.php line 23
  15. at BaseMiddleware->handle(object(Request), object(Closure))
  16. at call_user_func([object(BaseMiddleware), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  17. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  18. at Pipeline->think\{closure}(object(Request)) in LikeshopAllowMiddleware.php line 36
  19. at LikeshopAllowMiddleware->handle(object(Request), object(Closure))
  20. at call_user_func([object(LikeshopAllowMiddleware), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  21. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  22. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  23. at Pipeline->then(object(Closure)) in Http.php line 207
  24. at Http->runWithRequest(object(Request)) in Http.php line 170
  25. at Http->run() in index.php line 27

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
HOSTNAME c030027459ba
PHP_VERSION 8.0.11
PHP_INI_DIR /usr/local/etc/php
GPG_KEYS 1729F83938DA44E27BA0F4D3DBDB397470D12172 BFDDD28642824F8118EF77909B67A5C12229118F
DEVEL_KIT_MODULE_VERSION 0.3.1
PHP_LDFLAGS -Wl,-O1 -pie
LUAJIT_LIB /usr/lib
fpm_conf /usr/local/etc/php-fpm.d/www.conf
PWD /var/www/html
LUA_MODULE_VERSION 0.10.14
LD_PRELOAD /usr/lib/preloadable_libiconv.so php
HOME /var/cache/nginx
LUAJIT_INC /usr/include/luajit-2.1
php_vars /usr/local/etc/php/conf.d/docker-vars.ini
PHP_SHA256 e3e5f764ae57b31eb65244a45512f0b22d7bef05f2052b23989c053901552e16
PHPIZE_DEPS autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c
TERM xterm
PHP_URL https://www.php.net/distributions/php-8.0.11.tar.xz
php_conf /usr/local/etc/php-fpm.conf
SHLVL 1
PHP_CFLAGS -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
GEOIP2_MODULE_VERSION 3.3
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
NGINX_VERSION 1.21.6
PHP_ASC_URL https://www.php.net/distributions/php-8.0.11.tar.xz.asc
PHP_CPPFLAGS -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
SUPERVISOR_ENABLED 1
SUPERVISOR_SERVER_URL unix:///dev/shm/supervisor.sock
SUPERVISOR_PROCESS_NAME php-fpm
SUPERVISOR_GROUP_NAME php-fpm
USER nginx
HTTP_REFERER http://pm198.com/codes.html
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
HTTP_CONNECTION close
HTTP_X_NGINX_PROXY true
HTTP_HOST pm198.com
HTTP_X_FORWARDED_FOR 54.226.25.246
HTTP_X_REAL_IP 54.226.25.246
REDIRECT_STATUS 200
SERVER_NAME _
SERVER_PORT 80
SERVER_ADDR 172.17.0.9
REMOTE_PORT 54050
REMOTE_ADDR 113.45.157.77
SERVER_SOFTWARE nginx/1.21.6
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.0
DOCUMENT_ROOT /data1/auction/auction-api/public
DOCUMENT_URI /index.php
REQUEST_URI /codes.html
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=//codes.html
SCRIPT_NAME /index.php
SCRIPT_FILENAME /data1/auction/auction-api/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1710824031.626
REQUEST_TIME 1710824031