[0] HttpException in App.php line 606

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

  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', 'product', '12'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], null) in App.php line 457
  3. at App::exec(['type' => 'module', 'module' => ['index', 'product', '12']], ['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/hierqc...') in index.php line 12

Environment Variables

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

Server/Request Data

USER
hierqcn
HOME
/home/wwwroot/hierqcn
FCGI_ROLE
RESPONDER
REDIRECT_STATUS
200
proxy-nokeepalive
1
HTTP_X_REAL_IP
54.91.51.101
HTTP_HOST
www.hierq.cn
HTTP_CONNECTION
close
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
claudebot
PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
SERVER_SIGNATURE
SERVER_SOFTWARE
Apache
SERVER_NAME
www.hierq.cn
SERVER_ADDR
127.0.0.1
SERVER_PORT
80
REMOTE_ADDR
54.91.51.101
DOCUMENT_ROOT
/home/wwwroot/hierqcn/wwwroot
REQUEST_SCHEME
http
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT
/home/wwwroot/hierqcn/wwwroot
SERVER_ADMIN
[no address given]
SCRIPT_FILENAME
/home/wwwroot/hierqcn/wwwroot/index.php
REMOTE_PORT
58590
REDIRECT_URL
/product/12/
GATEWAY_INTERFACE
CGI/1.1
SERVER_PROTOCOL
HTTP/1.1
REQUEST_METHOD
GET
QUERY_STRING
REQUEST_URI
/product/12/
SCRIPT_NAME
/index.php
PATH_INFO
/index/product/12/
PATH_TRANSLATED
redirect:/index.php/index/index/product/12//product/12/
PHP_SELF
/index.php/index/product/12/
REQUEST_TIME_FLOAT
1711695182.253
REQUEST_TIME
1711695182
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/home/wwwroot/hierqcn/wwwroot/home/
RUNTIME_PATH
/home/wwwroot/hierqcn/wwwroot/runtime/
THINK_VERSION
5.0.24
THINK_START_TIME
1711695182.2533
THINK_START_MEM
238224
EXT
.php
DS
/
THINK_PATH
/home/wwwroot/hierqcn/wwwroot/thinkphp/
LIB_PATH
/home/wwwroot/hierqcn/wwwroot/thinkphp/library/
CORE_PATH
/home/wwwroot/hierqcn/wwwroot/thinkphp/library/think/
TRAIT_PATH
/home/wwwroot/hierqcn/wwwroot/thinkphp/library/traits/
ROOT_PATH
/home/wwwroot/hierqcn/wwwroot/
EXTEND_PATH
/home/wwwroot/hierqcn/wwwroot/extend/
VENDOR_PATH
/home/wwwroot/hierqcn/wwwroot/vendor/
LOG_PATH
/home/wwwroot/hierqcn/wwwroot/runtime/log/
CACHE_PATH
/home/wwwroot/hierqcn/wwwroot/runtime/cache/
TEMP_PATH
/home/wwwroot/hierqcn/wwwroot/runtime/temp/
CONF_PATH
/home/wwwroot/hierqcn/wwwroot/home/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false