51La

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

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

  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 80
  3. at Dispatch->run() in Route.php line 793
  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 794
  7. at Route->dispatch() in Http.php line 216
  8. at Http->dispatchToRoute() in Http.php line 206
  9. at Http->think\{closure}() in Pipeline.php line 59
  10. at Pipeline->think\{closure}() in MultiApp.php line 71
  11. at MultiApp->think\app\{closure}() in Pipeline.php line 59
  12. at Pipeline->think\{closure}() in LoadLangPack.php line 87
  13. at LoadLangPack->handle()
  14. at call_user_func() in Middleware.php line 142
  15. at Middleware->think\{closure}() in Pipeline.php line 85
  16. at Pipeline->think\{closure}() in Pipeline.php line 66
  17. at Pipeline->then() in MultiApp.php line 72
  18. at MultiApp->handle()
  19. at call_user_func() in Middleware.php line 142
  20. at Middleware->think\{closure}() in Pipeline.php line 85
  21. at Pipeline->think\{closure}() in SessionInit.php line 67
  22. at SessionInit->handle()
  23. at call_user_func() in Middleware.php line 142
  24. at Middleware->think\{closure}() in Pipeline.php line 85
  25. at Pipeline->think\{closure}() in Pipeline.php line 66
  26. at Pipeline->then() in Http.php line 207
  27. at Http->runWithRequest() in Http.php line 170
  28. at Http->run() in index.php line 29

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
admin_hkcms_lang zh-cn
HKCMSSESSID ff1e08ba98929ff700ec30b214f1fe61
index_hkcms_lang zh-cn
old_index_hkcms_lang zh-cn
cmssession a:4:{s:10:"session_id";s:32:"ed9eab2880d1086364c32e029b46377a";s:10:"ip_address";s:13:"104.140.21.34";s:10:"user_agent";s:103:"Mozilla/5.0+AppleWebKit/537.36+(KHTML,+like+Gecko;+compatible;+ClaudeBot/1.0;++claudebot@anthropic.com)";s:13:"last_activity";i:1746717320;}0dd9dbe091228049226499b840687c1f
ZDEDebuggerPresent php,phtml,php3
Sessionempty
Server/Request Data
USER www
HOME /home/www
SCRIPT_NAME /index.php
REQUEST_URI /detail/company-news/102
QUERY_STRING s=/detail/company-news/102
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REDIRECT_QUERY_STRING s=/detail/company-news/102
REDIRECT_URL /detail/company-news/102
REMOTE_PORT 50584
SCRIPT_FILENAME /www/wwwroot/www.whrj.com/public/index.php
SERVER_ADMIN webmaster@example.com
CONTEXT_DOCUMENT_ROOT /www/wwwroot/www.whrj.com/public
CONTEXT_PREFIX
REQUEST_SCHEME http
DOCUMENT_ROOT /www/wwwroot/www.whrj.com/public
REMOTE_ADDR 104.140.21.34
SERVER_PORT 80
SERVER_ADDR 122.114.180.108
SERVER_NAME www.whrj.com
SERVER_SOFTWARE Apache
SERVER_SIGNATURE
Apache Server at www.whrj.com Port 80
LD_LIBRARY_PATH /www/server/apache/lib
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
HTTP_COOKIE admin_hkcms_lang=zh-cn; HKCMSSESSID=ff1e08ba98929ff700ec30b214f1fe61; index_hkcms_lang=zh-cn; old_index_hkcms_lang=zh-cn; cmssession=a%3A4%3A%7Bs%3A10%3A%22session_id%22%3Bs%3A32%3A%22ed9eab2880d1086364c32e029b46377a%22%3Bs%3A10%3A%22ip_address%22%3Bs%3A13%3A%22104.140.21.34%22%3Bs%3A10%3A%22user_agent%22%3Bs%3A103%3A%22Mozilla%2F5.0+AppleWebKit%2F537.36+%28KHTML%2C+like+Gecko%3B+compatible%3B+ClaudeBot%2F1.0%3B+%2Bclaudebot%40anthropic.com%29%22%3Bs%3A13%3A%22last_activity%22%3Bi%3A1746717320%3B%7D0dd9dbe091228049226499b840687c1f; ZDEDebuggerPresent=php,phtml,php3
HTTP_ACCEPT_ENCODING gzip
HTTP_ACCEPT */*
HTTP_HOST www.whrj.com
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
proxy-nokeepalive 1
REDIRECT_STATUS 200
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1748426219.5287
REQUEST_TIME 1748426219
XML 地图