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

836.       * @return string
837.       */
838.      public function compile($tempalte_name) {
839.          $file $this->template_dir DS $tempalte_name;
840.          if (!file_exists($file)) {
841.              err('Err: "' $file '" is not exists!');
842.          }
843. 
844.          if (!is_writable($this->compile_dir) || !is_readable($this->compile_dir)) {
845.              err('Err: Directory "' $this->compile_dir '" is not writable or readable');
846.          }
797.       
798.       * @param string $tempalte_name 模板名
799.       * @return string
800.       */
801.      public function render($tempalte_name) {
802.          $complied_file $this->compile($tempalte_name);
803. 
804.          @ob_start();
805.          extract($this->template_valsEXTR_SKIP);
806.          $_view_obj = &$this;
807.          include $complied_file;
415.          $this->_auto_display false;
416. 
417.          if ($return) {
418.              return $this->_v->render($tpl_name);
419.          } else {
420.              echo $this->_v->render($tpl_name);
421.          }
422.      }
423.  }
424. 
425.  /**
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.  }
205. 
206.  // 执行控制器
207.  $controller_obj = new $controller_name();
208. 
209.  try {
210.      $controller_obj->$action_name();
211.  } catch (\Throwable $e) {
212.      if (isset($_SERVER['HTTP_X_REQUESTED_WITH']) && strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) === 'xmlhttprequest') {
213.          header('Content-Type: application/json');
214.          echo json_encode(array('code' => -1'msg' => '系统异常: ' $e->getMessage() . ' 在 ' basename($e->getFile()) . ':' $e->getLine()), JSON_UNESCAPED_UNICODE);
215.      } else {
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.  ?>