[0] HttpException in Url.php line 63

控制器不存在:org-10001

  1. if ($this->param['auto_search']) {
  2. $controller = $this->autoFindController($module, $path);
  3. } else {
  4. // 解析控制器
  5. $controller = !empty($path) ? array_shift($path) : null;
  6. }
  7. if ($controller && !preg_match('/^[A-Za-z0-9][\w|\.]*$/', $controller)) {
  8. throw new HttpException(404, 'controller not exists:' . $controller);
  9. }
  10. // 解析操作
  11. $action = !empty($path) ? array_shift($path) : null;
  12. // 解析额外参数
  13. if ($path) {
  14. if ($this->app['config']->get('url_param_type')) {
  15. $var += $path;

Call Stack

  1. in Url.php line 63
  2. at Url->parseUrl('training|org-10001|a...') in Url.php line 24
  3. at Url->run() in App.php line 363
  4. at App->run() in index.php line 25