[0] HttpException in App.php line 606

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

  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', 'index', 'touz'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], true) in App.php line 456
  3. at App::exec(['type' => 'module', 'module' => ['index', 'index', 'touz']], ['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('/opt/webroot/thinkph...') in index.php line 17

Environment Variables

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

Server/Request Data

USER
apache
HOME
/usr/share/httpd
ORACLE_HOME
/usr/local/lib/instantclient
HTTP_ACCEPT_ENCODING
deflate, gzip
HTTP_ACCEPT
*/*
HTTP_HOST
lhsc.lzhg.cn
HTTP_USER_AGENT
Mozilla/5.0+(compatible;+Baiduspider/2.0;++http://www.baidu.com/search/spider.html)
REDIRECT_STATUS
200
SERVER_NAME
localhost
SERVER_PORT
80
SERVER_ADDR
117.141.212.245
REMOTE_PORT
20000
REMOTE_ADDR
147.255.31.99
SERVER_SOFTWARE
nginx/1.14.2
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/etc/nginx/public
DOCUMENT_URI
/index.php
REQUEST_URI
/index/index/touz
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=//index/index/touz
SCRIPT_FILENAME
/opt/webroot/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1553093209.7753
REQUEST_TIME
1553093209
PATH_INFO
//index/index/touz
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/opt/webroot/public/../lh-app/
THINK_VERSION
5.0.23
THINK_START_TIME
1553093209.7754
THINK_START_MEM
395976
EXT
.php
DS
/
THINK_PATH
/opt/webroot/thinkphp/
LIB_PATH
/opt/webroot/thinkphp/library/
CORE_PATH
/opt/webroot/thinkphp/library/think/
TRAIT_PATH
/opt/webroot/thinkphp/library/traits/
ROOT_PATH
/opt/webroot/
EXTEND_PATH
/opt/webroot/extend/
VENDOR_PATH
/opt/webroot/vendor/
RUNTIME_PATH
/opt/webroot/runtime/
LOG_PATH
/opt/webroot/runtime/log/
CACHE_PATH
/opt/webroot/runtime/cache/
TEMP_PATH
/opt/webroot/runtime/temp/
CONF_PATH
/opt/webroot/public/../lh-app/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false