Smarty Error: Unable to load template file 'coupon/page/product.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();
2777.                  $coupons spClass('m_coupon_category')->findSql($sql);
2778.                  foreach ($coupons as $c) {
2779.                      $data[$c['productType']]['couponUrl'] = sprintf("%smain/couponReceive/id/%s.html"MAIN_URL$c['id']);
2780.                  }
2781.                  $this->data $data;
2782.                  $this->display('coupon/page/product.tpl');
2783.                  break;
2784.              case 'tbzcooperation':
2785.                  $this->site = array(
2786.                      'title'=>'商户合作版',
2787.                      'keywords'=>'图帮主,自助设计,平面设计工具,平面设计',
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-pc.php');
4.  require(BASE_PATH."/index.php");