[0] TemplateNotFoundException in Think.php line 80

模板文件不存在:template/template/cn/.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('template/cn/', ['temp' => 'template/cn', 'temp_src' => '/template/cn', 'menu' => [['cate_name' => '走进福臻', 'id' => '352', 'level' => '1', ...], ['cate_name' => '新闻资讯', 'id' => '353', 'level' => '1', ...], ['cate_name' => '经营范围', 'id' => '354', 'level' => '0', ...], ...], ...], []) in View.php line 159
  3. at View->fetch('template/cn/', [], [], []) in Controller.php line 111
  4. at Controller->fetch('template/cn/') in Cate.php line 97
  5. at Cate->index('414')
  6. at ReflectionMethod->invokeArgs(object(Cate), ['414']) in App.php line 224
  7. at App::invokeMethod([object(Cate), 'index'], []) in App.php line 393
  8. at App::module([null, 'cate', 'index'], ['app_namespace' => 'app', 'app_debug' => 1, 'app_trace' => false, ...], false) in App.php line 130
  9. at App::run() in start.php line 18
  10. at require('/usr/home/hyu1184640...') in index.php line 30

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
DOCUMENT_ROOT /usr/home/hyu1184640001/htdocs
GATEWAY_INTERFACE CGI/1.1
HTTP_ACCEPT */*
HTTP_HOST www.tjasset.com
HTTP_USER_AGENT Mozilla/5.0 (Linux;u;Android 4.2.2;zh-cn;) AppleWebKit/534.46 (KHTML,like Gecko) Version/5.1 Mobile Safari/10600.6.3 (compatible; Baiduspider/2.0; +http://www./search/spider.html)
PATH /bin
PHPRC /var/www/php56/hichina_ini/hyu1184640001
QUERY_STRING
REDIRECT_DOCUMENT_ROOT /usr/home/hyu1184640001/htdocs
REDIRECT_GATEWAY_INTERFACE CGI/1.1
REDIRECT_HTTP_ACCEPT */*
REDIRECT_HTTP_HOST www.tjasset.com
REDIRECT_HTTP_USER_AGENT Mozilla/5.0 (Linux;u;Android 4.2.2;zh-cn;) AppleWebKit/534.46 (KHTML,like Gecko) Version/5.1 Mobile Safari/10600.6.3 (compatible; Baiduspider/2.0; +http://www./search/spider.html)
REDIRECT_PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
REDIRECT_PATH_INFO /cid/414.html
REDIRECT_PATH_TRANSLATED redirect:/index.php/cid/414.html/414.html
REDIRECT_QUERY_STRING
REDIRECT_REMOTE_ADDR 38.239.241.227
REDIRECT_REMOTE_PORT 34160
REDIRECT_REQUEST_METHOD GET
REDIRECT_REQUEST_URI /list/cid/414.html
REDIRECT_SCRIPT_FILENAME /usr/home/hyu1184640001/htdocs/list
REDIRECT_SCRIPT_NAME /list
REDIRECT_SERVER_ADDR 10.28.230.183
REDIRECT_SERVER_ADMIN webmaster@hyu1184640001.my3w.com
REDIRECT_SERVER_NAME www.tjasset.com
REDIRECT_SERVER_PORT 80
REDIRECT_SERVER_PROTOCOL HTTP/1.1
REDIRECT_SERVER_SIGNATURE
REDIRECT_SERVER_SOFTWARE Apache
REDIRECT_STATUS 200
REDIRECT_TZ Asia/Shanghai
REDIRECT_UNIQUE_ID agmusAoc5rcALkdQSkIAAAAY
REDIRECT_URL /list/cid/414.html
REMOTE_ADDR 38.239.241.227
REMOTE_PORT 34160
REQUEST_METHOD GET
REQUEST_URI /list/cid/414.html
SCRIPT_FILENAME /usr/home/hyu1184640001/htdocs/index.php
SCRIPT_NAME /index.php
SERVER_ADDR 10.28.230.183
SERVER_ADMIN webmaster@hyu1184640001.my3w.com
SERVER_NAME www.tjasset.com
SERVER_PORT 80
SERVER_PROTOCOL HTTP/1.1
SERVER_SIGNATURE
SERVER_SOFTWARE Apache
TZ Asia/Shanghai
UNIQUE_ID agmusAoc5rcALkdQSkIAAAAY
ORIG_PATH_INFO /list/cid/414.html
ORIG_PATH_TRANSLATED /usr/home/hyu1184640001/htdocs/index.php
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1779019440.5717
REQUEST_TIME 1779019440
PATH_INFO /list/cid/414.html
Environment Variablesempty
ThinkPHP Constants
APP_PATH /usr/home/hyu1184640001/htdocs/application/
ADMINIMG /usr/home/hyu1184640001/htdocs/public/static/admin/uploads/cateimg/
INDEXIMGS /usr/home/hyu1184640001/htdocs/public/static/index/uploads/cateimg/
ADMIN_STATIC /usr/home/hyu1184640001/htdocs/public/static/admin/
INDEXIMG /usr/home/hyu1184640001/htdocs/public/static/index/uploads/img/
INDEXATT /usr/home/hyu1184640001/htdocs/public/static/index/uploads/att/
INDEXAD /usr/home/hyu1184640001/htdocs/public/static/index/uploads/ad/
APP_DEBUG true
THINK_VERSION 5.0.6
THINK_START_TIME 1779019440.5725
THINK_START_MEM 223528
EXT .php
DS /
THINK_PATH /usr/home/hyu1184640001/htdocs/thinkphp/
LIB_PATH /usr/home/hyu1184640001/htdocs/thinkphp/library/
CORE_PATH /usr/home/hyu1184640001/htdocs/thinkphp/library/think/
TRAIT_PATH /usr/home/hyu1184640001/htdocs/thinkphp/library/traits/
ROOT_PATH /usr/home/hyu1184640001/htdocs/
EXTEND_PATH /usr/home/hyu1184640001/htdocs/extend/
VENDOR_PATH /usr/home/hyu1184640001/htdocs/vendor/
RUNTIME_PATH /usr/home/hyu1184640001/htdocs/runtime/
LOG_PATH /usr/home/hyu1184640001/htdocs/runtime/log/
CACHE_PATH /usr/home/hyu1184640001/htdocs/runtime/cache/
TEMP_PATH /usr/home/hyu1184640001/htdocs/runtime/temp/
CONF_PATH /usr/home/hyu1184640001/htdocs/application/
CONF_EXT .php
ENV_PREFIX PHP_
IS_CLI false
IS_WIN false
百度 搜狗 360搜索 美国对不报复的国家暂停征税90天 中国反制!对美国加征84%关税 "拉黑"18家美企 新植物:水雷 腾讯客服回应微信开通已读功能 克劳奇:有一次我称赞阿利森,我老婆以为我在惦记什么女人

      <code id='2a602'></code><style id='a6a3b'></style>
    • <acronym id='fb7c0'></acronym>
      <center id='a5f2d'><center id='799d3'><tfoot id='2ad63'></tfoot></center><abbr id='3d5dc'><dir id='56b56'><tfoot id='d8da8'></tfoot><noframes id='c3830'>

    • <optgroup id='68035'><strike id='43d0d'><sup id='29752'></sup></strike><code id='b0d0c'></code></optgroup>
        1. <b id='a58f1'><label id='b949d'><select id='fa237'><dt id='f5966'><span id='856e1'></span></dt></select></label></b><u id='418ce'></u>
          <i id='06d29'><strike id='3b98d'><tt id='80d50'><pre id='2144c'></pre></tt></strike></i>