[0] HttpException in App.php line 565

控制器不存在:app\shop\controller\Surveys

  1. Hook::listen('module_init', $request);
  2. try {
  3. $instance = Loader::controller(
  4. $controller,
  5. $config['url_controller_layer'],
  6. $config['controller_suffix'],
  7. $config['empty_controller']
  8. );
  9. } catch (ClassNotFoundException $e) {
  10. throw new HttpException(404, 'controller not exists:' . $e->getClass());
  11. }
  12. // 获取当前操作名
  13. $action = $actionName . $config['action_suffix'];
  14. $vars = [];
  15. if (is_callable([$instance, $action])) {
  16. // 执行操作方法
  17. $call = [$instance, $action];

Call Stack

  1. in App.php line 565
  2. at App::module(['shop', 'Surveys', null], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], true) in App.php line 452
  3. at App::exec(['type' => 'module', 'module' => ['shop', 'Surveys', null]], ['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('/data/wwwroot/lt95/t...') in index.php line 5