yabo88官网-亚博网页版登录

[0] TemplateNotFoundException in Think.php line 80

模板文件不存在:./template/laozhang/article\lists.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(null, ['settings' => ['site_status' => '1', 'search_model' => '2,5', 'sitemap_model' => '1,2,3,4,5', ...], 'categorys' => [['id' => 16, 'parent_id' => 0, 'model_id' => 1, ...], ['id' => 60, 'parent_id' => 16, 'model_id' => 1, ...], ['id' => 1, 'parent_id' => 0, 'model_id' => 2, ...], ...], 'search_model_select' => [['id' => 2, 'name' => '文章模型', 'tablename' => 'article', ...], ['id' => 5, 'name' => '下载模型', 'tablename' => 'download', ...]], ...], []) in View.php line 127
  3. at View->fetch(null, ['lists' => object(Collection), 'page' => null, 'recommend_list' => [], ...], []) in View.php line 36
  4. at View->output(null) in Response.php line 303
  5. at Response->getContent() in Response.php line 99
  6. at Response->send() in start.php line 18
  7. at require('C:\WEB\ch\thinkphp\s...') in index.php line 24

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
PHPSESSID iql3d8puj2mbr7iu0hvav3c1j4
Session
think { "member": { "id": 0 } }
Server/Request Data
ALLUSERSPROFILE C:\ProgramData
APPDATA C:\Users\Administrator\AppData\Roaming
CLIENTNAME WIN-5G1C74HUCT8
CommonProgramFiles C:\Program Files\Common Files
CommonProgramFiles(x86) C:\Program Files (x86)\Common Files
CommonProgramW6432 C:\Program Files\Common Files
COMPUTERNAME 5IGV4
ComSpec C:\Windows\system32\cmd.exe
FP_NO_HOST_CHECK NO
HOMEDRIVE C:
HOMEPATH \Users\Administrator
LOCALAPPDATA C:\Users\Administrator\AppData\Local
LOGONSERVER \\5IGV4
NUMBER_OF_PROCESSORS 2
OS Windows_NT
Path C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\
PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE AMD64
PROCESSOR_IDENTIFIER Intel64 Family 6 Model 13 Stepping 3, GenuineIntel
PROCESSOR_LEVEL 6
PROCESSOR_REVISION 0d03
ProgramData C:\ProgramData
ProgramFiles C:\Program Files
ProgramFiles(x86) C:\Program Files (x86)
ProgramW6432 C:\Program Files
PSModulePath C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
PUBLIC C:\Users\Public
SESSIONNAME RDP-Tcp#0
SystemDrive C:
SystemRoot C:\Windows
TEMP C:\Users\ADMINI~1\AppData\Local\Temp\2
TMP C:\Users\ADMINI~1\AppData\Local\Temp\2
USERDOMAIN 5IGV4
USERNAME Administrator
USERPROFILE C:\Users\Administrator
windir C:\Windows
windows_tracing_flags 3
windows_tracing_logfile C:\BVTBin\Tests\installpackage\csilogfile.log
HTTP_CONTENT_TYPE application/x-www-form-urlencoded
HTTP_CONTENT_LENGTH 0
HTTP_ACCEPT_CHARSET utf-8
HTTP_COOKIE PHPSESSID=iql3d8puj2mbr7iu0hvav3c1j4
HTTP_ACCEPT */*
HTTP_HOST www.sdccph.com
HTTP_USER_AGENT Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
REDIRECT_STATUS 200
SERVER_NAME sdccph.com
SERVER_PORT 80
SERVER_ADDR 101.36.177.114
REMOTE_PORT 55758
REMOTE_ADDR 45.192.88.50
SERVER_SOFTWARE nginx/1.15.11
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT C:/WEB/ch
DOCUMENT_URI /index.php
REQUEST_URI /index/article/lists/category_id/a
SCRIPT_NAME /index.php
CONTENT_LENGTH 0
CONTENT_TYPE application/x-www-form-urlencoded
REQUEST_METHOD GET
QUERY_STRING s=/index/article/lists/category_id/a
PATH_TRANSLATED C:/WEB/ch
PATH_INFO /index/article/lists/category_id/a
SCRIPT_FILENAME C:/WEB/ch/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1615040896.1233
REQUEST_TIME 1615040896
Environment Variablesempty
ThinkPHP Constants
LZ_VERSION v1.1.5
APP_PATH C:\WEB\ch/application/
THINK_VERSION 5.0.3
THINK_START_TIME 1615040896.1233
THINK_START_MEM 264352
EXT .php
DS \
THINK_PATH C:\WEB\ch\thinkphp\
LIB_PATH C:\WEB\ch\thinkphp\library\
CORE_PATH C:\WEB\ch\thinkphp\library\think\
TRAIT_PATH C:\WEB\ch\thinkphp\library\traits\
ROOT_PATH C:\WEB\ch\
EXTEND_PATH C:\WEB\ch\extend\
VENDOR_PATH C:\WEB\ch\vendor\
RUNTIME_PATH C:\WEB\ch\runtime\
LOG_PATH C:\WEB\ch\runtime\log\
CACHE_PATH C:\WEB\ch\runtime\cache\
TEMP_PATH C:\WEB\ch\runtime\temp\
CONF_PATH C:\WEB\ch/application/
CONF_EXT .php
ENV_PREFIX PHP_
IS_CLI false
IS_WIN true