[0] TemplateNotFoundException in Think.php line 82

模板文件不存在:themes/pc_cn/portal/list.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 82
  2. at Think->fetch('themes/pc_cn/portal/...', ['site_info' => ['site_name' => '...', 'site_seo_title' => '', 'site_seo_keywords' => '威廉体育,Klari...', ...], 'year' => '2026', 'SO' => 'is_top DESC,list_ord...', ...], []) in View.php line 163
  3. at View->fetch('themes/pc_cn/portal/...', ['site_info' => ['site_name' => '...', 'site_seo_title' => '', 'site_seo_keywords' => '威廉体育,Klari...', ...], 'year' => '2026', 'SO' => 'is_top DESC,list_ord...', ...], ['__ROOT__' => '', '__URL__' => '/portal/list', '__STATIC__' => '/static', ...], []) in Controller.php line 120
  4. at Controller->fetch('themes/pc_cn/portal/...', [], [], []) in HomeBaseController.php line 118
  5. at HomeBaseController->fetch('themes/pc_cn/portal/...') in ListController.php line 134
  6. at ListController->index()
  7. at ReflectionMethod->invokeArgs(object(ListController), []) in App.php line 343
  8. at App::invokeMethod([object(ListController), 'index'], []) in App.php line 621
  9. at App::module(['portal', 'List', 'index'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 456
  10. at App::exec(['type' => 'module', 'module' => ['portal', 'List', 'index'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  11. at App::run() in index.php line 67

Environment Variables

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

Server/Request Data

USER
www
HOME
/home/www
SCRIPT_NAME
/index.php
REQUEST_URI
/Radiotherapy/Products_and_Solutions
QUERY_STRING
s=Radiotherapy/Products_and_Solutions
REQUEST_METHOD
GET
SERVER_PROTOCOL
HTTP/1.1
GATEWAY_INTERFACE
CGI/1.1
REDIRECT_QUERY_STRING
s=Radiotherapy/Products_and_Solutions
REDIRECT_URL
/Radiotherapy/Products_and_Solutions
REMOTE_PORT
39262
SCRIPT_FILENAME
/www/wwwroot/183.60.156.97/index.php
SERVER_ADMIN
webmaster@example.com
CONTEXT_DOCUMENT_ROOT
/www/wwwroot/183.60.156.97/
CONTEXT_PREFIX
REQUEST_SCHEME
https
DOCUMENT_ROOT
/www/wwwroot/183.60.156.97/
REMOTE_ADDR
120.89.68.82
SERVER_PORT
443
SERVER_ADDR
120.240.103.247
SERVER_NAME
funkyasamonkey.com
SERVER_SOFTWARE
Apache
SERVER_SIGNATURE
<address>Apache Server at funkyasamonkey.com Port 443</address>
LD_LIBRARY_PATH
/www/server/apache/lib
PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)
HTTP_HOST
funkyasamonkey.com
proxy-nokeepalive
1
SSL_TLS_SNI
funkyasamonkey.com
HTTPS
on
REDIRECT_STATUS
200
REDIRECT_SSL_TLS_SNI
funkyasamonkey.com
REDIRECT_HTTPS
on
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1783011265.6823
REQUEST_TIME
1783011265
PATH_INFO
Radiotherapy/Products_and_Solutions
Environment Variables
empty

ThinkPHP Constants

APP_DEBUG
true
CMF_ROOT
/www/wwwroot/183.60.156.97/
APP_PATH
/www/wwwroot/183.60.156.97/app/
UPLOAD_PATH
/www/wwwroot/183.60.156.97/upload/
CMF_PATH
/www/wwwroot/183.60.156.97/simplewind/cmf/
PLUGINS_PATH
/www/wwwroot/183.60.156.97/plugins/
EXTEND_PATH
/www/wwwroot/183.60.156.97/simplewind/extend/
VENDOR_PATH
/www/wwwroot/183.60.156.97/simplewind/vendor/
RUNTIME_PATH
/www/wwwroot/183.60.156.97/data/runtime/
THINKCMF_VERSION
5.0.170927
SO
is_top DESC,list_order DESC,published_time DESC,post_id DESC
GSO
is_top DESC,category_relate.list_order DESC,published_time DESC,goods_id DESC
TMPLSO
order:is_top DESC,list_order DESC,published_time DESC,post_id DESC;
TMPLGSO
order:is_top DESC,category_relate.list_order DESC,published_time DESC,goods_id DESC;
WEB_ROOT
/www/wwwroot/183.60.156.97/
THINK_VERSION
5.0.24
THINK_START_TIME
1783011265.6827
THINK_START_MEM
421648
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/183.60.156.97/simplewind/thinkphp/
LIB_PATH
/www/wwwroot/183.60.156.97/simplewind/thinkphp/library/
CORE_PATH
/www/wwwroot/183.60.156.97/simplewind/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/183.60.156.97/simplewind/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/183.60.156.97/
LOG_PATH
/www/wwwroot/183.60.156.97/data/runtime/log/
CACHE_PATH
/www/wwwroot/183.60.156.97/data/runtime/cache/
TEMP_PATH
/www/wwwroot/183.60.156.97/data/runtime/temp/
CONF_PATH
/www/wwwroot/183.60.156.97/app/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
HTMLPURIFIER_PREFIX
/www/wwwroot/183.60.156.97/simplewind/vendor/ezyang/htmlpurifier/library
QINIU_FUNCTIONS_VERSION
7.2.1
LOCATION_SERVICE_PRODUCT_NAME
Location
LOCATION_SERVICE_DOMAIN
location.aliyuncs.com
LOCATION_SERVICE_VERSION
2015-06-12
LOCATION_SERVICE_DESCRIBE_ENDPOINT_ACTION
DescribeEndpoints
LOCATION_SERVICE_REGION
cn-hangzhou
CACHE_EXPIRE_TIME
3600
ENABLE_HTTP_PROXY
false
HTTP_PROXY_IP
127.0.0.1
HTTP_PROXY_PORT
8888
IS_WECHAT_FALSE
1
IS_WECHAT_TRUE
2
DOMDOCUMENT
DOMDocument
DOMELEMENT
DOMElement
DOMNODELIST
DOMNodeList
DOMNODE
DOMNode