Smarty Error: Unable to load template file 'template//cate/supermarkets.html'
- /www/wwwroot/web/www.31ba.com/SpeedPHP/Core/spView.php on line 52
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.
53.
spError( $GLOBALS['G_SP']['view']['engine_name']. ' Error: '.$e->getMessage() );
}
54.
}
55.
56.
/**
57.
* 注册视图函数
- /www/wwwroot/web/www.31ba.com/SpeedPHP/Core/spController.php on line 105
100.
*/
101.
public function display($tplname, $output = TRUE)
102.
{
103.
@ob_start();
104.
if(TRUE == $GLOBALS['G_SP']['view']['enabled']){
105.
106.
$this->v->display($tplname);
}else{
107.
extract($this->__template_vals);
108.
require($tplname);
109.
}
110.
if( TRUE != $output )return ob_get_clean();
- /www/wwwroot/web/www.31ba.com/controller/cate.php on line 63
58.
$this->Itemall = $Itemall;
59.
$conditions_higher = array( 'cid' => $Itemall[0]['pid'] );
60.
$Itemall_higher = $libObj->find($conditions_higher);
61.
$this->Itemall_higher = $Itemall_higher;
62.
63.
64.
$this->display('template/'.$this->template_name.'/cate/'.$Item['tplmod'].'.html'); // 显示模板
}
65.
else
66.
{
67.
$this->title = "分类模型";
68.
$conditions_lib = array( 'ishide' => 1 );
- /www/wwwroot/web/www.31ba.com/SpeedPHP/spFunctions.php on line 21
16.
if(!is_object($handle_controller) || !method_exists($handle_controller, $__action)){
17.
eval($GLOBALS['G_SP']["dispatcher_error"]);
18.
exit;
19.
}
20.
// 路由并执行用户代码
21.
22.
$handle_controller->$__action();
// 控制器程序运行完毕,进行模板的自动输出
23.
if(FALSE != $GLOBALS['G_SP']['view']['auto_display']){
24.
$__tplname = $__controller.$GLOBALS['G_SP']['view']['auto_display_sep'].
25.
$__action.$GLOBALS['G_SP']['view']['auto_display_suffix']; // 拼装模板路径
26.
$handle_controller->auto_display($__tplname);
- /www/wwwroot/web/www.31ba.com/index.php on line 58
53.
),
54.
)
55.
);
56.
require(SP_PATH."/SpeedPHP.php");
57.
import(APP_PATH.'/controller/tplbasis.php'); // 需要先载入top控制器父类
58.
spRun();