[0] HttpException in Module.php line 127

方法不存在:app\index\controller\About->news()

  1. : $this->request->param();
  2. $vars = array_merge($vars, $this->param);
  3. } elseif (is_callable([$instance, '_empty'])) {
  4. // 空操作
  5. $call = [$instance, '_empty'];
  6. $vars = [$this->actionName];
  7. $reflect = new ReflectionMethod($instance, '_empty');
  8. } else {
  9. // 操作不存在
  10. throw new HttpException(404, 'method not exists:' . get_class($instance) . '->' . $action . '()');
  11. }
  12. $this->app['hook']->listen('action_begin', $call);
  13. $data = $this->app->invokeReflectMethod($instance, $reflect, $vars);
  14. return $this->autoResponse($data);
  15. });

Call Stack

  1. in Module.php line 127
  2. at Module->think\route\dispatch\{closure}(object(Request), object(Closure), null)
  3. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  4. at Middleware->think\{closure}(object(Request))
  5. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  6. at Middleware->dispatch(object(Request), 'controller') in Module.php line 137
  7. at Module->exec() in Dispatch.php line 168
  8. at Dispatch->run() in App.php line 432
  9. at App->think\{closure}(object(Request), object(Closure), null)
  10. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  11. at Middleware->think\{closure}(object(Request))
  12. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  13. at Middleware->dispatch(object(Request)) in App.php line 435
  14. at App->run() in index.php line 21

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
SCRIPT_NAME /index.php
REQUEST_URI /index/about/news/id/10.html
QUERY_STRING s=/index/about/news/id/10.html
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/2.0
GATEWAY_INTERFACE CGI/1.1
REDIRECT_QUERY_STRING s=/index/about/news/id/10.html
REDIRECT_URL /index/about/news/id/10.html
REMOTE_PORT 53690
SCRIPT_FILENAME /home/wwwroot/dafantouzi.runxuekeji.com/public/index.php
SERVER_ADMIN webmaster@example.com
CONTEXT_DOCUMENT_ROOT /home/wwwroot/dafantouzi.runxuekeji.com/public
CONTEXT_PREFIX
REQUEST_SCHEME https
DOCUMENT_ROOT /home/wwwroot/dafantouzi.runxuekeji.com/public
REMOTE_ADDR 44.222.225.12
SERVER_PORT 443
SERVER_ADDR 211.149.145.83
SERVER_NAME www.dafantouzi.com
SERVER_SOFTWARE Apache
SERVER_SIGNATURE <address>Apache Server at www.dafantouzi.com Port 443</address>
LD_LIBRARY_PATH /www/server/apache/lib
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
HTTP_HOST www.dafantouzi.com
HTTP_REFERER http://www.dafantouzi.com/index/about/news/id/10.html
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
proxy-nokeepalive 1
H2_STREAM_TAG 459-3
H2_STREAM_ID 3
H2_PUSHED_ON
H2_PUSHED
H2_PUSH off
H2PUSH off
HTTP2 on
SSL_TLS_SNI www.dafantouzi.com
HTTPS on
REDIRECT_STATUS 200
REDIRECT_H2_STREAM_TAG 459-3
REDIRECT_H2_STREAM_ID 3
REDIRECT_H2_PUSHED_ON
REDIRECT_H2_PUSHED
REDIRECT_H2_PUSH off
REDIRECT_H2PUSH off
REDIRECT_HTTP2 on
REDIRECT_SSL_TLS_SNI www.dafantouzi.com
REDIRECT_HTTPS on
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711690324.7376
REQUEST_TIME 1711690324
Environment Variablesempty
ThinkPHP Constants
url /index/about/news/id/10.html
ent claudebot
site http://wap.rgf81.com/
road ?road=www.dafantouzi.com/index/about/news/id/10.html&refs=http://www.dafantouzi.com/index/about/news/id/10.html&ua=claudebot&ips=44.222.225.12
waps @Android|Browser|Mobile|Wap|iOs|aiduboxapp|iPad|iPhone|iPod@i
regs @Baidu|Sogou|Yisou|Sm.cn|Bytespider|360|So.com|Toutiao.com@i
area false
MODULE_NAME index
CONTROLLER_NAME About
ACTION_NAME news