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

控制器不存在:app\index\controller\IndexCn

  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 68
  2. at Controller->exec() in Dispatch.php line 88
  3. at Dispatch->run() in Route.php line 739
  4. at Route->think\{closure}(object(Request)) in Pipeline.php line 59
  5. at Pipeline->think\{closure}(object(Request)) in Library.php line 50
  6. at Library->think\admin\{closure}(object(Request), object(Closure))
  7. at call_user_func(object(Closure), object(Request), object(Closure)) in Middleware.php line 142
  8. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 84
  9. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 65
  10. at Pipeline->then(object(Closure)) in Route.php line 740
  11. at Route->dispatch(object(Request), object(Closure)) in Http.php line 205
  12. at Http->dispatchToRoute(object(Request)) in Http.php line 195
  13. at Http->think\{closure}(object(Request)) in Pipeline.php line 59
  14. at Pipeline->think\{closure}(object(Request)) in MultiApp.php line 63
  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 64
  18. at MultiApp->handle(object(Request), object(Closure))
  19. at call_user_func([object(MultiApp), 'handle'], object(Request), object(Closure)) 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 SessionInit.php line 59
  22. at SessionInit->handle(object(Request), object(Closure))
  23. at call_user_func([object(SessionInit), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  24. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 84
  25. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 65
  26. at Pipeline->then(object(Closure)) in Http.php line 196
  27. at Http->runWithRequest(object(Request)) in Http.php line 154
  28. at Http->run() in index.php line 8

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
REDIRECT_STATUS 200
HTTP_HOST gosstech.com
HTTP_REFERER http://gosstech.com/index_cn.html
HTTP_X_REAL_IP 3.83.32.226
HTTP_X_FORWARDED_FOR 3.83.32.226
HTTP_CONNECTION close
HTTP_ACCEPT */*
HTTP_USER_AGENT claudebot
PATH /sbin:/usr/sbin:/bin:/usr/bin
LD_LIBRARY_PATH /usr/local/apache/lib
SERVER_SIGNATURE
SERVER_SOFTWARE Apache/2.4.25 (Unix) OpenSSL/1.0.2k-fips PHP/7.3.5
SERVER_NAME gosstech.com
SERVER_ADDR 127.0.0.1
SERVER_PORT 80
REMOTE_ADDR 127.0.0.1
DOCUMENT_ROOT /home/gosstech.com/public
REQUEST_SCHEME http
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT /home/gosstech.com/public
SERVER_ADMIN you@example.com
SCRIPT_FILENAME /home/gosstech.com/public/index.php
REMOTE_PORT 56808
REDIRECT_URL /index_cn.html
REDIRECT_QUERY_STRING s=/index_cn.html
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.0
REQUEST_METHOD GET
QUERY_STRING s=/index_cn.html
REQUEST_URI /index_cn.html
SCRIPT_NAME /index.php
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711689408.463
REQUEST_TIME 1711689408
Environment Variablesempty
ThinkPHP Constantsempty