[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('413')
  6. at ReflectionMethod->invokeArgs(object(Cate), ['413']) 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/413.html
REDIRECT_PATH_TRANSLATED redirect:/index.php/cid/413.html/413.html
REDIRECT_QUERY_STRING
REDIRECT_REMOTE_ADDR 38.239.241.243
REDIRECT_REMOTE_PORT 47163
REDIRECT_REQUEST_METHOD GET
REDIRECT_REQUEST_URI /list/cid/413.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 agmuqQoc5rcALkuJE2gAAAAP
REDIRECT_URL /list/cid/413.html
REMOTE_ADDR 38.239.241.243
REMOTE_PORT 47163
REQUEST_METHOD GET
REQUEST_URI /list/cid/413.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 agmuqQoc5rcALkuJE2gAAAAP
ORIG_PATH_INFO /list/cid/413.html
ORIG_PATH_TRANSLATED /usr/home/hyu1184640001/htdocs/index.php
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1779019433.7713
REQUEST_TIME 1779019433
PATH_INFO /list/cid/413.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 1779019433.7722
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搜索 中核集团今年校招预计录用约8000人 美国气象机构因裁员人手短缺,或影响灾害预警 中超-基莱斯连场双响张修维卢斯破门 津门虎2-2西海岸 名嘴:美加征关税 中国气定神闲 「云顶S14代码」明日预告:7街头恶魔

      <code id='0fb18'></code><style id='3d13b'></style>
    • <acronym id='dfe70'></acronym>
      <center id='47346'><center id='dbbbe'><tfoot id='92260'></tfoot></center><abbr id='b87e0'><dir id='0770b'><tfoot id='7a8d2'></tfoot><noframes id='4735c'>

    • <optgroup id='0eccc'><strike id='caed9'><sup id='50b0b'></sup></strike><code id='2f019'></code></optgroup>
        1. <b id='e8fec'><label id='de3a2'><select id='77199'><dt id='58a90'><span id='5d340'></span></dt></select></label></b><u id='d0d3b'></u>
          <i id='e0333'><strike id='98a14'><tt id='e21fa'><pre id='75fd8'></pre></tt></strike></i>