Smarty Error: Unable to load template file 'tag_index.html'
- D:\wwwroot\www.iguoguo.net\u\init\Core\spView.php on line 53
48.
$this->displayed = TRUE;
49.
$this->addfuncs();
50.
if($GLOBALS['G_SP']['view']['debugging'] && SP_DEBUG)$this->engine->debugging = TRUE;
51.
$this->engine->display($tplname);
52.
} catch (Exception $e) {
53.
54.
spError( $GLOBALS['G_SP']['view']['engine_name']. ' Error: '.$e->getMessage() );
}
55.
}
56.
57.
/**
58.
* 注册已挂靠的视图函数
- D:\wwwroot\www.iguoguo.net\u\init\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();
- D:\wwwroot\www.iguoguo.net\u\controller\blog.php on line 35
30.
31.
32.
33.
$this->pager = spClass('db_blog')->spPager()->pagerHtml('blog','tag',array('tag'=>$tag));
34.
$page = spClass('db_blog')->spPager()->getPager();
35.
36.
$this->display('tag_index.html');
37.
}
38.
39.
40.
- D:\wwwroot\www.iguoguo.net\u\init\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\www.iguoguo.net\u\index.php on line 19
14.
require(SP_PATH."/init.php");
15.
require(SP_PATH."/Extensions/thFunctions.php");
16.
17.
import(APP_PATH.'/controller/top.php',$auto_search = TRUE, $auto_error = TRUE); //TOP全局控制器
18.
header("Content-type: text/html; charset=utf-8");
19.
20.
spRun();
?>