https://www.zkii.net/tech/php/1711.html
0] TemplateNotFoundException in Think.php line 82
模板文件不存在:/usr/home/byu7606440001/htdocs/public/public/themes/simpleboot3/portal/index.html
*/
public function fetch($template, $data = [], $config = [])
{
if ('' == pathinfo($template, PATHINFO_EXTENSION)) {
// 获取模板文件名
$template = $this->parseTemplate($template);
}
// 模板不存在 抛出异常
if (!is_file($template)) {
throw new TemplateNotFoundException('template not exists:' . $template, $template);
}
// 记录视图信息
App::$debug && Log::record('[ VIEW ] ' . $template . ' [ ' . var_export(array_keys($data), true) . ' ]', 'info');
$this->template->fetch($template, $data, $config);
}
/**
* 渲染模板内容
* @access public
Call Stack
in Think.php line 82
at Think->fetch('/usr/home/byu7606440...', ['site_info' => ['site_name' => '...', 'site_seo_title' => '...', 'site_seo_keywords' => '...', ...], 'product' => [['id' => '96', 'more' => ['audio' => '', 'video' => '', 'thumbnail' => 'portal/20200910/a7b6...', ...], 'post_title' => '...', ...]], 'case' => [['id' => '11', 'more' => ['audio' => '', 'video' => '', 'thumbnail' => 'portal/20200910/5d25...', ...], 'post_title' => '...', ...], ['id' => '12', 'more' => ['audio' => '', 'video' => '', 'thumbnail' => 'portal/20200910/0ac6...', ...], 'post_title' => '...', ...], ['id' => '13', 'more' => ['audio' => '', 'video' => '', 'thumbnail' => 'portal/20200910/2ce9...', ...], 'post_title' => '...', ...], ...], ...], []) in View.php line 164
at View->fetch('/usr/home/byu7606440...', [], [], []) in Controller.php line 120
at Controller->fetch('/usr/home/byu7606440...', [], [], []) in HomeBaseController.php line 167
at HomeBaseController->fetch(':index') in IndexController.php line 147
at IndexController->index()
at ReflectionMethod->invokeArgs(object(IndexController), []) in App.php line 343
at App::invokeMethod([object(IndexController), 'index'], []) in App.php line 611
at App::module(['', null, null], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], null) in App.php line 457
at App::exec(['type' => 'module', 'module' => ['', null, null]], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
at App::run() in index.php line 44
Powered by ddoss.cn 12.0
©2015 - 2025 ddoss
渝公网安备50011302222260号
渝ICP备2024035333号
【实验平台安全承诺书】
小绿叶技术社区,优化网络中,点击查看配置信息
主机监控系统: 安全防火墙已开启检查cc攻击-下载文件完成后等待10s 恢复访问,检查连接数低于峰值恢复访问
您的IP:10.8.103.62,2025-12-09 05:57:14,Processed in 0.01868 second(s).