[0] TemplateNotFoundException in Think.php line 82

模板文件不存在:template/datll_Layui//html/public/404.html

  1. */
  2. public function fetch($template, $data = [], $config = [])
  3. {
  4. if ('' == pathinfo($template, PATHINFO_EXTENSION)) {
  5. // 获取模板文件名
  6. $template = $this->parseTemplate($template);
  7. }
  8. // 模板不存在 抛出异常
  9. if (!is_file($template)) {
  10. throw new TemplateNotFoundException('template not exists:' . $template, $template);
  11. }
  12. // 记录视图信息
  13. App::$debug && Log::record('[ VIEW ] ' . $template . ' [ ' . var_export(array_keys($data), true) . ' ]', 'info');
  14. $this->template->fetch($template, $data, $config);
  15. }
  16. /**
  17. * 渲染模板内容
  18. * @access public

Call Stack

  1. in Think.php line 82
  2. at Think->fetch('template/datll_Layui...', ['maccms' => ['site_name' => '...', 'site_url' => 'qiqi360.com', 'site_wapurl' => 'qiqi360.com', ...], 'user' => ['user_id' => 0, 'user_name' => '游客', 'user_portrait' => 'static/images/touxia...', ...], 'param' => ['page' => 1, 'ajax' => 0, 'tid' => 0, ...], ...], []) in View.php line 163
  3. at View->fetch('public/404', ['maccms' => ['site_name' => '...', 'site_url' => 'qiqi360.com', 'site_wapurl' => 'qiqi360.com', ...], 'user' => ['user_id' => 0, 'user_name' => '游客', 'user_portrait' => 'static/images/touxia...', ...], 'param' => ['page' => 1, 'ajax' => 0, 'tid' => 0, ...], ...], ['__ROOT__' => '', '__URL__' => '/index/vod', '__STATIC__' => '/static', ...], []) in Controller.php line 120
  4. at Controller->fetch('public/404') in All.php line 45
  5. at All->label_fetch('public/404') in All.php line 116
  6. at All->page_error('获取失败') in All.php line 465
  7. at All->label_vod_play('play') in Vod.php line 88
  8. at Vod->play()
  9. at ReflectionMethod->invokeArgs(object(Vod), []) in App.php line 343
  10. at App::invokeMethod([object(Vod), 'play'], []) in App.php line 611
  11. at App::module([null, 'vod', 'play'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 456
  12. at App::exec(['type' => 'module', 'module' => [null, 'vod', 'play'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  13. at App::run() in start.php line 19
  14. at require('/home/wwwroot/jaru19...') in index.php line 39

Environment Variables

GET Data
empty
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_REFERER
http://qiqi360.com/vodplay/28443-1-11.html
HTTP_USER_AGENT
claudebot
HTTP_ACCEPT
*/*
HTTP_HOST
qiqi360.com
PATH_INFO
/vodplay/28443-1-11.html
REDIRECT_STATUS
200
SERVER_NAME
jaru190.com
SERVER_PORT
443
SERVER_ADDR
38.12.234.103
REMOTE_PORT
46828
REMOTE_ADDR
3.235.42.157
SERVER_SOFTWARE
nginx/1.22.1
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/2.0
DOCUMENT_ROOT
/home/wwwroot/jaru190.com
DOCUMENT_URI
/index.php
REQUEST_URI
/vodplay/28443-1-11.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/vodplay/28443-1-11.html
SCRIPT_FILENAME
/home/wwwroot/jaru190.com/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1710843739.2283
REQUEST_TIME
1710843739
Environment Variables
empty

ThinkPHP Constants

ROOT_PATH
/home/wwwroot/jaru190.com/
APP_PATH
/home/wwwroot/jaru190.com/application/
MAC_COMM
/home/wwwroot/jaru190.com/application/common/common/
MAC_HOME_COMM
/home/wwwroot/jaru190.com/application/index/common/
MAC_ADMIN_COMM
/home/wwwroot/jaru190.com/application/admin/common/
MAC_START_TIME
1710843739.2287
BIND_MODULE
index
ENTRANCE
index
IN_FILE
/index.php
THINK_VERSION
5.0.24
THINK_START_TIME
1710843739.2289
THINK_START_MEM
417928
EXT
.php
DS
/
THINK_PATH
/home/wwwroot/jaru190.com/thinkphp/
LIB_PATH
/home/wwwroot/jaru190.com/thinkphp/library/
CORE_PATH
/home/wwwroot/jaru190.com/thinkphp/library/think/
TRAIT_PATH
/home/wwwroot/jaru190.com/thinkphp/library/traits/
EXTEND_PATH
/home/wwwroot/jaru190.com/extend/
VENDOR_PATH
/home/wwwroot/jaru190.com/vendor/
RUNTIME_PATH
/home/wwwroot/jaru190.com/runtime/
LOG_PATH
/home/wwwroot/jaru190.com/runtime/log/
CACHE_PATH
/home/wwwroot/jaru190.com/runtime/cache/
TEMP_PATH
/home/wwwroot/jaru190.com/runtime/temp/
CONF_PATH
/home/wwwroot/jaru190.com/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
ADDON_PATH
/home/wwwroot/jaru190.com/addons/
MAC_URL
http://www.maccms.la/
MAC_NAME
苹果CMS
MAC_PATH
/
MAC_MOB
0
MAC_ROOT_TEMPLATE
/home/wwwroot/jaru190.com/template/datll_Layui//html/
MAC_PATH_TEMPLATE
/template/datll_Layui/
MAC_PATH_TPL
/template/datll_Layui//html/
MAC_PATH_ADS
/template/datll_Layui/广告目录/
MAC_PAGE_SP
_
MAC_PLAYER_SORT
1
MAC_ADDON_PATH
/home/wwwroot/jaru190.com/addons/
MAC_ADDON_PATH_STATIC
/home/wwwroot/jaru190.com/static/addons/