澳门大阳城(中国)集团官方网站-Sogou百科

[0] TemplateNotFoundException in Think.php line 82

模板文件不存在:/www/wwwroot/sinohmr.com/application/mobile/view/en/index.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('/www/wwwroot/sinohmr...', ['setting' => ['fax' => '0531-86392478', 'backendname' => '后台管理中心', 'title' => '...', ...], 'userid' => 'login', 'yu' => 'http://www.sinohmr.c...', ...], []) in View.php line 163
  3. at View->fetch('', ['setting' => ['fax' => '0531-86392478', 'backendname' => '后台管理中心', 'title' => '...', ...], 'userid' => 'login', 'yu' => 'http://www.sinohmr.c...', ...], ['__ROOT__' => '', '__URL__' => '/mobile/en', '__STATIC__' => '/public/static/', ...], []) in Controller.php line 120
  4. at Controller->fetch() in En.php line 16
  5. at En->index()
  6. at ReflectionMethod->invokeArgs(object(En), []) in App.php line 196
  7. at App::invokeMethod([object(En), 'index'], []) in App.php line 412
  8. at App::module(['mobile', 'en', null], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], true) in App.php line 295
  9. at App::exec(['type' => 'module', 'module' => ['mobile', 'en', null]], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 123
  10. at App::run() in start.php line 19
  11. at require('/www/wwwroot/sinohmr...') in index.php line 29

Environment Variables

GET Data
empty
POST Data
empty
Files
empty

Cookies

PHPSESSID
v37krh32gjgsengdptnjkkb4bf
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_COOKIE
PHPSESSID=v37krh32gjgsengdptnjkkb4bf
HTTP_ACCEPT_ENCODING
gzip
HTTP_ACCEPT
*/*
HTTP_HOST
www.sinohmr.com
HTTP_USER_AGENT
Mozilla/5.0 (Linux; Android 7.0;) AppleWebKit/537.36 (KHTML, like Gecko) Mobile Safari/537.36 (compatible; PetalBot;+https://webmaster.petalsearch.com/site/petalbot)
PATH_INFO
/en
REDIRECT_STATUS
200
SERVER_NAME
www.sinohmr.com
SERVER_PORT
80
SERVER_ADDR
172.31.20.96
REMOTE_PORT
49836
REMOTE_ADDR
107.158.144.190
SERVER_SOFTWARE
nginx/1.22.1
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/sinohmr.com
DOCUMENT_URI
/index.php/en
REQUEST_URI
/en
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
SCRIPT_FILENAME
/www/wwwroot/sinohmr.com/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php/en
REQUEST_TIME_FLOAT
1708363714.9093
REQUEST_TIME
1708363714
Environment Variables
empty

ThinkPHP Constants

IS_PUBLIC
false
ROOT_PATH
/www/wwwroot/sinohmr.com/
PUBLIC_NAME
public
APP_PATH
/www/wwwroot/sinohmr.com/application/
WEJOY_PATH
/www/wwwroot/sinohmr.com/zhmx/
EXTEND_PATH
/www/wwwroot/sinohmr.com/zhmx/extend/
VENDOR_PATH
/www/wwwroot/sinohmr.com/zhmx/vendor/
THINK_VERSION
5.0.24
THINK_START_TIME
1708363714.9099
THINK_START_MEM
435816
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/sinohmr.com/zhmx/thinkphp/
LIB_PATH
/www/wwwroot/sinohmr.com/zhmx/thinkphp/library/
CORE_PATH
/www/wwwroot/sinohmr.com/zhmx/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/sinohmr.com/zhmx/thinkphp/library/traits/
RUNTIME_PATH
/www/wwwroot/sinohmr.com/runtime/
LOG_PATH
/www/wwwroot/sinohmr.com/runtime/log/
CACHE_PATH
/www/wwwroot/sinohmr.com/runtime/cache/
TEMP_PATH
/www/wwwroot/sinohmr.com/runtime/temp/
CONF_PATH
/www/wwwroot/sinohmr.com/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
APP_DEBUG
true
MODEL
0
IS_CLI
false
IS_WIN
false
BIND_MODULE
mobile