Err: "/www/wwwroot/test.com/protected/view/main_404.html" is not exists!

413.          }
414.      }
415. 
416.      public function compile($tempalte_name){
417.          $file $this->template_dir.DS.$tempalte_name;
418.          if(!file_exists($file)) err('Err: "'.$file.'" is not exists!');
419.          if(!is_writable($this->compile_dir) || !is_readable($this->compile_dir)) err('Err: Directory "'.$this->compile_dir.'" is not writable or readable');
420. 
421.          $complied_file $this->compile_dir.DS.md5(realpath($file)).'.'.filemtime($file).'.'.basename($tempalte_name).'.php';
422.          if(file_exists($complied_file))return $complied_file;
423. 
580.              
581.              <?php endif; ?>
582.              
583.          </div>
584.          <div class="ax-col ax-col-10">
585.              <?php include $_view_obj->compile($__template_file); ?>
586.          </div>
587.          <div class="ax-col ax-col-1">
588.              <?php if ($game_tutorial) : ?>
589.              <div class="ax-panel ax-margin" axPanel>
590.                  <div class="ax-panel-header">
396.          $complied_file $this->compile($tempalte_name);
397.          
398.          @ob_start();
399.          extract($this->template_valsEXTR_SKIP);
400.          $_view_obj = & $this;
401.          include $complied_file;
402.          
403.          return ob_get_clean();
404.      
405.      
406.      public function assign($mixed$val ''){
208.          $this->_auto_display false;
209.          
210.          if($return){
211.              return $this->_v->render($tpl_name);
212.          }else{
213.              echo $this->_v->render($tpl_name);
214.          }
215.      }
216.  }
217. 
218.  class Model{
1365.      function action404(){}
1366.      // 详情页面
1367.      function actionDetails(){
1368.          $id arg("id",0);
1369.          if($id == 0){
1370.              $this->display("main_404.html");
1371.              exit();
1372.          }
1373.          $QtSources = new QtSources(); 
1374.          $ZDRedis = new ZDRedis();
1375.  //         $_record = $ZDRedis->get("record_details");
91.      exit;
92.  };
93.  if(!method_exists($controller_name$action_name))_err_router("Err: Method '$action_name' of '$controller_name' is not exists!");
94. 
95.  $controller_obj = new $controller_name();
96.  $controller_obj->$action_name();
97. 
98.  if($controller_obj->_auto_display){
99.      $auto_tpl_name = (empty($__module) ? '' $__module.DS).$__controller.'_'.$__action.'.html';
100.      if(file_exists(APP_DIR.DS.'protected'.DS.'view'.DS.$auto_tpl_name))$controller_obj->display($auto_tpl_name);
101.  }
3.  header('Access-Control-Allow-Origin: *');
4.  header('Access-Control-Allow-Methods: GET, POST, OPTIONS');
5.  header('Access-Control-Allow-Headers: Content-Type, Authorization, X-Requested-With');
6.  define('APP_DIR'realpath('./'));
7.  define("APP_PATH",dirname(__FILE__));
8.  require(APP_DIR.'/protected/lib/speed.php');