Smarty Error: Unable to load template file 'Home/contact.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();
595.              $this->xgtj spClass('m_tags')->findAll($condition,'id DESC',null,10);
596.          
597.          $dqurl='http://'.$_SERVER['HTTP_HOST'].'/page-'.$id.'.html';
598.          $this->dqurl=str_replace('http://www.','http://m.',$dqurl);                
599.          if(== intval($this->spArgs('id'))){
600.              $this->display('Home/contact.html');
601.          }else{
602.              $this->display('Home/spagInfo.html');
603.          }
604.      }
605.      //单页相关|详细
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);
8.  require('config.php');
9.  //加载框架核心
10.  require(SP_PATH.'/SpeedPHP.php');
11.  require('functions.php');
12.  //执行应用
13.  spRun();
14.  ?>