Smarty Error: Unable to load template file 'Home/map.html'

47.                  $this->addfuncs();
48.                  $this->displayed TRUE;
49.                  if($GLOBALS['G_SP']['view']['debugging'] && SP_DEBUG)$this->engine->debugging TRUE;
50.                  $this->engine->display($tplname);
51.          } catch (Exception $e) {
52.              spError$GLOBALS['G_SP']['view']['engine_name']. ' Error: '.$e->getMessage() );
53.          }
54.      }
55.      
56.      /**
57.       注册视图函数
100.       */
101.      public function display($tplname$output TRUE)
102.      {
103.          @ob_start();
104.          if(TRUE == $GLOBALS['G_SP']['view']['enabled']){
105.              $this->v->display($tplname);
106.          }else{
107.              extract($this->__template_vals);
108.              require($tplname);
109.          }
110.          if( TRUE != $output )return ob_get_clean();
346.      //网站地图
347.      public function map(){
348.          $this->pcat spClass('m_pcat')->findAll();
349.          $this->ncat spClass('m_ncat')->findAll();
350.          $this->spag spClass('m_spag')->findAll();
351.          $this->display('Home/map.html');
352.      }
353.  }
27.          }else{
28.              spClass('m_conf')->update(array('id'=>1),array('yuefen'=>date('Y-m')));
29.          }
30.      }
31.      // 路由并执行用户代码
32.      $handle_controller->$__action();
33.      // 控制器程序运行完毕,进行模板的自动输出
34.      if(FALSE != $GLOBALS['G_SP']['view']['auto_display']){
35.          $__tplname $__controller.$GLOBALS['G_SP']['view']['auto_display_sep'].
36.                  $__action.$GLOBALS['G_SP']['view']['auto_display_suffix']; // 拼装模板路径
37.          $handle_controller->auto_display($__tplname);
7.  //加载配置文件
8.  require('config.php');
9.  //加载框架核心
10.  require(SP_PATH.'/SpeedPHP.php');
11.  //执行应用
12.  spRun();
13.  ?>