[0] HttpException in Module.phphtml line 96

控制器不存在:app\index\controller\Product

  1. $this->app['hook']->listen('module_init');
  2. try {
  3. // 实例化控制器
  4. $instance = $this->app->controller($this->controller,
  5. $this->rule->getConfig('url_controller_layer'),
  6. $this->rule->getConfig('controller_suffix'),
  7. $this->rule->getConfig('empty_controller'));
  8. } catch (ClassNotFoundException $e) {
  9. throw new HttpException(404, 'controller not exists:' . $e->getClass());
  10. }
  11. $this->app['middleware']->controller(function (Request $request, $next) use ($instance) {
  12. // 获取当前操作名
  13. $action = $this->actionName . $this->rule->getConfig('action_suffix');
  14. if (is_callable([$instance, $action])) {
  15. // 执行操作方法
  16. $call = [$instance, $action];

Call Stack

  1. in Module.phphtml line 96
  2. at Module->exec() in Dispatch.phphtml line 168
  3. at Dispatch->run() in App.phphtml line 432
  4. at App->think\{closure}(object(Request), object(Closure), null)
  5. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.phphtml line 185
  6. at Middleware->think\{closure}(object(Request)) in sys.phphtml line 145
  7. at {closure}(object(Request), object(Closure), null)
  8. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.phphtml line 185
  9. at Middleware->think\{closure}(object(Request)) in common.phphtml line 247
  10. at {closure}(object(Request), object(Closure), null)
  11. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.phphtml line 185
  12. at Middleware->think\{closure}(object(Request))
  13. at call_user_func(object(Closure), object(Request)) in Middleware.phphtml line 130
  14. at Middleware->dispatch(object(Request)) in App.phphtml line 435
  15. at App->run() in index.phphtml line 28

Environment Variables

GET Data
id 15915
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_USER_AGENT Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)
HTTP_ACCEPT */*
HTTP_HOST yunzhan.jfbszp.com
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME yunzhan.jfbszp.com
SERVER_PORT 80
SERVER_ADDR 47.94.37.3
REMOTE_PORT 59769
REMOTE_ADDR 156.234.144.46
SERVER_SOFTWARE nginx/1.14.2
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/yunzhan.solarbe.com/public
DOCUMENT_URI /index.phphtml
REQUEST_URI /index/product/product_details.html?id=15915
SCRIPT_NAME /index.phphtml
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/index/product/product_details.html&id=15915
SCRIPT_FILENAME /www/wwwroot/yunzhan.solarbe.com/public/index.phphtml
FCGI_ROLE RESPONDER
PHP_SELF /index.phphtml
REQUEST_TIME_FLOAT 1610456401.0437
REQUEST_TIME 1610456401
Environment Variablesempty
ThinkPHP Constants
PHP_FLOAT_DIG 15
PHP_FLOAT_EPSILON 2.2204460492503E-16
PHP_FLOAT_MIN 2.2250738585072E-308
PHP_FLOAT_MAX 1.7976931348623E+308
PHP_OS_FAMILY Linux
QINIU_FUNCTIONS_VERSION 7.2.10
ThinkPHP V5.1.39 LTS { 十年磨一剑-为API开发设计的高性能框架 }
亚博网站betway必威体育官网竞技宝电竞