LD乐动体育官方欢迎您的加入

[0] TemplateNotFoundException in Think.php line 80

模板文件不存在:Theme/Home/green/article/{:url("home.tpl

  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('', ['modulename' => 'article', 'actionname' => '{:url("home', 's' => '/Home/article/{:url ...', ...], []) in View.php line 159
  3. at View->fetch('', [], []) in View.php line 36
  4. at View->output('') in Response.php line 305
  5. at Response->getContent() in Response.php line 94
  6. at Response->send() in start.php line 18
  7. at require('/home/wwwroot/sczhen...') in index.php line 21

Environment Variables

GET Data
empty
POST Data
empty
Files
empty

Cookies

PHPSESSID
2587opd0gdumuouoc62rnbmc20
Session
empty

Server/Request Data

USER
www
HOME
/home/www
FCGI_ROLE
RESPONDER
SCRIPT_FILENAME
/home/wwwroot/sczhengda.com/index.php
QUERY_STRING
s=/Home/article/{:url("Home/Article/index")}
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.php
REQUEST_URI
/Home/article/%7B:url(%22Home/Article/index%22)%7D
DOCUMENT_URI
/index.php
DOCUMENT_ROOT
/home/wwwroot/sczhengda.com
SERVER_PROTOCOL
HTTP/1.1
REQUEST_SCHEME
http
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.12.2
REMOTE_ADDR
170.130.7.218
REMOTE_PORT
60282
SERVER_ADDR
211.149.203.3
SERVER_PORT
80
SERVER_NAME
sczhengda.com
REDIRECT_STATUS
200
PATH_INFO
/Home/article/{:url("Home/Article/index")}
HTTP_USER_AGENT
Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
HTTP_HOST
www.sczhengda.com
HTTP_ACCEPT
*/*
HTTP_ACCEPT_ENCODING
gzip
HTTP_COOKIE
PHPSESSID=2587opd0gdumuouoc62rnbmc20
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1668055031.6128
REQUEST_TIME
1668055031
Environment Variables
empty

ThinkPHP Constants

APP_NAME
ZhiMengCMS
WEB_PATH
/home/wwwroot/sczhengda.com
APP_NAMESPACE
ZhiMengApp
EXTEND_PATH
/home/wwwroot/sczhengda.com/ZhiMengApp/extend/
VENDOR_PATH
/home/wwwroot/sczhengda.com/Vendor/
LOG_PATH
/home/wwwroot/sczhengda.com/RunTime/log/
TEMP_PATH
/home/wwwroot/sczhengda.com/RunTime/temp/
HTML_PATH
/home/wwwroot/sczhengda.com/Html/
CACHE_PATH
/home/wwwroot/sczhengda.com/RunTime/cache/
DATA_PATH
/home/wwwroot/sczhengda.com/RunTime/field/
APP_PATH
/home/wwwroot/sczhengda.com/ZhiMengApp/
RUNTIME_PATH
/home/wwwroot/sczhengda.com/RunTime/
THINK_VERSION
5.0.7
THINK_START_TIME
1668055031.614
THINK_START_MEM
267168
EXT
.php
DS
/
THINK_PATH
/home/wwwroot/sczhengda.com/ZhiMengCore/thinkphp/
LIB_PATH
/home/wwwroot/sczhengda.com/ZhiMengCore/thinkphp/library/
CORE_PATH
/home/wwwroot/sczhengda.com/ZhiMengCore/thinkphp/library/think/
TRAIT_PATH
/home/wwwroot/sczhengda.com/ZhiMengCore/thinkphp/library/traits/
ROOT_PATH
/home/wwwroot/sczhengda.com/
CONF_PATH
/home/wwwroot/sczhengda.com/ZhiMengApp/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
CONTROLLER_NAME
Article
ACTION_NAME
{:url("home