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

控制器不存在:app\cn\controller\news\Php

  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 89
  3. at Dispatch->run() in Route.php line 772
  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 773
  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 SessionInit.php line 67
  11. at SessionInit->handle(object(Request), object(Closure))
  12. at call_user_func([object(SessionInit), '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 MultiApp.php line 71
  15. at MultiApp->think\app\{closure}(object(Request)) in Pipeline.php line 59
  16. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  17. at Pipeline->then(object(Closure)) in MultiApp.php line 72
  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 85
  21. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  22. at Pipeline->then(object(Closure)) in Http.php line 207
  23. at Http->runWithRequest(object(Request)) in Http.php line 170
  24. at Http->run() in index.php line 29

Environment Variables

GET Data
/cn/news_php
page 3
pid 751
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
PATH C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\Redis\redis-server.exe;D:\PHPCUSTOM\phpcustom\server\php-7.3.6-nts-x64-web\php.exe;
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/php7.3.4nts
_FCGI_SHUTDOWN_EVENT_ 10996
HTTP_CONNECTION close
SCRIPT_NAME /index.php
REQUEST_URI /cn/news.php?page=3&pid=751
QUERY_STRING /cn/news.php&page=3&pid=751
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REDIRECT_QUERY_STRING /cn/news.php&page=3&pid=751
REDIRECT_URL /cn/news.php
REMOTE_PORT 36484
SCRIPT_FILENAME D:/phpstudy_pro/WWW/vdan/public/index.php
SERVER_ADMIN admin@example.com
CONTEXT_DOCUMENT_ROOT D:/phpstudy_pro/WWW/vdan/public
CONTEXT_PREFIX
REQUEST_SCHEME https
DOCUMENT_ROOT D:/phpstudy_pro/WWW/vdan/public
REMOTE_ADDR 44.192.132.66
SERVER_PORT 443
SERVER_ADDR 121.42.13.90
SERVER_NAME vdachina.com.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 vdachina.com.cn
HTTP_REFERER http://vdachina.com.cn/cn/news.php?page=3&pid=751
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
SSL_SESSION_RESUMED Initial
SSL_SESSION_ID c6b80f76d438bb4b2a91b7ca86c879a339adc7388e8a463ff57f4827b567b9fc
SSL_SERVER_A_SIG sha256WithRSAEncryption
SSL_SERVER_A_KEY rsaEncryption
SSL_SERVER_I_DN CN=Encryption Everywhere DV TLS CA - G2,OU=www.digicert.com,O=DigiCert Inc,C=US
SSL_SERVER_S_DN CN=vdachina.com.cn
SSL_SERVER_V_END Mar 7 23:59:59 2025 GMT
SSL_SERVER_V_START Mar 7 00:00:00 2024 GMT
SSL_SERVER_M_SERIAL 0993D751C753C0139F6DD0E665BE8D85
SSL_SERVER_M_VERSION 3
SSL_CLIENT_VERIFY NONE
SSL_CIPHER_ALGKEYSIZE 256
SSL_CIPHER_USEKEYSIZE 256
SSL_CIPHER_EXPORT false
SSL_CIPHER TLS_CHACHA20_POLY1305_SHA256
SSL_COMPRESS_METHOD NULL
SSL_SECURE_RENEG true
SSL_PROTOCOL TLSv1.3
SSL_VERSION_LIBRARY OpenSSL/1.1.1b
SSL_VERSION_INTERFACE mod_ssl/2.4.39
SSL_SERVER_SAN_DNS_1 www.vdachina.com.cn
SSL_SERVER_SAN_DNS_0 vdachina.com.cn
SSL_SERVER_I_DN_CN Encryption Everywhere DV TLS CA - G2
SSL_SERVER_I_DN_OU www.digicert.com
SSL_SERVER_I_DN_O DigiCert Inc
SSL_SERVER_I_DN_C US
SSL_SERVER_S_DN_CN vdachina.com.cn
SSL_TLS_SNI vdachina.com.cn
HTTPS on
REDIRECT_STATUS 200
REDIRECT_SSL_TLS_SNI vdachina.com.cn
REDIRECT_HTTPS on
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711618362.2038
REQUEST_TIME 1711618362