[0] HttpException in Module.php line 127

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

  1. : $this->request->param();
  2. $vars = array_merge($vars, $this->param);
  3. } elseif (is_callable([$instance, '_empty'])) {
  4. // 空操作
  5. $call = [$instance, '_empty'];
  6. $vars = [$this->actionName];
  7. $reflect = new ReflectionMethod($instance, '_empty');
  8. } else {
  9. // 操作不存在
  10. throw new HttpException(404, 'method not exists:' . get_class($instance) . '->' . $action . '()');
  11. }
  12. $this->app['hook']->listen('action_begin', $call);
  13. $data = $this->app->invokeReflectMethod($instance, $reflect, $vars);
  14. return $this->autoResponse($data);
  15. });

Call Stack

  1. in Module.php line 127
  2. at Module->think\route\dispatch\{closure}(object(Request), object(Closure), null)
  3. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  4. at Middleware->think\{closure}(object(Request))
  5. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  6. at Middleware->dispatch(object(Request), 'controller') in Module.php line 137
  7. at Module->exec() in Dispatch.php line 168
  8. at Dispatch->run() in App.php line 432
  9. at App->think\{closure}(object(Request), object(Closure), null)
  10. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  11. at Middleware->think\{closure}(object(Request))
  12. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  13. at Middleware->dispatch(object(Request)) in App.php line 435
  14. at App->run() in index.php line 36

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Session
index { "site": { "id": 1, "title": "Piececool Innovative Metal Works, Piececool Model Toys", "logo": "upload\/logo\/20191203\/475d75af0051892128313ffa45889085.png", "keywords": "Metal puzzle, Metal model, 3D puzzle, Metal assembled model, Metal DIY, Metal model toy, Creative gift & decoration", "description": "Piececool is the most creative and innovative metal DIY brand in China! Since the first metal model was released in China in 2014, Piececool metal DIY model has showed its shiny metal, visual art, lively details, original design idea, precise structure, and creative DIY assembly method to give the fun of assembly, artwork display and collection sharing to so many fans of model toys.", "company": "Wist Plastic & Metal Technology Limited.", "address": "No.5 Tangchun Jinfu Road, Liaobu Town, Dongguan, Guangdong.", "icp": "\u7ca4ICP\u590712065181\u53f7-3", "create_time": null, "update_time": "2019-12-03 11:19:47", "delete_time": 0 } }
Server/Request Data
USER www
HOME /home/www
FCGI_ROLE RESPONDER
SCRIPT_FILENAME /www/wwwroot/en/public/index.php
QUERY_STRING s=/en/index/product/index/id/171/pattern/5.html
REQUEST_METHOD GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME /index.php
REQUEST_URI /en/index/product/index/id/171/pattern/5.html
DOCUMENT_URI /index.php
DOCUMENT_ROOT /www/wwwroot/en/public
SERVER_PROTOCOL HTTP/1.0
REQUEST_SCHEME http
GATEWAY_INTERFACE CGI/1.1
SERVER_SOFTWARE nginx/1.20.2
REMOTE_ADDR 39.108.60.13
REMOTE_PORT 56906
SERVER_ADDR 172.18.27.203
SERVER_PORT 80
SERVER_NAME en.piececool.com
REDIRECT_STATUS 200
PATH_INFO
HTTP_X_FORWARDED_FOR 3.238.62.119
HTTP_HOST en.piececool.com
HTTP_CONNECTION close
HTTP_ACCEPT */*
HTTP_USER_AGENT claudebot
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711654823.9449
REQUEST_TIME 1711654823
Environment Variablesempty
ThinkPHP Constants
SYS_FILES_PATH /www/wwwroot/en/
APP_PATH /www/wwwroot/en/application/
APP_CONFIG config/
APP_LANG lang/
IN_PIECECOOL true
ROOT_PATH /www/wwwroot/en/
DS /
IN_UPLOAD_MAX_FILE 50M
IN_UPLOAD_MAX_FILESIZE 52428800
IN_POST_MAX 50M
IN_POST_MAX_SIZE 52428800
APP_MODULE index
APP_CONTROLLER index
APP_ACTION product
APP_AGENT claudebot
ROOT_DIR /
APP_MODULE_LINK /index
ROOT_NAME
STATIC_NAME static
UPLOAD_NAME upload
ADMIN_USER_NAME userinfo
UPLOAD_PATH upload
UPLOAD_PREFIX_NAME /
ADMIN_USER_SESSION_NAME userinfo
APP_PUBLIC_NAME_R public
UPLOAD_EDITOR_NAME editor
APP_ADMIN_PATH_INFO aid