Err: "/app/sub/app/view/404.html" is not exists!

394.          }
395.      }
396. 
397.      public function compile($tempalte_name){
398.          $file $this->template_dir.DS.$tempalte_name;
399.          if(!file_exists($file)) err('Err: "'.$file.'" is not exists!');
400.          if(!is_writable($this->compile_dir) || !is_readable($this->compile_dir)) err('Err: Directory "'.$this->compile_dir.'" is not writable or readable');
401. 
402.          $complied_file $this->compile_dir.DS.md5(realpath($file)).'.'.filemtime($file).'.'.basename($tempalte_name).'.php';
403.          if(file_exists($complied_file))return $complied_file;
404. 
372.          $this->template_dir $template_dir;     
373.          $this->compile_dir  $compile_dir;
374.      }
375.      
376.      public function render($tempalte_name){
377.          $complied_file $this->compile($tempalte_name);
378.          
379.          @ob_start();
380.          extract($this->template_valsEXTR_SKIP);
381.          $_view_obj = & $this;
382.          include $complied_file;
188.          $this->_auto_display false;
189.          
190.          if($return){
191.              return $this->_v->render($tpl_name);
192.          }else{
193.              echo $this->_v->render($tpl_name);
194.          }
195.      }
196.  }
197. 
198.  class Model{
110. 
111.      public static function err404($module$controller$action)
112.      {
113.          header("HTTP/1.0 404 Not Found");
114.          $controlObj = new Controller;
115.          $controlObj->display("404.html");
116.          exit;
117.      }
118.      //    public function err404($menu,$site){
119.      //        header("HTTP/1.0 404 Not Found");
120.      ////        $controlObj = new Controller;
489.  function _err_router($msg){
490.      Global $__module$__controller$__action;
491.      if(!method_exists('BaseController''err404')){
492.          err($msg);
493.      }else{
494.          BaseController::err404($__module$__controller$__action$msg);
495.      }
496.  }
497.  function _err_handle($errno$errstr$errfile$errline){
498.      if(=== error_reporting())return false;
499.      $msg "ERROR";
71.  if(!empty($__module)){
72.      if(!is_available_classname($__module))_err_router("Err: Module '$__module' is not correct!");
73.      if(!is_dir(APP_CORE.DS.'controller'.DS.$__module))_err_router("Err: Module '$__module' is not exists!");
74.  }
75.  if(!is_available_classname($__controller))_err_router("Err: Controller '$controller_name' is not correct!");
76.  if(!class_exists($controller_nametrue))_err_router("Err: Controller '$controller_name' is not exists!");
77.  if(!method_exists($controller_name$action_name))_err_router("Err: Method '$action_name' of '$controller_name' is not exists!");
78. 
79.  $controller_obj = new $controller_name();
80.  $controller_obj->$action_name();
81. 
9. 
10.  require_once INC_PATH '/functions.php';
11.  require_once INCS_PATH '/function.php';
12.  require_once INCS_PATH '/ApiJava.php';
13. 
14.  require_once APP_CORE '/lib/speed.php';