Smarty Error: Unable to load template file 'Home/news.htm'
- D:\wwwroot\gaowendianlu.com\Comm\MyFrame\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.
* 注册视图函数
- D:\wwwroot\gaowendianlu.com\Comm\MyFrame\Core\spController.php on line 164
159.
$tplname = $tpl.'/'.$tplname;
160.
//echo $tplname; die();
161.
}
162.
163.
if(TRUE == $GLOBALS['G_SP']['view']['enabled']){
164.
165.
$this->v->display($tplname);
}else{
166.
extract($this->__template_vals);
167.
require($tplname);
168.
}
169.
if( TRUE != $output )return ob_get_clean();
- D:\wwwroot\gaowendianlu.com\Action\home.php on line 309
304.
$this->total_page = $total_page;
305.
}else{
306.
$this->total_page = 0;
307.
}
308.
//输出模板
309.
310.
$this->display('news.htm');
}
311.
312.
/**
313.
* 新闻信息页
314.
*/
- D:\wwwroot\gaowendianlu.com\Comm\MyFrame\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);
- D:\wwwroot\gaowendianlu.com\index.php on line 18
13.
//加载配置文件
14.
require(APP_PATH.'/data/config.php');
15.
//加载框架核心
16.
require(SP_PATH.'/SpeedPHP.php');
17.
//执行应用
18.
spRun();