Smarty Error: Unable to load template file 'm2-landing/page/activity.tpl'

58.                  $this->addfuncs();
59.                  $this->displayed TRUE;
60.                  if($GLOBALS['G_SP']['view']['debugging'] && SP_DEBUG)$this->engine->debugging TRUE;
61.                  $this->engine->display($tplname);
62.          } catch (Exception $e) {
63.              spError$GLOBALS['G_SP']['view']['engine_name']. ' Error: '.$e->getMessage() );
64.          }
65.      }
66.      
67.      /**
68.       注册视图函数
129.       */
130.      public function display($tplname$output TRUE)
131.      {
132.          @ob_start();
133.          if(TRUE == $GLOBALS['G_SP']['view']['enabled']){
134.              $this->v->display($tplname);
135.          }else{
136.              extract($this->__template_vals);
137.              require($tplname);
138.          }
139.          if( TRUE != $output )return ob_get_clean();
3327.                  $this->site = array(
3328.                      'title' => '场景物料',
3329.                      'keywords' => '场景物料',
3330.                      'description' => '场景物料',
3331.                  );
3332.                  $this->display("m2-landing/page/activity.tpl");
3333.                  break;
3334.          }
3335.          
3336.      }
3337.      /**
29.          header('location: /main/notfound.html');exit();
30.          eval($GLOBALS['G_SP']["dispatcher_error"]);
31.          exit;
32.      }
33.      // 路由并执行用户代码
34.      $handle_controller->$__action();
35.      // 控制器程序运行完毕,进行模板的自动输出
36.      if(FALSE != $GLOBALS['G_SP']['view']['auto_display']){
37.          $__tplname $__controller.$GLOBALS['G_SP']['view']['auto_display_sep'].
38.                  $__action.$GLOBALS['G_SP']['view']['auto_display_suffix']; // 拼装模板路径
39.          $handle_controller->auto_display($__tplname);
1.  <?php
2.  require(SP_PATH."/SpeedPHP.php");
3.  spRun();
1.  <?php
2.  header('Access-Control-Allow-Origin:*');
3.  $spConfig = require(dirname(dirname(__DIR__)) . '/config/config-m.php');
4.  require(BASE_PATH."/index.php");