[0] HttpException in App.php line 606

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

  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', '46'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], null) in App.php line 457
  3. at App::exec(['type' => 'module', 'module' => ['index', 'news', '46']], ['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('/home/xinyujierx3ivn...') in index.php line 18

Environment Variables

GET Data
empty
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

REDIRECT_REDIRECT_UNIQUE_ID
ZgVGj5SNMFR0LsUDKheDtgAAABg
REDIRECT_REDIRECT_PHPRC
/home/xinyujierx3ivn2ylubjhile/others
REDIRECT_REDIRECT_STATUS
200
REDIRECT_UNIQUE_ID
ZgVGj5SNMFR0LsUDKheDtgAAABg
REDIRECT_PHPRC
/home/xinyujierx3ivn2ylubjhile/others
REDIRECT_HANDLER
php-cgi
REDIRECT_STATUS
200
UNIQUE_ID
ZgVGj5SNMFR0LsUDKheDtgAAABg
PHPRC
/home/xinyujierx3ivn2ylubjhile/others
HTTP_X_FORWARDED_FOR
44.213.80.203
HTTP_X_REAL_IP
44.213.80.203
HTTP_HOST
www.xinyujie.com
HTTP_CONNECTION
close
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
claudebot
PATH
/sbin:/usr/sbin:/bin:/usr/bin
SERVER_SIGNATURE
<address>Apache Server at www.xinyujie.com Port 80</address>
SERVER_SOFTWARE
Apache
SERVER_NAME
www.xinyujie.com
SERVER_ADDR
127.0.0.1
SERVER_PORT
80
REMOTE_ADDR
44.213.80.203
DOCUMENT_ROOT
/home/xinyujierx3ivn2ylubjhile/wwwroot
REQUEST_SCHEME
http
CONTEXT_PREFIX
/php-run-as-cgi
CONTEXT_DOCUMENT_ROOT
/usr/php5.6/bin
SERVER_ADMIN
webmaster@xinyujie
SCRIPT_FILENAME
/home/xinyujierx3ivn2ylubjhile/wwwroot/index.php
REMOTE_PORT
58368
REDIRECT_URL
/index.php
REDIRECT_QUERY_STRING
s=/news/46.html
GATEWAY_INTERFACE
CGI/1.1
SERVER_PROTOCOL
HTTP/1.0
REQUEST_METHOD
GET
QUERY_STRING
s=/news/46.html
REQUEST_URI
/news/46.html
SCRIPT_NAME
/index.php
ORIG_SCRIPT_FILENAME
/usr/php5.6/bin/php-cgi
ORIG_PATH_INFO
/index.php
ORIG_PATH_TRANSLATED
/home/xinyujierx3ivn2ylubjhile/wwwroot/index.php
ORIG_SCRIPT_NAME
/php-run-as-cgi/php-cgi
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1711621775.5371
REQUEST_TIME
1711621775
PATH_INFO
/news/46.html
Environment Variables
empty

ThinkPHP Constants

APP_PATH
web/
BIND_MODULE
index
THINK_VERSION
5.0.24
THINK_START_TIME
1711621775.5382
THINK_START_MEM
231944
EXT
.php
DS
/
THINK_PATH
/home/xinyujierx3ivn2ylubjhile/wwwroot/thinkphp/
LIB_PATH
/home/xinyujierx3ivn2ylubjhile/wwwroot/thinkphp/library/
CORE_PATH
/home/xinyujierx3ivn2ylubjhile/wwwroot/thinkphp/library/think/
TRAIT_PATH
/home/xinyujierx3ivn2ylubjhile/wwwroot/thinkphp/library/traits/
ROOT_PATH
/home/xinyujierx3ivn2ylubjhile/wwwroot/
EXTEND_PATH
/home/xinyujierx3ivn2ylubjhile/wwwroot/extend/
VENDOR_PATH
/home/xinyujierx3ivn2ylubjhile/wwwroot/vendor/
RUNTIME_PATH
/home/xinyujierx3ivn2ylubjhile/wwwroot/runtime/
LOG_PATH
/home/xinyujierx3ivn2ylubjhile/wwwroot/runtime/log/
CACHE_PATH
/home/xinyujierx3ivn2ylubjhile/wwwroot/runtime/cache/
TEMP_PATH
/home/xinyujierx3ivn2ylubjhile/wwwroot/runtime/temp/
CONF_PATH
web/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false