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

方法不存在:app\controller\NewsController->20180423022011Action()

  1. $this->request->setAction($actionName);
  2. } catch (ReflectionException $e) {
  3. $reflect = new ReflectionMethod($instance, '__call');
  4. $vars = [$action, $vars];
  5. $this->request->setAction($action);
  6. }
  7. } else {
  8. // 操作不存在
  9. throw new HttpException(404, 'method not exists:' . get_class($instance) . '->' . $action . '()');
  10. }
  11. $data = $this->app->invokeReflectMethod($instance, $reflect, $vars);
  12. return $this->autoResponse($data);
  13. });
  14. }
  15. protected function parseActions($actions)

Call Stack

  1. in Controller.php line 107
  2. at Controller->think\route\dispatch\{closure}() in Pipeline.php line 59
  3. at Pipeline->think\{closure}() in Pipeline.php line 66
  4. at Pipeline->then() in Controller.php line 113
  5. at Controller->exec() in Dispatch.php line 90
  6. at Dispatch->run() in Route.php line 785
  7. at Route->think\{closure}() in Pipeline.php line 59
  8. at Pipeline->think\{closure}() in Pipeline.php line 66
  9. at Pipeline->then() in Route.php line 786
  10. at Route->dispatch() in Http.php line 216
  11. at Http->dispatchToRoute() in Http.php line 206
  12. at Http->think\{closure}() in Pipeline.php line 59
  13. at Pipeline->think\{closure}() in AllowCrossDomain.php line 61
  14. at AllowCrossDomain->handle()
  15. at call_user_func() in Middleware.php line 142
  16. at Middleware->think\{closure}() in Pipeline.php line 85
  17. at Pipeline->think\{closure}() in SessionInit.php line 67
  18. at SessionInit->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 TraceDebug.php line 71
  22. at TraceDebug->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 20

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
SCRIPT_NAME /index.php
REQUEST_URI /news/20180423022011
QUERY_STRING /news/20180423022011
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REDIRECT_QUERY_STRING /news/20180423022011
REDIRECT_URL /news/20180423022011
REMOTE_PORT 47132
SCRIPT_FILENAME /mnt/www/wwwroot/tp_lrt1935/think/public/index.php
SERVER_ADMIN webmaster@example.com
CONTEXT_DOCUMENT_ROOT /mnt/www/wwwroot/tp_lrt1935/think/public
CONTEXT_PREFIX
REQUEST_SCHEME http
DOCUMENT_ROOT /mnt/www/wwwroot/tp_lrt1935/think/public
REMOTE_ADDR 44.222.149.13
SERVER_PORT 80
SERVER_ADDR 172.26.213.99
SERVER_NAME www.lrt1935.com
SERVER_SOFTWARE Apache
SERVER_SIGNATURE <address>Apache Server at www.lrt1935.com Port 80</address>
LD_LIBRARY_PATH /www/server/apache/lib
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
HTTP_HOST www.lrt1935.com
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
proxy-nokeepalive 1
SCRIPT_URI http://www.lrt1935.com/news/20180423022011
SCRIPT_URL /news/20180423022011
REDIRECT_STATUS 200
REDIRECT_SCRIPT_URI http://www.lrt1935.com/news/20180423022011
REDIRECT_SCRIPT_URL /news/20180423022011
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1710820015.9114
REQUEST_TIME 1710820015
0.062228s