9721见好就收就是赢(集团)有限公司

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

控制器不存在:app\html\controller\NewsController

  1. foreach ($services as $service) {
  2. $this->app->register($service);
  3. }
  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 110
  2. at Controller->exec() in Dispatch.php line 90
  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 217
  8. at Http->dispatchToRoute(object(Request)) in Http.php line 207
  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 TraceDebug.php line 71
  15. at TraceDebug->handle(object(Request), object(Closure))
  16. at call_user_func([object(TraceDebug), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  17. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  18. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  19. at Pipeline->then(object(Closure)) in Http.php line 208
  20. at Http->runWithRequest(object(Request)) in Http.php line 171
  21. at Http->run() in index.php line 32

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
PHPSESSID f211d56fde074fb79e73fa4cbe878fe9
Sessionempty
Server/Request Data
USER nobody
HOME /
HTTP_COOKIE PHPSESSID=f211d56fde074fb79e73fa4cbe878fe9
HTTP_ACCEPT_ENCODING gzip
HTTP_ACCEPT */*
HTTP_HOST www.fengyuanhuaxue.com
HTTP_USER_AGENT Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
REDIRECT_STATUS 200
SERVER_NAME www.fengyuanhuaxue.com
SERVER_PORT 443
SERVER_ADDR 10.19.93.224
REMOTE_PORT 42046
REMOTE_ADDR 23.231.76.26
SERVER_SOFTWARE nginx/1.18.0
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /data/user/htdocs/public
DOCUMENT_URI /index.php
REQUEST_URI /html/news/company/5.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=//html/news/company/5.html
PATH_INFO
SCRIPT_FILENAME /data/user/htdocs/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1718211614.8739
REQUEST_TIME 1718211614
0.016565s