Smarty Error: Unable to load template file 'error.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.       注册视图函数
132.          @ob_start();
133.          if(TRUE == $GLOBALS['G_SP']['view']['enabled']){
134.              if (strpos($tplname,'manage/') !== false && strpos($tplname,'ddy-manage/') === false) {
135.                  $tplname str_replace('manage/''ddy-manage/page/'$tplname);
136.              }
137.              $this->v->display($tplname);
138.          }else{
139.              extract($this->__template_vals);
140.              require($tplname);
141.          }
142.          if( TRUE != $output )return ob_get_clean();
620.          //新增
621.          $this->specGroup $goodsInfo['specGroup'];
622.          if(!$goodsInfo){
623.              $this->error '参数错误,操作失败!';
624.              $this->href '/';
625.              $this->display('error.tpl');
626.              exit();
627.          }
628.          //商品优惠金额计算
629.          if($goodsInfo['discountInfo']){
630.              $nowTime strtotime(date("Y-m-d"));
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");