[0] TemplateNotFoundException in Think.php line 80

模板文件不存在:/www/wwwroot/13hao/public_html/../application/index/view/qiye/c/ipad_h.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 80
  2. at Think->fetch('qiye/c/ipad_h', ['navwap' => [object(Nav), object(Nav), object(Nav), ...], 'li' => null, 'info' => ['web_ming' => '天命网络', 'web_ren' => '钱先生', 'web_mobile' => '', ...], ...], []) in View.php line 163
  3. at View->fetch('qiye/c/ipad_h', [], [], []) in Controller.php line 120
  4. at Controller->fetch('qiye/c/ipad_h') in Base.php line 244
  5. at Base->test() in Index.php line 62
  6. at Index->ipad_h()
  7. at ReflectionMethod->invokeArgs(object(Index), []) in App.php line 343
  8. at App::invokeMethod([object(Index), 'ipad_h'], []) in App.php line 599
  9. at App::module(['index', 'index', 'ipad_h'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 457
  10. at App::exec(['type' => 'module', 'module' => ['index', 'index', 'ipad_h'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  11. at App::run() in start.php line 19
  12. at require('/www/wwwroot/13hao/t...') in index.php line 17

Environment Variables

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

Server/Request Data

USER
www
HOME
/home/www
FCGI_ROLE
RESPONDER
SCRIPT_FILENAME
/www/wwwroot/13hao/public_html/index.php
QUERY_STRING
s=/ipad_h.html
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.php
REQUEST_URI
/ipad_h.html
DOCUMENT_URI
/index.php
DOCUMENT_ROOT
/www/wwwroot/13hao/public_html
SERVER_PROTOCOL
HTTP/1.1
REQUEST_SCHEME
http
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.22.1
REMOTE_ADDR
3.236.147.122
REMOTE_PORT
56290
SERVER_ADDR
10.0.0.15
SERVER_PORT
80
SERVER_NAME
jz.sooua.com
REDIRECT_STATUS
200
PATH_INFO
/ipad_h.html
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
claudebot
HTTP_HOST
jianzhan.sooua.com
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1711702217.1183
REQUEST_TIME
1711702217
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/13hao/public_html/../application/
THINK_VERSION
5.0.15
THINK_START_TIME
1711702217.1187
THINK_START_MEM
259184
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/13hao/thinkphp/
LIB_PATH
/www/wwwroot/13hao/thinkphp/library/
CORE_PATH
/www/wwwroot/13hao/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/13hao/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/13hao/
EXTEND_PATH
/www/wwwroot/13hao/extend/
VENDOR_PATH
/www/wwwroot/13hao/vendor/
RUNTIME_PATH
/www/wwwroot/13hao/runtime/
LOG_PATH
/www/wwwroot/13hao/runtime/log/
CACHE_PATH
/www/wwwroot/13hao/runtime/cache/
TEMP_PATH
/www/wwwroot/13hao/runtime/temp/
CONF_PATH
/www/wwwroot/13hao/public_html/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false