Smarty Error: Unable to load template file 'Home/tags.html'
- /home/wwwroot/www.ly-max.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.
* 注册视图函数
- /home/wwwroot/www.ly-max.com/Comm/MyFrame/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();
- /home/wwwroot/www.ly-max.com/Action/home.php on line 302
297.
$this->keys = $this->spArgs('keyword');
298.
$this->display('Home/tagList.html');
299.
}else{
300.
//所有TAGS
301.
$this->tags = spClass('m_tags')->findSql('SELECT *, count(id) as gjcnum FROM vn_tags group by gjc'); // 执行查找
302.
303.
$this->display('Home/tags.html');
}
304.
}
305.
//网站地图
306.
public function map(){
307.
$this->pcat = spClass('m_pcat')->findAll();
- /home/wwwroot/www.ly-max.com/Comm/MyFrame/spFunctions.php on line 33
28.
// }else{
29.
// spClass('m_conf')->update(array('id'=>1),array('yuefen'=>date('Y-m')));
30.
// }
31.
// }
32.
// 路由并执行用户代码
33.
34.
$handle_controller->$__action();
// 控制器程序运行完毕,进行模板的自动输出
35.
if(FALSE != $GLOBALS['G_SP']['view']['auto_display']){
36.
$__tplname = $__controller.$GLOBALS['G_SP']['view']['auto_display_sep'].
37.
$__action.$GLOBALS['G_SP']['view']['auto_display_suffix']; // 拼装模板路径
38.
$handle_controller->auto_display($__tplname);
- /home/wwwroot/www.ly-max.com/index.php on line 12
7.
//加载配置文件
8.
require('config.php');
9.
//加载框架核心
10.
require(SP_PATH.'/SpeedPHP.php');
11.
//执行应用
12.
13.
spRun();
?>