[0] TemplateNotFoundException in Think.php line 159

模板文件不存在:/data/home/qxu1650000251/htdocs/myfolder/application/../template/article-index.html

  1. if (is_array($name)) {
  2. $this->template->config($name);
  3. $this->config = array_merge($this->config, $name);
  4. } elseif (is_null($value)) {
  5. return $this->template->config($name);
  6. } else {
  7. $this->template->$name = $value;
  8. $this->config[$name] = $value;
  9. }
  10. }
  11. public function __call($method, $params)
  12. {
  13. return call_user_func_array([$this->template, $method], $params);
  14. }
  15. }

Call Stack

  1. in Think.php line 159
  2. at Think->fetch('article-index', ['arc_index' => [['cate_id' => '23', 'id' => '10', 'title' => '新闻左侧图', ...]], 'cate_index' => object(ArticleCate), 'arc_aboutUs' => [['cate_id' => '6', 'id' => '86', 'title' => '...', ...], ['cate_id' => '6', 'id' => '4', 'title' => '特聘专家 杨锐', ...], ['cate_id' => '5', 'id' => '29', 'title' => '...', ...], ...], ...], []) in View.php line 317
  3. at View->fetch('article-index', ['data' => null, 'cate' => object(ArticleCate), 'seo' => ['seo_title' => '', 'seo_keywords' => '', 'seo_description' => ''], ...], [], []) in Controller.php line 221
  4. at Controller->fetch('article-index', ['data' => null, 'cate' => object(ArticleCate), 'seo' => ['seo_title' => '', 'seo_keywords' => '', 'seo_description' => ''], ...]) in ArticleController.php line 44
  5. at ArticleController->index(object(Request))
  6. at ReflectionMethod->invokeArgs(object(ArticleController), [object(Request)]) in App.php line 196
  7. at App::invokeMethod([object(ArticleController), 'index'], []) in App.php line 411
  8. at App::module(['index', 'article', 'index'], ['app_debug' => true, 'app_trace' => false, 'app_status' => '', ...], false) in App.php line 295
  9. at App::exec(['type' => 'module', 'module' => ['index', 'article', 'index'], 'convert' => false], ['app_debug' => true, 'app_trace' => false, 'app_status' => '', ...]) in App.php line 123
  10. at App::run() in start.php line 35
  11. at require('/data/home/qxu165000...') in index.php line 19

Environment Variables

GET Data
empty
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

DOCUMENT_ROOT
/usr/home/qxu1650000251/htdocs
GATEWAY_INTERFACE
CGI/1.1
HTTP_ACCEPT
*/*
HTTP_ACCEPT_ENCODING
identity
HTTP_ACCEPT_LANGUAGE
zh-cn
HTTP_CONNECTION
Close
HTTP_COOKIE
HTTP_HOST
rmti.com.cn
HTTP_REFERER
http://www.tuangou007.com/article/index.html
HTTP_USER_AGENT
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; GreenBrowser)
PATH
/bin:/usr/bin
PHPRC
/var/www/php56/hichina_ini/qxu1650000251
QUERY_STRING
REDIRECT_DOCUMENT_ROOT
/usr/home/qxu1650000251/htdocs
REDIRECT_GATEWAY_INTERFACE
CGI/1.1
REDIRECT_HTTP_ACCEPT
*/*
REDIRECT_HTTP_ACCEPT_ENCODING
identity
REDIRECT_HTTP_ACCEPT_LANGUAGE
zh-cn
REDIRECT_HTTP_CONNECTION
Close
REDIRECT_HTTP_COOKIE
REDIRECT_HTTP_HOST
rmti.com.cn
REDIRECT_HTTP_REFERER
http://www.tuangou007.com/article/index.html
REDIRECT_HTTP_USER_AGENT
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; GreenBrowser)
REDIRECT_PATH
/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin
REDIRECT_PATH_INFO
/index.html
REDIRECT_PATH_TRANSLATED
redirect:/index.php/index.html
REDIRECT_QUERY_STRING
REDIRECT_REMOTE_ADDR
156.254.190.189
REDIRECT_REMOTE_PORT
57110
REDIRECT_REQUEST_METHOD
GET
REDIRECT_REQUEST_URI
/article/index.html
REDIRECT_SCRIPT_FILENAME
/usr/home/qxu1650000251/htdocs/article
REDIRECT_SCRIPT_NAME
/article
REDIRECT_SCRIPT_URI
http://www.tuangou007.com/article/index.html
REDIRECT_SCRIPT_URL
/article/index.html
REDIRECT_SERVER_ADDR
121.42.120.50
REDIRECT_SERVER_ADMIN
webmaster@qxu1650000251.my3w.com
REDIRECT_SERVER_NAME
rmti.com.cn
REDIRECT_SERVER_PORT
80
REDIRECT_SERVER_PROTOCOL
HTTP/1.0
REDIRECT_SERVER_SIGNATURE
REDIRECT_SERVER_SOFTWARE
Apache
REDIRECT_STATUS
200
REDIRECT_UNIQUE_ID
ZcMukQoevE8AAAhPKZMAAAAG
REDIRECT_URL
/article/index.html
REDIRECT_gzip_only_text_html
1
REMOTE_ADDR
156.254.190.189
REMOTE_PORT
57110
REQUEST_METHOD
GET
REQUEST_URI
/article/index.html
SCRIPT_FILENAME
/usr/home/qxu1650000251/htdocs/index.php
SCRIPT_NAME
/index.php
SCRIPT_URI
http://www.tuangou007.com/article/index.html
SCRIPT_URL
/article/index.html
SERVER_ADDR
121.42.120.50
SERVER_ADMIN
webmaster@qxu1650000251.my3w.com
SERVER_NAME
rmti.com.cn
SERVER_PORT
80
SERVER_PROTOCOL
HTTP/1.0
SERVER_SIGNATURE
SERVER_SOFTWARE
Apache
UNIQUE_ID
ZcMukQoevE8AAAhPKZMAAAAG
gzip_only_text_html
1
ORIG_PATH_INFO
/article/index.html
ORIG_PATH_TRANSLATED
/usr/home/qxu1650000251/htdocs/index.php
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1707290257.0352
REQUEST_TIME
1707290257
PATH_INFO
/article/index.html
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/data/home/qxu1650000251/htdocs/myfolder/application/
WEB_ROOT
/data/home/qxu1650000251/htdocs/
THINK_VERSION
5.0.8
THINK_START_TIME
1707290257.036
THINK_START_MEM
226728
EXT
.php
DS
/
THINK_PATH
/data/home/qxu1650000251/htdocs/myfolder/thinkphp/
LIB_PATH
/data/home/qxu1650000251/htdocs/myfolder/thinkphp/library/
CORE_PATH
/data/home/qxu1650000251/htdocs/myfolder/thinkphp/library/think/
TRAIT_PATH
/data/home/qxu1650000251/htdocs/myfolder/thinkphp/library/traits/
ROOT_PATH
/data/home/qxu1650000251/htdocs/myfolder/
EXTEND_PATH
/data/home/qxu1650000251/htdocs/myfolder/extend/
VENDOR_PATH
/data/home/qxu1650000251/htdocs/myfolder/vendor/
RUNTIME_PATH
/data/home/qxu1650000251/htdocs/myfolder/runtime/
LOG_PATH
/data/home/qxu1650000251/htdocs/myfolder/runtime/log/
CACHE_PATH
/data/home/qxu1650000251/htdocs/myfolder/runtime/cache/
TEMP_PATH
/data/home/qxu1650000251/htdocs/myfolder/runtime/temp/
CONF_PATH
/data/home/qxu1650000251/htdocs/myfolder/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false