Smarty Error: Unable to load template file 'm2-landing/page/activity.tpl'
- /data/project/shop-demo/php/SpeedPHP/Core/spView.php on line 63
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.
64.
spError( $GLOBALS['G_SP']['view']['engine_name']. ' Error: '.$e->getMessage() );
}
65.
}
66.
67.
/**
68.
* 注册视图函数
- /data/project/shop-demo/php/SpeedPHP/Core/spController.php on line 137
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.
138.
$this->v->display($tplname);
}else{
139.
extract($this->__template_vals);
140.
require($tplname);
141.
}
142.
if( TRUE != $output )return ob_get_clean();
- /data/project/shop-demo/php/controller/m.php on line 3334
3329.
$this->site = array(
3330.
'title' => '场景物料',
3331.
'keywords' => '场景物料',
3332.
'description' => '场景物料',
3333.
);
3334.
3335.
$this->display("m2-landing/page/activity.tpl");
break;
3336.
}
3337.
3338.
}
3339.
/**
- /data/project/shop-demo/php/SpeedPHP/spFunctions.php on line 34
29.
header('location: /main/notfound.html');exit();
30.
eval($GLOBALS['G_SP']["dispatcher_error"]);
31.
exit;
32.
}
33.
// 路由并执行用户代码
34.
35.
$handle_controller->$__action();
// 控制器程序运行完毕,进行模板的自动输出
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);
- /data/project/shop-demo/php/index.php on line 3
1.
<?php
2.
require(SP_PATH."/SpeedPHP.php");
3.
spRun();
- /data/project/shop-demo/web/m/index.php on line 4
1.
<?php
2.
header('Access-Control-Allow-Origin:*');
3.
$spConfig = require(dirname(dirname(__DIR__)) . '/config/config-m.php');
4.
require(BASE_PATH."/index.php");