[0] HttpException in App.php line 611

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

  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 611
  2. at App::module(['index', 'chanpin', 'chanpin'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], true) in App.php line 457
  3. at App::exec(['type' => 'module', 'module' => ['index', 'chanpin', 'chanpin']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  4. at App::run() in start.php line 20
  5. at require('/home/www/html/book/...') in index.php line 19

Environment Variables

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

Server/Request Data

USER
www
HOME
/home/www
PATH_TRANSLATED
/home/www/html/book/public//chanpin/chanpin/2017-07-11/358.html
ORIG_SCRIPT_FILENAME
/home/www/html/book/public/index.php//chanpin/chanpin/2017-07-11/358.html
HTTP_ACCEPT_ENCODING
deflate, gzip
HTTP_ACCEPT
*/*
HTTP_HOST
www.jyexcavator.cn
HTTP_USER_AGENT
Mozilla/5.0+(compatible;+Baiduspider/2.0;++http://www.baidu.com/search/spider.html)
REDIRECT_STATUS
200
SERVER_NAME
www.bossgoodemo.cn
SERVER_PORT
80
SERVER_ADDR
127.0.0.1
REMOTE_PORT
39374
REMOTE_ADDR
127.0.0.1
SERVER_SOFTWARE
nginx/1.10.3
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/home/www/html/book/public
DOCUMENT_URI
/index.php//chanpin/chanpin/2017-07-11/358.html
REQUEST_URI
/chanpin/chanpin/2017-07-11/358.html
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
SCRIPT_NAME
/index.php//chanpin/chanpin/2017-07-11/358.html
SCRIPT_FILENAME
/home/www/html/book/public/index.php
PATH_INFO
//chanpin/chanpin/2017-07-11/358.html
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php//chanpin/chanpin/2017-07-11/358.html//chanpin/chanpin/2017-07-11/358.html
REQUEST_TIME_FLOAT
1563626152.7589
REQUEST_TIME
1563626152
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/home/www/html/book/public/../application/
THINK_VERSION
5.0.20
THINK_START_TIME
1563626152.759
THINK_START_MEM
356680
EXT
.php
DS
/
THINK_PATH
/home/www/html/book/thinkphp/
LIB_PATH
/home/www/html/book/thinkphp/library/
CORE_PATH
/home/www/html/book/thinkphp/library/think/
TRAIT_PATH
/home/www/html/book/thinkphp/library/traits/
ROOT_PATH
/home/www/html/book/
EXTEND_PATH
/home/www/html/book/extend/
VENDOR_PATH
/home/www/html/book/vendor/
RUNTIME_PATH
/home/www/html/book/runtime/
LOG_PATH
/home/www/html/book/runtime/log/
CACHE_PATH
/home/www/html/book/runtime/cache/
TEMP_PATH
/home/www/html/book/runtime/temp/
CONF_PATH
/home/www/html/book/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false