[0] HttpException in App.php line 606

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

  1. $actionName = $suffix ? substr($methodName, 0, -strlen($suffix)) : $methodName;
  2. $request->action($actionName);
  3. } elseif (is_callable([$instance, '_empty'])) {
  4. // 空操作
  5. $call = [$instance, '_empty'];
  6. $vars = [$actionName];
  7. } else {
  8. // 操作不存在
  9. throw new HttpException(404, 'method not exists:' . get_class($instance) . '->' . $action . '()');
  10. }
  11. Hook::listen('action_begin', $call);
  12. return self::invokeMethod($call, $vars);
  13. }
  14. /**
  15. * URL路由检测(根据PATH_INFO)

Call Stack

  1. in App.php line 606
  2. at App::module(['index', 'news', 'news'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], true) in App.php line 456
  3. at App::exec(['type' => 'module', 'module' => ['index', 'news', 'news']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  4. at App::run() in start.php line 19
  5. at require('/www/wwwroot/th.weca...') in index.php line 17

Environment Variables

GET Data

id
531
POST Data
empty
Files
empty

Cookies

_vstime
1587215549
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_COOKIE
_vstime=1587215549
HTTP_REFERER
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2)
HTTP_HOST
www.c-ntek.com
PATH_INFO
/index/news/news/details
REDIRECT_STATUS
200
SERVER_NAME
c-ntek.com
SERVER_PORT
80
SERVER_ADDR
192.168.0.230
REMOTE_PORT
53130
REMOTE_ADDR
45.115.243.181
SERVER_SOFTWARE
nginx/1.8.1
GATEWAY_INTERFACE
CGI/1.1
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/th.wecando.top/public
DOCUMENT_URI
/index.php
REQUEST_URI
/index/news/news/details?id=531
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/index/news/news/details&id=531
SCRIPT_FILENAME
/www/wwwroot/th.wecando.top/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1587215558.7378
REQUEST_TIME
1587215558
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/th.wecando.top/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1587215558.7379
THINK_START_MEM
394592
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/th.wecando.top/thinkphp/
LIB_PATH
/www/wwwroot/th.wecando.top/thinkphp/library/
CORE_PATH
/www/wwwroot/th.wecando.top/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/th.wecando.top/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/th.wecando.top/
EXTEND_PATH
/www/wwwroot/th.wecando.top/extend/
VENDOR_PATH
/www/wwwroot/th.wecando.top/vendor/
RUNTIME_PATH
/www/wwwroot/th.wecando.top/runtime/
LOG_PATH
/www/wwwroot/th.wecando.top/runtime/log/
CACHE_PATH
/www/wwwroot/th.wecando.top/runtime/cache/
TEMP_PATH
/www/wwwroot/th.wecando.top/runtime/temp/
CONF_PATH
/www/wwwroot/th.wecando.top/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false