[0] HttpException in App.php line 605

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

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

Environment Variables

GET Data

lang
zh_
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

DOCUMENT_ROOT
/usr/home/xyu3846440001/htdocs
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
HTTP_ACCEPT
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_ENCODING
br,gzip
HTTP_ACCEPT_LANGUAGE
en-US,en;q=0.5
HTTP_CONNECTION
Keep-Alive
HTTP_HOST
szprl.com
HTTP_IF_MODIFIED_SINCE
Mon, 24 Jun 2024 14:09:50 GMT
HTTP_USER_AGENT
CCBot/2.0 (https://commoncrawl.org/faq/)
PATH
/bin
PATH_INFO
/index/news/
PATH_TRANSLATED
/usr/home/xyu3846440001/htdocs/pr/index.php
PHPRC
/var/www/php56/hichina_ini/xyu3846440001
QUERY_STRING
lang=zh_
REDIRECT_STATUS
200
REMOTE_ADDR
18.97.14.87
REMOTE_PORT
52098
REQUEST_METHOD
GET
REQUEST_URI
/pr/index.php/index/news/?lang=zh_
SCRIPT_FILENAME
/usr/home/xyu3846440001/htdocs/pr/index.php
SCRIPT_NAME
/pr/index.php
SERVER_ADDR
10.19.175.224
SERVER_ADMIN
webmaster@xyu3846440001.my3w.com
SERVER_NAME
szprl.com
SERVER_PORT
443
SERVER_PROTOCOL
HTTP/1.1
SERVER_SIGNATURE
SERVER_SOFTWARE
Apache
SSL_TLS_SNI
szprl.com
TZ
Asia/Shanghai
UNIQUE_ID
Z105rQoTr@AACUSHYjYAAAAB
PHP_SELF
/pr/index.php/index/news/
REQUEST_TIME_FLOAT
1734162861.3011
REQUEST_TIME
1734162861
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/usr/home/xyu3846440001/htdocs/pr/application/
UPLOAD_PATH
/usr/home/xyu3846440001/htdocs/pr/public
RUNTIME_PATH
/usr/home/xyu3846440001/htdocs/pr/runtime/
THINK_VERSION
5.0.20
THINK_START_TIME
1734162861.3019
THINK_START_MEM
221560
EXT
.php
DS
/
THINK_PATH
/usr/home/xyu3846440001/htdocs/pr/thinkphp/
LIB_PATH
/usr/home/xyu3846440001/htdocs/pr/thinkphp/library/
CORE_PATH
/usr/home/xyu3846440001/htdocs/pr/thinkphp/library/think/
TRAIT_PATH
/usr/home/xyu3846440001/htdocs/pr/thinkphp/library/traits/
ROOT_PATH
/usr/home/xyu3846440001/htdocs/pr/
EXTEND_PATH
/usr/home/xyu3846440001/htdocs/pr/extend/
VENDOR_PATH
/usr/home/xyu3846440001/htdocs/pr/vendor/
LOG_PATH
/usr/home/xyu3846440001/htdocs/pr/runtime/log/
CACHE_PATH
/usr/home/xyu3846440001/htdocs/pr/runtime/cache/
TEMP_PATH
/usr/home/xyu3846440001/htdocs/pr/runtime/temp/
CONF_PATH
/usr/home/xyu3846440001/htdocs/pr/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
VIEW_PATH
/usr/home/xyu3846440001/htdocs/pr/application/../application/index/view/default/