[0] TemplateNotFoundException in Template.php line 1074

模板文件不存在:

  1. }
  2. $template = realpath($path . $template . '.' . ltrim($this->config['view_suffix'], '.'));
  3. }
  4. if (is_file($template)) {
  5. // 记录模板文件的更新时间
  6. $this->includeFile[$template] = filemtime($template);
  7. return $template;
  8. } else {
  9. throw new TemplateNotFoundException('template not exists:' . $template, $template);
  10. }
  11. }
  12. /**
  13. * 按标签生成正则
  14. * @access private
  15. * @param string $tagName 标签名
  16. * @return string
  17. */

Call Stack

  1. in Template.php line 1074
  2. at Template->parseTemplateFile(false) in Template.php line 1034
  3. at Template->parseTemplateName('common/detail_conten...') in Template.php line 476
  4. at Template->think\{closure}('<!DOCTYPE html> <ht...') in Template.php line 492
  5. at Template->parseInclude('<!DOCTYPE html> <ht...') in Template.php line 373
  6. at Template->parse('<!DOCTYPE html> <ht...') in Template.php line 333
  7. at Template->compiler('<!DOCTYPE html> <ht...', 'E:\SVNRepositories\A...') in Template.php line 182
  8. at Template->fetch('E:\SVNRepositories\A...', ['user' => null, 'site' => ['name' => 'ABGP', 'beian' => '', 'cdnurl' => '', ...], 'config' => ['site' => ['name' => 'ABGP', 'cdnurl' => '', 'version' => 1738846770, ...], 'upload' => ['cdnurl' => '', 'uploadurl' => '/index.php/index/aja...', 'bucket' => 'local', ...], 'modulename' => 'index', ...], ...], []) in Think.php line 86
  9. at Think->fetch('E:\SVNRepositories\A...', ['user' => null, 'site' => ['name' => 'ABGP', 'beian' => '', 'cdnurl' => '', ...], 'config' => ['site' => ['name' => 'ABGP', 'cdnurl' => '', 'version' => 1738846770, ...], 'upload' => ['cdnurl' => '', 'uploadurl' => '/index.php/index/aja...', 'bucket' => 'local', ...], 'modulename' => 'index', ...], ...], []) in View.php line 163
  10. at View->fetch('austriaaddress/index...') in Index.php line 457
  11. at Index->url_blog()
  12. at ReflectionMethod->invokeArgs(object(Index), []) in App.php line 343
  13. at App::invokeMethod([object(Index), 'url_blog'], []) in App.php line 611
  14. at App::module(['index', 'index', 'url_blog'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], true) in App.php line 456
  15. at App::exec(['type' => 'module', 'module' => ['index', 'index', 'url_blog']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  16. at App::run() in start.php line 19
  17. at require('E:\SVNRepositories\A...') in index.php line 23

Environment Variables

GET Data

website_id
30
id
15630
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

ALLUSERSPROFILE
C:\ProgramData
APPDATA
C:\Windows\system32\config\systemprofile\AppData\Roaming
CommonProgramFiles
C:\Program Files\Common Files
CommonProgramFiles(x86)
C:\Program Files (x86)\Common Files
CommonProgramW6432
C:\Program Files\Common Files
COMPUTERNAME
DESKTOP-NSJC0E1
ComSpec
C:\Windows\system32\cmd.exe
DriverData
C:\Windows\System32\Drivers\DriverData
LOCALAPPDATA
C:\Windows\system32\config\systemprofile\AppData\Local
NUMBER_OF_PROCESSORS
6
OS
Windows_NT
Path
PATHEXT
.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE
AMD64
PROCESSOR_IDENTIFIER
Intel64 Family 6 Model 158 Stepping 10, GenuineIntel
PROCESSOR_LEVEL
6
PROCESSOR_REVISION
9e0a
ProgramData
C:\ProgramData
ProgramFiles
C:\Program Files
ProgramFiles(x86)
C:\Program Files (x86)
ProgramW6432
C:\Program Files
PSModulePath
C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules
PUBLIC
C:\Users\Public
SystemDrive
C:
SystemRoot
C:\Windows
TEMP
C:\Windows\TEMP
TMP
C:\Windows\TEMP
USERDOMAIN
WORKGROUP
USERNAME
DESKTOP-NSJC0E1$
USERPROFILE
C:\Windows\system32\config\systemprofile
windir
C:\Windows
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.98 Safari/537.36
HTTP_HOST
abgp.com
REDIRECT_STATUS
200
SERVER_NAME
abgp.com
SERVER_PORT
80
SERVER_ADDR
127.0.0.1
REMOTE_PORT
54063
REMOTE_ADDR
127.0.0.1
SERVER_SOFTWARE
nginx/1.15.11
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
E:/SVNRepositories/AddressBaseGitPages/public
DOCUMENT_URI
/index.php/index/index/url_blog
REQUEST_URI
/index.php/index/index/url_blog?website_id=30&id=15630
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
website_id=30&id=15630
PATH_TRANSLATED
E:/SVNRepositories/AddressBaseGitPages/public/index/index/url_blog
PATH_INFO
/index/index/url_blog
SCRIPT_FILENAME
E:/SVNRepositories/AddressBaseGitPages/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php/index/index/url_blog
REQUEST_TIME_FLOAT
1738846770.3002
REQUEST_TIME
1738846770
Environment Variables
empty

ThinkPHP Constants

APP_PATH
E:\SVNRepositories\AddressBaseGitPages\public/../application/
THINK_VERSION
5.0.26
THINK_START_TIME
1738846770.3022
THINK_START_MEM
408960
EXT
.php
DS
\
THINK_PATH
E:\SVNRepositories\AddressBaseGitPages\thinkphp\
LIB_PATH
E:\SVNRepositories\AddressBaseGitPages\thinkphp\library\
CORE_PATH
E:\SVNRepositories\AddressBaseGitPages\thinkphp\library\think\
TRAIT_PATH
E:\SVNRepositories\AddressBaseGitPages\thinkphp\library\traits\
ROOT_PATH
E:\SVNRepositories\AddressBaseGitPages\
EXTEND_PATH
E:\SVNRepositories\AddressBaseGitPages\extend\
VENDOR_PATH
E:\SVNRepositories\AddressBaseGitPages\vendor\
RUNTIME_PATH
E:\SVNRepositories\AddressBaseGitPages\runtime\
LOG_PATH
E:\SVNRepositories\AddressBaseGitPages\runtime\log\
CACHE_PATH
E:\SVNRepositories\AddressBaseGitPages\runtime\cache\
TEMP_PATH
E:\SVNRepositories\AddressBaseGitPages\runtime\temp\
CONF_PATH
E:\SVNRepositories\AddressBaseGitPages\public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
true
FILTER_VALIDATE_BOOL
258
HTMLPURIFIER_PREFIX
E:\SVNRepositories\AddressBaseGitPages\vendor\ezyang\htmlpurifier\library
ADDON_PATH
E:\SVNRepositories\AddressBaseGitPages\addons\