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

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

  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
REDIRECT_REDIRECT_REDIRECT_UNIQUE_ID Zus@3aBu@kGv0gYBBfzvjgAAAAQ
REDIRECT_REDIRECT_REDIRECT_PHPRC /home/gdyueshifgrdjy6uceasphzi/others
REDIRECT_REDIRECT_REDIRECT_STATUS 200
REDIRECT_REDIRECT_UNIQUE_ID Zus@3aBu@kGv0gYBBfzvjgAAAAQ
REDIRECT_REDIRECT_PATH_INFO case.html
REDIRECT_REDIRECT_PHPRC /home/gdyueshifgrdjy6uceasphzi/others
REDIRECT_REDIRECT_STATUS 200
REDIRECT_UNIQUE_ID Zus@3aBu@kGv0gYBBfzvjgAAAAQ
REDIRECT_PHPRC /home/gdyueshifgrdjy6uceasphzi/others
REDIRECT_HANDLER php-cgi
REDIRECT_STATUS 200
UNIQUE_ID Zus@3aBu@kGv0gYBBfzvjgAAAAQ
PHPRC /home/gdyueshifgrdjy6uceasphzi/others
HTTP_X_FORWARDED_FOR 45.41.88.246
HTTP_X_REAL_IP 45.41.88.246
HTTP_REALIP_WTS_X 45.41.88.246
HTTP_HOST 1jamat.com
HTTP_CONNECTION close
HTTP_REFERER https://www.baidu.com/search/spider.htm
HTTP_X_APPLE_TZ 0
HTTP_X_APPLE_STORE_FRONT 143444,12
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_ENCODING gzip, deflate
HTTP_ACCEPT_LANGUAGE en-US,en;q=0.5
HTTP_CACHE_CONTROL no-cache
CONTENT_TYPE application/x-www-form-urlencoded; charset=utf-8
HTTP_USER_AGENT Mozilla/5.0 (Windows; U; Windows NT 5.2) Gecko/2008070208 Firefox/3.0.1
HTTP_X_MICROSOFTAJAX Delta=true
PATH /sbin:/usr/sbin:/bin:/usr/bin
SERVER_SIGNATURE <address>Apache Server at 1jamat.com Port 80</address>
SERVER_SOFTWARE Apache
SERVER_NAME 1jamat.com
SERVER_ADDR 127.0.0.1
SERVER_PORT 80
REMOTE_ADDR 45.41.88.246
DOCUMENT_ROOT /home/gdyueshifgrdjy6uceasphzi/wwwroot
REQUEST_SCHEME http
CONTEXT_PREFIX /php-run-as-cgi
CONTEXT_DOCUMENT_ROOT /usr/php7.2/bin
SERVER_ADMIN webmaster@gdyueshi
SCRIPT_FILENAME /home/gdyueshifgrdjy6uceasphzi/wwwroot/public/index.php
REMOTE_PORT 43564
REDIRECT_URL /public/index.php/case.html
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING
REQUEST_URI /case.html
SCRIPT_NAME /public/index.php
PATH_INFO /case.html
PATH_TRANSLATED /home/gdyueshifgrdjy6uceasphzi/wwwroot/case.html
ORIG_PATH_INFO /public/index.php/case.html
ORIG_SCRIPT_NAME /php-run-as-cgi/php-cgi
ORIG_SCRIPT_FILENAME /usr/php7.2/bin/php-cgi
ORIG_PATH_TRANSLATED /home/gdyueshifgrdjy6uceasphzi/wwwroot/public/index.php/case.html
PHP_SELF /public/index.php/case.html
REQUEST_TIME_FLOAT 1726693085.8265
REQUEST_TIME 1726693085
Environment Variables
APP_DEBUG 1
APP_DEFAULT_TIMEZONE Asia/Shanghai
DATABASE_TYPE mysql
DATABASE_HOSTNAME 127.0.0.1
DATABASE_DATABASE gdyueshi
DATABASE_USERNAME gdyueshi
DATABASE_PASSWORD AvSlskIIFwqc374351ad
DATABASE_HOSTPORT 3306
DATABASE_CHARSET utf8
DATABASE_DEBUG 1
DATABASE_PREFIX tp_
LANG_DEFAULT_LANG zh-cn
ThinkPHP Constantsempty