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

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

  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 52
  3. at Dispatch->run() in Route.php line 755
  4. at Route->think\{closure}() in Pipeline.php line 59
  5. at Pipeline->think\{closure}() in Pipeline.php line 66
  6. at Pipeline->then() in Route.php line 756
  7. at Route->dispatch() in Http.php line 208
  8. at Http->dispatchToRoute() in Http.php line 198
  9. at Http->think\{closure}() in Pipeline.php line 59
  10. at Pipeline->think\{closure}() in TraceDebug.php line 71
  11. at TraceDebug->handle()
  12. at call_user_func() in Middleware.php line 134
  13. at Middleware->think\{closure}() in Pipeline.php line 85
  14. at Pipeline->think\{closure}() in Pipeline.php line 66
  15. at Pipeline->then() in Http.php line 199
  16. at Http->runWithRequest() in Http.php line 162
  17. at Http->run() in index.php line 23

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
PATH C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\PowerShell\7\;C:\Program Files\QCloud\Monitor\Barad;D:\Program Files\Microsoft SQL Server\110\DTS\Binn\;D:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\;D:\Program Files\Microsoft SQL Server\110\Tools\Binn\;D:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio\;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies\;D:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\;C:\Users\guoxing.zhu\AppData\Local\Microsoft\WindowsApps
SYSTEMROOT C:\Windows
COMSPEC C:\Windows\system32\cmd.exe
PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
WINDIR C:\Windows
PHPRC D:/phpstudy_pro/Extensions/php/php8.0.2nts
_FCGI_SHUTDOWN_EVENT_ 8900
HTTP_CONNECTION close
SCRIPT_NAME /index.php
REQUEST_URI /cjwt/173.html
QUERY_STRING s=cjwt/173.html
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REDIRECT_QUERY_STRING s=cjwt/173.html
REDIRECT_URL /cjwt/173.html
REMOTE_PORT 59326
SCRIPT_FILENAME D:/gold_shop_api/public/index.php
SERVER_ADMIN admin@example.com
CONTEXT_DOCUMENT_ROOT D:/gold_shop_api/public
CONTEXT_PREFIX
REQUEST_SCHEME http
DOCUMENT_ROOT D:/gold_shop_api/public
REMOTE_ADDR 18.206.12.31
SERVER_PORT 80
SERVER_ADDR 172.21.0.6
SERVER_NAME xinmingyuan.cn
SERVER_SOFTWARE Apache/2.4.39 (Win64) OpenSSL/1.1.1b mod_fcgid/2.3.9a mod_log_rotate/1.02
SERVER_SIGNATURE
SystemRoot C:\Windows
HTTP_HOST xinmingyuan.cn
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
REDIRECT_STATUS 200
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711640705.0321
REQUEST_TIME 1711640705
0.024640s