[0] HttpException in App.php line 606

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

  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', 'productitem'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], true) in App.php line 456
  3. at App::exec(['type' => 'module', 'module' => ['index', 'index', 'productitem']], ['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('/www/wwwroot/www.heb...') in index.php line 15

Environment Variables

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

Server/Request Data

USER
www
HOME
/home/www
SCRIPT_NAME
/index.php
REQUEST_URI
/index/index/productitem/id/5
QUERY_STRING
s=/index/index/productitem/id/5
REQUEST_METHOD
GET
SERVER_PROTOCOL
HTTP/1.1
GATEWAY_INTERFACE
CGI/1.1
REDIRECT_QUERY_STRING
s=/index/index/productitem/id/5
REDIRECT_URL
/index/index/productitem/id/5
REMOTE_PORT
42438
SCRIPT_FILENAME
/www/wwwroot/www.hebcyjx.cn/index.php
SERVER_ADMIN
webmaster@example.com
CONTEXT_DOCUMENT_ROOT
/www/wwwroot/www.hebcyjx.cn
CONTEXT_PREFIX
REQUEST_SCHEME
http
DOCUMENT_ROOT
/www/wwwroot/www.hebcyjx.cn
REMOTE_ADDR
44.206.248.122
SERVER_PORT
80
SERVER_ADDR
172.19.124.28
SERVER_NAME
hebcyjx.cn
SERVER_SOFTWARE
Apache
SERVER_SIGNATURE
<address>Apache Server at hebcyjx.cn Port 80</address>
LD_LIBRARY_PATH
/www/server/apache/lib
PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
HTTP_HOST
hebcyjx.cn
HTTP_USER_AGENT
claudebot
HTTP_ACCEPT
*/*
proxy-nokeepalive
1
REDIRECT_STATUS
200
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1710823376.8139
REQUEST_TIME
1710823376
PATH_INFO
/index/index/productitem/id/5
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/www.hebcyjx.cn/application/
BASE_PATH
ROOT_PATH
/www/wwwroot/www.hebcyjx.cn/
EXTEND_PATH
/www/wwwroot/www.hebcyjx.cn/core/extend/
VENDOR_PATH
/www/wwwroot/www.hebcyjx.cn/core/vendor/
RUNTIME_PATH
/www/wwwroot/www.hebcyjx.cn/data/
THINK_VERSION
5.0.24
THINK_START_TIME
1710823376.8143
THINK_START_MEM
378400
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/www.hebcyjx.cn/core/
LIB_PATH
/www/wwwroot/www.hebcyjx.cn/core/library/
CORE_PATH
/www/wwwroot/www.hebcyjx.cn/core/library/think/
TRAIT_PATH
/www/wwwroot/www.hebcyjx.cn/core/library/traits/
LOG_PATH
/www/wwwroot/www.hebcyjx.cn/data/log/
CACHE_PATH
/www/wwwroot/www.hebcyjx.cn/data/cache/
TEMP_PATH
/www/wwwroot/www.hebcyjx.cn/data/temp/
CONF_PATH
/www/wwwroot/www.hebcyjx.cn/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
MODULE_NAME
index
CONTROLLER_NAME
Index
ACTION_NAME
productitem
IS_POST
false
IS_GET
true