[0] HttpException in App.php line 395

控制器不存在:Zcjh

  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 395
  2. at App::module(['index', 'zcjh', '412'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], null) in App.php line 295
  3. at App::exec(['type' => 'module', 'module' => ['index', 'zcjh', '412']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 123
  4. at App::run() in start.php line 58
  5. at require('/www/wwwroot/qlzg.cc...') in public.php line 29
  6. at require('/www/wwwroot/qlzg.cc...') in index.php line 16