[0] HttpException in App.php line 604

方法不存在:app\index\controller\About->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 604
  2. at App::module(['index', 'about', null], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], null) in App.php line 457
  3. at App::exec(['type' => 'module', 'module' => ['index', 'about', 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('/home/wwwroot/haomen...') in index.php line 19

Environment Variables

GET Data

/index/about/
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
FCGI_ROLE
RESPONDER
REDIRECT_STATUS
200
proxy-nokeepalive
1
HTTP_USER_AGENT
Mozilla/5.0+(compatible;+Baiduspider/2.0;++http://www.baidu.com/search/spider.html)
HTTP_HOST
www.cqhmgg.com
HTTP_ACCEPT
*/*
HTTP_ACCEPT_ENCODING
deflate, gzip
PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
LD_LIBRARY_PATH
/www/server/apache/lib
SERVER_SIGNATURE
<address>Apache Server at www.cqhmgg.com Port 80</address>
SERVER_SOFTWARE
Apache
SERVER_NAME
www.cqhmgg.com
SERVER_ADDR
211.149.177.156
SERVER_PORT
80
REMOTE_ADDR
154.213.187.134
DOCUMENT_ROOT
/home/wwwroot/haomenchuanmei/public
REQUEST_SCHEME
http
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT
/home/wwwroot/haomenchuanmei/public
SERVER_ADMIN
webmaster@example.com
SCRIPT_FILENAME
/home/wwwroot/haomenchuanmei/public/index.php
REMOTE_PORT
20000
REDIRECT_URL
/index/about/
REDIRECT_QUERY_STRING
/index/about/
GATEWAY_INTERFACE
CGI/1.1
SERVER_PROTOCOL
HTTP/1.1
REQUEST_METHOD
GET
QUERY_STRING
/index/about/
REQUEST_URI
/index/about/
SCRIPT_NAME
/index.php
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1558254210.665
REQUEST_TIME
1558254210
PATH_INFO
/index/about/
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/home/wwwroot/haomenchuanmei/public/../application/
THINK_VERSION
5.0.22
THINK_START_TIME
1558254210.6665
THINK_START_MEM
263720
EXT
.php
DS
/
THINK_PATH
/home/wwwroot/haomenchuanmei/thinkphp/
LIB_PATH
/home/wwwroot/haomenchuanmei/thinkphp/library/
CORE_PATH
/home/wwwroot/haomenchuanmei/thinkphp/library/think/
TRAIT_PATH
/home/wwwroot/haomenchuanmei/thinkphp/library/traits/
ROOT_PATH
/home/wwwroot/haomenchuanmei/
EXTEND_PATH
/home/wwwroot/haomenchuanmei/extend/
VENDOR_PATH
/home/wwwroot/haomenchuanmei/vendor/
RUNTIME_PATH
/home/wwwroot/haomenchuanmei/runtime/
LOG_PATH
/home/wwwroot/haomenchuanmei/runtime/log/
CACHE_PATH
/home/wwwroot/haomenchuanmei/runtime/cache/
TEMP_PATH
/home/wwwroot/haomenchuanmei/runtime/temp/
CONF_PATH
/home/wwwroot/haomenchuanmei/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false