Err: "/www/wwwroot/syz.kuz5.cn/protected/view/default/index.html" is not exists!

773.       * @return string
774.       */
775.      public function compile($tempalte_name) {
776.          $file $this->template_dir DS $tempalte_name;
777.          if (!file_exists($file)) {
778.              err('Err: "' $file '" is not exists!');
779.          }
780. 
781.          if (!is_writable($this->compile_dir) || !is_readable($this->compile_dir)) {
782.              err('Err: Directory "' $this->compile_dir '" is not writable or readable');
783.          }
734.       
735.       * @param string $tempalte_name 模板名
736.       * @return string
737.       */
738.      public function render($tempalte_name) {
739.          $complied_file $this->compile($tempalte_name);
740. 
741.          @ob_start();
742.          extract($this->template_valsEXTR_SKIP);
743.          $_view_obj = &$this;
744.          include $complied_file;
352.          $this->_auto_display false;
353. 
354.          if ($return) {
355.              return $this->_v->render($tpl_name);
356.          } else {
357.              echo $this->_v->render($tpl_name);
358.          }
359.      }
360.  }
361. 
362.  /**
9.              $template_index $template.'/index.html';
10.          }else{
11.              echo TEMPLATE_ROOT;
12.              exit(' -> 无首页模板,请前往后台进行首页模板设置');
13.          }
14.          $this->display($template_index);
15.      }
16.  }
153.      _err_router("Err: Method '$action_name' of '$controller_name' is not exists!");
154.  }
155. 
156.  // 执行控制器
157.  $controller_obj = new $controller_name();
158.  $controller_obj->$action_name();
159. 
160.  // 自动渲染视图
161.  if ($controller_obj->_auto_display) {
162.      $auto_tpl_name = (empty($__module) ? '' $__module DS) . $__controller '_' $__action '.html';
163.      if (file_exists(APP_DIR DS 'protected' DS 'view' DS $auto_tpl_name)) {
103.  }
104. 
105.  define('APP_DIR'realpath('./'));
106.  require(APP_DIR.'/protected/Version.php');
107.  require(APP_DIR.'/protected/lib/Common.php');
108.  require(APP_DIR.'/protected/lib/speed.php');
109.  ?>