[0] TemplateNotFoundException in Think.php line 82

模板文件不存在:/usr/home/wh-ahhkzqsnf3ybzlm5s48/htdocs/addons/cms/view/default/outlink.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('/usr/home/wh-ahhkzqs...', ['config' => ['system_user_id' => '0', 'sitename' => '3777金沙娱场城', 'sitelogo' => '/uploads/20221012/66...', ...], 'user' => null, 'site' => ['name' => '武汉3777金沙娱场城', 'beian' => '...', 'cdnurl' => '', ...], ...], []) in View.php line 163
  3. at View->fetch('/outlink', ['config' => ['system_user_id' => '0', 'sitename' => '3777金沙娱场城', 'sitelogo' => '/uploads/20221012/66...', ...], 'user' => null, 'site' => ['name' => '武汉3777金沙娱场城', 'beian' => '...', 'cdnurl' => '', ...], ...]) in Go.php line 33
  4. at Go->index()
  5. at call_user_func_array([object(Go), 'index'], []) in Route.php line 78
  6. at Route->execute('cms', 'go', 'index')
  7. at ReflectionMethod->invokeArgs(object(Route), ['cms', 'go', 'index']) in App.php line 343
  8. at App::invokeMethod(['\think\addons\Route', 'execute'], ['url' => 'http://http://www.km...', 'addon' => 'cms', 'controller' => 'go', ...]) in App.php line 470
  9. at App::exec(['type' => 'method', 'method' => ['\think\addons\Route', 'execute'], 'var' => []], ['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('/usr/home/wh-ahhkzqs...') in index.php line 23

Environment Variables

GET Data

url
http://http://www.kmsoft.com.cn/process-system/ecol_mpm.html
POST Data
empty
Files
empty

Cookies

PHPSESSID
am4jpfo21c49eami27h5ns3mph
Session
empty

Server/Request Data

DOCUMENT_ROOT
/usr/home/wh-ahhkzqsnf3ybzlm5s48/htdocs/public
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
HTTP_ACCEPT
*/*
HTTP_ACCEPT_ENCODING
gzip
HTTP_COOKIE
PHPSESSID=am4jpfo21c49eami27h5ns3mph
HTTP_HOST
www.kmsoft.com.cn
HTTP_USER_AGENT
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
PATH
/bin
PHPRC
/var/www/php71/hichina_ini/wh-ahhkzqsnf3ybzlm5s48
QUERY_STRING
url=http%3A%2F%2Fhttp%3A%2F%2Fwww.kmsoft.com.cn%2Fprocess-system%2Fecol_mpm.html
REDIRECT_DOCUMENT_ROOT
/usr/home/wh-ahhkzqsnf3ybzlm5s48/htdocs/public
REDIRECT_GATEWAY_INTERFACE
CGI/1.1
REDIRECT_HTTPS
on
REDIRECT_HTTP_ACCEPT
*/*
REDIRECT_HTTP_ACCEPT_ENCODING
gzip
REDIRECT_HTTP_COOKIE
PHPSESSID=am4jpfo21c49eami27h5ns3mph
REDIRECT_HTTP_HOST
www.kmsoft.com.cn
REDIRECT_HTTP_USER_AGENT
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
REDIRECT_PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
REDIRECT_PATH_INFO
addons/cms/go/index.html
REDIRECT_PATH_TRANSLATED
redirect:/index.php/go/index.html
REDIRECT_QUERY_STRING
url=http%3A%2F%2Fhttp%3A%2F%2Fwww.kmsoft.com.cn%2Fprocess-system%2Fecol_mpm.html
REDIRECT_REMOTE_ADDR
170.130.202.122
REDIRECT_REMOTE_PORT
51338
REDIRECT_REQUEST_METHOD
GET
REDIRECT_REQUEST_URI
/addons/cms/go/index.html?url=http%3A%2F%2Fhttp%3A%2F%2Fwww.kmsoft.com.cn%2Fprocess-system%2Fecol_mpm.html
REDIRECT_SCRIPT_FILENAME
/usr/home/wh-ahhkzqsnf3ybzlm5s48/htdocs/public/addons
REDIRECT_SCRIPT_NAME
/addons
REDIRECT_SERVER_ADDR
172.21.41.226
REDIRECT_SERVER_ADMIN
webmaster@wh-ahhkzqsnf3ybzlm5s48.my3w.com
REDIRECT_SERVER_NAME
www.kmsoft.com.cn
REDIRECT_SERVER_PORT
443
REDIRECT_SERVER_PROTOCOL
HTTP/1.1
REDIRECT_SERVER_SIGNATURE
REDIRECT_SERVER_SOFTWARE
Apache
REDIRECT_SSL_TLS_SNI
www.kmsoft.com.cn
REDIRECT_STATUS
200
REDIRECT_TZ
Asia/Shanghai
REDIRECT_UNIQUE_ID
Z2r@9qwVKeIAJ6y3AvQAAAAM
REDIRECT_URL
/addons/cms/go/index.html
REMOTE_ADDR
170.130.202.122
REMOTE_PORT
51338
REQUEST_METHOD
GET
REQUEST_URI
/addons/cms/go/index.html?url=http%3A%2F%2Fhttp%3A%2F%2Fwww.kmsoft.com.cn%2Fprocess-system%2Fecol_mpm.html
SCRIPT_FILENAME
/usr/home/wh-ahhkzqsnf3ybzlm5s48/htdocs/public/index.php
SCRIPT_NAME
/index.php
SERVER_ADDR
172.21.41.226
SERVER_ADMIN
webmaster@wh-ahhkzqsnf3ybzlm5s48.my3w.com
SERVER_NAME
www.kmsoft.com.cn
SERVER_PORT
443
SERVER_PROTOCOL
HTTP/1.1
SERVER_SIGNATURE
SERVER_SOFTWARE
Apache
SSL_TLS_SNI
www.kmsoft.com.cn
TZ
Asia/Shanghai
UNIQUE_ID
Z2r@9qwVKeIAJ6y3AvQAAAAM
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1735065334.1943
REQUEST_TIME
1735065334
PATH_INFO
addons/cms/go/index.html
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/usr/home/wh-ahhkzqsnf3ybzlm5s48/htdocs/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1735065334.195
THINK_START_MEM
352816
EXT
.php
DS
/
THINK_PATH
/usr/home/wh-ahhkzqsnf3ybzlm5s48/htdocs/thinkphp/
LIB_PATH
/usr/home/wh-ahhkzqsnf3ybzlm5s48/htdocs/thinkphp/library/
CORE_PATH
/usr/home/wh-ahhkzqsnf3ybzlm5s48/htdocs/thinkphp/library/think/
TRAIT_PATH
/usr/home/wh-ahhkzqsnf3ybzlm5s48/htdocs/thinkphp/library/traits/
ROOT_PATH
/usr/home/wh-ahhkzqsnf3ybzlm5s48/htdocs/
EXTEND_PATH
/usr/home/wh-ahhkzqsnf3ybzlm5s48/htdocs/extend/
VENDOR_PATH
/usr/home/wh-ahhkzqsnf3ybzlm5s48/htdocs/vendor/
RUNTIME_PATH
/usr/home/wh-ahhkzqsnf3ybzlm5s48/htdocs/runtime/
LOG_PATH
/usr/home/wh-ahhkzqsnf3ybzlm5s48/htdocs/runtime/log/
CACHE_PATH
/usr/home/wh-ahhkzqsnf3ybzlm5s48/htdocs/runtime/cache/
TEMP_PATH
/usr/home/wh-ahhkzqsnf3ybzlm5s48/htdocs/runtime/temp/
CONF_PATH
/usr/home/wh-ahhkzqsnf3ybzlm5s48/htdocs/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
FILTER_VALIDATE_BOOL
258
PHP_FLOAT_DIG
15
PHP_FLOAT_EPSILON
2.2204460492503E-16
PHP_FLOAT_MIN
2.2250738585072E-308
PHP_FLOAT_MAX
1.7976931348623E+308
PHP_OS_FAMILY
Linux
U_IDNA_PROHIBITED_ERROR
66560
U_IDNA_ERROR_START
66560
U_IDNA_UNASSIGNED_ERROR
66561
U_IDNA_CHECK_BIDI_ERROR
66562
U_IDNA_STD3_ASCII_RULES_ERROR
66563
U_IDNA_ACE_PREFIX_ERROR
66564
U_IDNA_VERIFICATION_ERROR
66565
U_IDNA_LABEL_TOO_LONG_ERROR
66566
U_IDNA_ZERO_LENGTH_LABEL_ERROR
66567
U_IDNA_DOMAIN_NAME_TOO_LONG_ERROR
66568
U_IDNA_ERROR_LIMIT
66569
U_STRINGPREP_PROHIBITED_ERROR
66560
U_STRINGPREP_UNASSIGNED_ERROR
66561
U_STRINGPREP_CHECK_BIDI_ERROR
66562
IDNA_DEFAULT
0
IDNA_ALLOW_UNASSIGNED
1
IDNA_USE_STD3_RULES
2
IDNA_CHECK_BIDI
4
IDNA_CHECK_CONTEXTJ
8
IDNA_NONTRANSITIONAL_TO_ASCII
16
IDNA_NONTRANSITIONAL_TO_UNICODE
32
INTL_IDNA_VARIANT_2003
0
INTL_IDNA_VARIANT_UTS46
1
IDNA_ERROR_EMPTY_LABEL
1
IDNA_ERROR_LABEL_TOO_LONG
2
IDNA_ERROR_DOMAIN_NAME_TOO_LONG
4
IDNA_ERROR_LEADING_HYPHEN
8
IDNA_ERROR_TRAILING_HYPHEN
16
IDNA_ERROR_HYPHEN_3_4
32
IDNA_ERROR_LEADING_COMBINING_MARK
64
IDNA_ERROR_DISALLOWED
128
IDNA_ERROR_PUNYCODE
256
IDNA_ERROR_LABEL_HAS_DOT
512
IDNA_ERROR_INVALID_ACE_LABEL
1024
IDNA_ERROR_BIDI
2048
IDNA_ERROR_CONTEXTJ
4096
ADDON_PATH
/usr/home/wh-ahhkzqsnf3ybzlm5s48/htdocs/addons/