[0] HttpException in App.php line 389

控制器不存在:Goods

  1. // 设置当前请求的控制器、操作
  2. $request->controller(Loader::parseName($controller, 1))->action($actionName);
  3. // 监听module_init
  4. Hook::listen('module_init', $request);
  5. $instance = Loader::controller($controller, $config['url_controller_layer'], $config['controller_suffix'], $config['empty_controller']);
  6. if (is_null($instance)) {
  7. throw new HttpException(404, 'controller not exists:' . Loader::parseName($controller, 1));
  8. }
  9. // 获取当前操作名
  10. $action = $actionName . $config['action_suffix'];
  11. $vars = [];
  12. if (is_callable([$instance, $action])) {
  13. // 执行操作方法
  14. $call = [$instance, $action];
  15. } elseif (is_callable([$instance, '_empty'])) {

Call Stack

  1. in App.php line 389
  2. at App::module(['index', 'goods', 'goodslist'], ['app_debug' => true, 'app_trace' => false, 'app_status' => '', ...], null) in App.php line 294
  3. at App::exec(['type' => 'module', 'module' => ['index', 'goods', 'goodslist']], ['app_debug' => true, 'app_trace' => false, 'app_status' => '', ...]) in App.php line 123
  4. at App::run() in start.php line 19
  5. at require('/www/file/thinkphp/s...') in index.php line 26

Environment Variables

GET Data

/index/goods/goodslist/id/54_html
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_ACCEPT
*/*
HTTP_USER_AGENT
claudebot
HTTP_HOST
www.hj0471.com
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.hj0471.com Port 80</address>
SERVER_SOFTWARE
Apache
SERVER_NAME
www.hj0471.com
SERVER_ADDR
192.168.1.66
SERVER_PORT
80
REMOTE_ADDR
52.55.214.236
DOCUMENT_ROOT
/www/file
REQUEST_SCHEME
http
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT
/www/file
SERVER_ADMIN
webmaster@example.com
SCRIPT_FILENAME
/www/file/index.php
REMOTE_PORT
58510
REDIRECT_URL
/index/goods/goodslist/id/54.html
REDIRECT_QUERY_STRING
/index/goods/goodslist/id/54.html
GATEWAY_INTERFACE
CGI/1.1
SERVER_PROTOCOL
HTTP/1.1
REQUEST_METHOD
GET
QUERY_STRING
/index/goods/goodslist/id/54.html
REQUEST_URI
/index/goods/goodslist/id/54.html
SCRIPT_NAME
/index.php
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1711646797.3028
REQUEST_TIME
1711646797
PATH_INFO
/index/goods/goodslist/id/54.html
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/file/application/
RUNTIME_PATH
/www/file/runtime/
THINK_VERSION
5.0.8
THINK_START_TIME
1711646797.303
THINK_START_MEM
236512
EXT
.php
DS
/
THINK_PATH
/www/file/thinkphp/
LIB_PATH
/www/file/thinkphp/library/
CORE_PATH
/www/file/thinkphp/library/think/
TRAIT_PATH
/www/file/thinkphp/library/traits/
ROOT_PATH
/www/file/
EXTEND_PATH
/www/file/extend/
VENDOR_PATH
/www/file/vendor/
LOG_PATH
/www/file/runtime/log/
CACHE_PATH
/www/file/runtime/cache/
TEMP_PATH
/www/file/runtime/temp/
CONF_PATH
/www/file/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
QINIU_FUNCTIONS_VERSION
7.1.3