[0] TemplateNotFoundException in Think.php line 78

模闆文件不存在:/data/home/byu5784980001/htdocs/public/../application/front/view/index/qiuzhu.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 78
  2. at Think->fetch('index/qiuzhu', [], []) in View.php line 127
  3. at View->fetch('index/qiuzhu', [], [], []) in Controller.php line 108
  4. at Controller->fetch('index/qiuzhu') in Index.php line 180
  5. at Index->qiuzhu()
  6. at ReflectionMethod->invokeArgs(object(Index), []) in App.php line 226
  7. at App::invokeMethod([object(Index), 'qiuzhu']) in App.php line 359
  8. at App::module(['front', 'index', 'qiuzhu'], ['app_namespace' => 'app', 'app_debug' => true, 'app_trace' => false, ...], null) in App.php line 134
  9. at App::run() in start.php line 18
  10. at require('/data/home/byu578498...') in index.php line 22

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
DOCUMENT_ROOT /usr/home/byu5784980001/htdocs
GATEWAY_INTERFACE CGI/1.1
HTTP_ACCEPT */*
HTTP_ACCEPT_ENCODING gzip,deflate
HTTP_CLIENT_IP 62.212.84.164
HTTP_HOST zhongte90137.cn
HTTP_REFERER http://zhongte90137.cn/public/index.php/front/index/qiuzhu.html
HTTP_USER_AGENT Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)
HTTP_X_FORWARDED_FOR 66.175.192.82
PATH /bin:/usr/bin
PATH_INFO /front/index/qiuzhu.html
PATH_TRANSLATED /usr/home/byu5784980001/htdocs/public/index.php
PHPRC /var/www/php55/hichina_ini/byu5784980001
QUERY_STRING
REDIRECT_STATUS 200
REMOTE_ADDR 156.238.56.2
REMOTE_PORT 63709
REQUEST_METHOD GET
REQUEST_URI /public/index.php/front/index/qiuzhu.html
SCRIPT_FILENAME /usr/home/byu5784980001/htdocs/public/index.php
SCRIPT_NAME /public/index.php
SERVER_ADDR 172.19.225.66
SERVER_ADMIN webmaster@byu5784980001.my3w.com
SERVER_NAME zhongte90137.cn
SERVER_PORT 80
SERVER_PROTOCOL HTTP/1.1
SERVER_SIGNATURE
SERVER_SOFTWARE Apache
UNIQUE_ID Xaya46wT4UIAACCiEV8AAAAI
PHP_SELF /public/index.php/front/index/qiuzhu.html
REQUEST_TIME_FLOAT 1571592931.8483
REQUEST_TIME 1571592931
Environment Variablesempty
ThinkPHP Constants
APP_PATH /data/home/byu5784980001/htdocs/public/../application/
PUBLIC_PATH /data/home/byu5784980001/htdocs/public/
SITE_URL http://zhongte90137.cn
THINK_VERSION 5.0.0
THINK_START_TIME 1571592931.8487
THINK_START_MEM 242816
EXT .php
DS /
THINK_PATH /data/home/byu5784980001/htdocs/thinkphp/
LIB_PATH /data/home/byu5784980001/htdocs/thinkphp/library/
CORE_PATH /data/home/byu5784980001/htdocs/thinkphp/library/think/
TRAIT_PATH /data/home/byu5784980001/htdocs/thinkphp/library/traits/
ROOT_PATH /data/home/byu5784980001/htdocs/public/../
EXTEND_PATH /data/home/byu5784980001/htdocs/public/../extend/
VENDOR_PATH /data/home/byu5784980001/htdocs/public/../vendor/
RUNTIME_PATH /data/home/byu5784980001/htdocs/public/../runtime/
LOG_PATH /data/home/byu5784980001/htdocs/public/../runtime/log/
CACHE_PATH /data/home/byu5784980001/htdocs/public/../runtime/cache/
TEMP_PATH /data/home/byu5784980001/htdocs/public/../runtime/temp/
CONF_PATH /data/home/byu5784980001/htdocs/public/../application/
CONF_EXT .php
ENV_PREFIX PHP_
IS_CLI false
IS_WIN false