88038威尼斯(中国)控股有限公司

[0] TemplateNotFoundException in Think.php line 82

template not exists:./application/index/view/en/lists/product.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('./application/index/...', ['actionStr' => 'product', 'cid' => '163', 'id' => 0, ...], []) in View.php line 163
  3. at View->fetch('', ['actionStr' => 'product', 'cid' => '163', 'id' => 0, ...], ['__ROOT__' => '', '__URL__' => '/index/lists', '__STATIC__' => '/public/static', ...], []) in Controller.php line 120
  4. at Controller->fetch() in Lists.php line 57
  5. at Lists->product()
  6. at ReflectionMethod->invokeArgs(object(Lists), []) in App.php line 343
  7. at App::invokeMethod([object(Lists), 'product'], []) in App.php line 611
  8. at App::module(['index', 'Lists', 'product'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 456
  9. at App::exec(['type' => 'module', 'module' => ['index', 'Lists', 'product'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  10. at App::run() in start.php line 19
  11. at require('/home/wwwroot/baoxin...') in index.php line 21

Environment Variables

GET Data

/product/163_html
POST Data
empty
Files
empty

Cookies

PHPSESSID
vri4daq60hj2fa8gl8fh4f6j13

Session

think
{ "lng": "en", "edition": 2 }

Server/Request Data

USER
baoxin
HOME
/home/wwwroot/baoxin
SCRIPT_NAME
/index.php
REQUEST_URI
/product/163.html
QUERY_STRING
/product/163.html
REQUEST_METHOD
GET
SERVER_PROTOCOL
HTTP/1.1
GATEWAY_INTERFACE
CGI/1.1
REDIRECT_QUERY_STRING
/product/163.html
REDIRECT_URL
/product/163.html
REMOTE_PORT
40942
SCRIPT_FILENAME
/home/wwwroot/baoxin/wwwroot/index.php
SERVER_ADMIN
[no address given]
CONTEXT_DOCUMENT_ROOT
/home/wwwroot/baoxin/wwwroot
CONTEXT_PREFIX
REQUEST_SCHEME
http
DOCUMENT_ROOT
/home/wwwroot/baoxin/wwwroot
REMOTE_ADDR
173.232.241.66
SERVER_PORT
80
SERVER_ADDR
127.0.0.1
SERVER_NAME
www.boamax.com
SERVER_SOFTWARE
Apache
SERVER_SIGNATURE
PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HTTP_COOKIE
PHPSESSID=vri4daq60hj2fa8gl8fh4f6j13
HTTP_ACCEPT_ENCODING
gzip
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
HTTP_CONNECTION
close
HTTP_HOST
www.boamax.com
HTTP_X_REAL_IP
173.232.241.66
HTTP_X_FORWARDED_FOR
173.232.241.66
proxy-nokeepalive
1
REDIRECT_STATUS
200
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1756023465.5876
REQUEST_TIME
1756023465
PATH_INFO
/product/163.html
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/home/wwwroot/baoxin/wwwroot/application/
IMG_PATH
/home/wwwroot/baoxin/wwwroot/static/index/
THINK_VERSION
5.0.24
THINK_START_TIME
1756023465.588
THINK_START_MEM
363544
EXT
.php
DS
/
THINK_PATH
/home/wwwroot/baoxin/wwwroot/thinkphp/
LIB_PATH
/home/wwwroot/baoxin/wwwroot/thinkphp/library/
CORE_PATH
/home/wwwroot/baoxin/wwwroot/thinkphp/library/think/
TRAIT_PATH
/home/wwwroot/baoxin/wwwroot/thinkphp/library/traits/
ROOT_PATH
/home/wwwroot/baoxin/wwwroot/
EXTEND_PATH
/home/wwwroot/baoxin/wwwroot/extend/
VENDOR_PATH
/home/wwwroot/baoxin/wwwroot/vendor/
RUNTIME_PATH
/home/wwwroot/baoxin/wwwroot/runtime/
LOG_PATH
/home/wwwroot/baoxin/wwwroot/runtime/log/
CACHE_PATH
/home/wwwroot/baoxin/wwwroot/runtime/cache/
TEMP_PATH
/home/wwwroot/baoxin/wwwroot/runtime/temp/
CONF_PATH
/home/wwwroot/baoxin/wwwroot/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false