[0] HttpException in App.php line 341

模块不存在:教程类

  1. // 模块初始化
  2. if ($module && $available) {
  3. // 初始化模块
  4. $request->module($module);
  5. $config = self::init($module);
  6. // 模块请求缓存检查
  7. $request->cache($config['request_cache'], $config['request_cache_expire']);
  8. } else {
  9. throw new HttpException(404, 'module not exists:' . $module);
  10. }
  11. } else {
  12. // 单一模块部署
  13. $module = '';
  14. $request->module($module);
  15. }
  16. // 当前模块路径
  17. App::$modulePath = APP_PATH . ($module ? $module . DS : '');

Call Stack

  1. in App.php line 341
  2. at App::module(['教程类', null, null], ['app_namespace' => 'app', 'app_debug' => true, 'app_trace' => false, ...], null) in App.php line 130
  3. at App::run() in start.php line 18
  4. at require('/www/wwwroot/www.yl8...') in idxyl.php line 11