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

826.       * @return string
827.       */
828.      public function compile($tempalte_name) {
829.          $file $this->template_dir DS $tempalte_name;
830.          if (!file_exists($file)) {
831.              err('Err: "' $file '" is not exists!');
832.          }
833. 
834.          if (!is_writable($this->compile_dir) || !is_readable($this->compile_dir)) {
835.              err('Err: Directory "' $this->compile_dir '" is not writable or readable');
836.          }
787.       
788.       * @param string $tempalte_name 模板名
789.       * @return string
790.       */
791.      public function render($tempalte_name) {
792.          $complied_file $this->compile($tempalte_name);
793. 
794.          @ob_start();
795.          extract($this->template_valsEXTR_SKIP);
796.          $_view_obj = &$this;
797.          include $complied_file;
405.          $this->_auto_display false;
406. 
407.          if ($return) {
408.              return $this->_v->render($tpl_name);
409.          } else {
410.              echo $this->_v->render($tpl_name);
411.          }
412.      }
413.  }
414. 
415.  /**
35.          if (!file_exists($templateFile)) {
36.              exit($templateFile.' -> 无首页模板,请前往后台进行首页模板设置');
37.          }
38.          
39.          $this->assets '/Template/Index/' $template '/assets/';
40.          $this->display($template '/index.html');
41.      }
42.  }
203.      _err_router("Err: Method '$action_name' of '$controller_name' is not exists!");
204.  }
205. 
206.  // 执行控制器
207.  $controller_obj = new $controller_name();
208.  $controller_obj->$action_name();
209. 
210.  // 自动渲染视图
211.  if ($controller_obj->_auto_display) {
212.      $auto_tpl_name = (empty($__module) ? '' $__module DS) . $__controller '_' $__action '.html';
213.      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.  ?>