无法找到视图文件,页面模板:kzone2022/page/pagelist.php
- /usr/home/hyu5709940001/htdocs/frphp/lib/View.php on line 72
67.
$controllerLayout = str_replace(File_TXT,'.html',$controllerLayout);
68.
if (file_exists($controllerLayout)) {
69.
$this->template($controllerLayout);
70.
}else{
71.
$f = strpos($name,File_TXT)!==false ? $name : $name.File_TXT;
72.
73.
Error_msg('无法找到视图文件,页面模板:'.$f);
}
74.
75.
}
76.
77.
- /usr/home/hyu5709940001/htdocs/frphp/lib/Controller.php on line 67
62.
}
63.
64.
// 渲染视图
65.
public function display($name=null)
66.
{
67.
68.
$this->_view->render($name);
}
69.
70.
// 获取URL参数值
71.
public function frparam($str=null, $int=0,$default = FALSE, $method = null){
72.
- /usr/home/hyu5709940001/htdocs/app/home/c/HomeController.php on line 342
337.
if(!$res['lists_html']){
338.
$lists_html = M('molds')->getField(['biaoshi'=>$this->type['molds']],'list_html');
339.
$res['lists_html'] = str_replace('.html','',$lists_html);
340.
}
341.
342.
343.
$this->display($this->template.'/'.$res['molds'].'/'.$res['lists_html']);
if(!$this->frparam('ajax')){
344.
$this->end_cache($this->cache_file);
345.
}
346.
347.
- /usr/home/hyu5709940001/htdocs/frphp/fr.php on line 339
334.
}
335.
336.
}
337.
}
338.
$dispatch = new $controller($param);
339.
340.
$dispatch->$actionName($param);
341.
342.
343.
344.
}
- /usr/home/hyu5709940001/htdocs/frphp/fr.php on line 94
89.
spl_autoload_register(array($this, 'loadClass'));
90.
$this->setDbConfig();
91.
$this->setReporting();
92.
$this->removeMagicQuotes();
93.
//$this->unregisterGlobals();
94.
95.
$this->route();
96.
}
97.
98.
// 路由处理
99.
public function route()
- /usr/home/hyu5709940001/htdocs/frphp/fr.php on line 469
464.
465.
// 加载配置文件
466.
$config = require(APP_PATH . 'conf/config.php');
467.
468.
//实例化核心类
469.
(new frphp($config))->run();
- /usr/home/hyu5709940001/htdocs/index.php on line 52
47.
48.
//定义静态文件路径
49.
define('Tpl_style','/static/');
50.
51.
// 加载框架文件
52.
53.
require(APP_PATH . 'frphp/fr.php');
54.
// 就这么简单~
55.