[0] TemplateNotFoundException in Template.php line 1243

模板文件不存在:/opt/m.xzwonderful.com/application/mobile/view/common_head2.html

  1. }
  2. if (is_file($template)) {
  3. // 记录模板文件的更新时间
  4. $this->includeFile[$template] = filemtime($template);
  5. return $template;
  6. }
  7. throw new TemplateNotFoundException('template not exists:' . $template, $template);
  8. }
  9. /**
  10. * 按标签生成正则
  11. * @access private
  12. * @param string $tagName 标签名
  13. * @return string
  14. */
  15. private function getRegex($tagName)

Call Stack

  1. in Template.php line 1243
  2. at Template->parseTemplateFile('/opt/m.xzwonderful.c...') in Template.php line 1196
  3. at Template->parseTemplateName('common/head2') in Template.php line 540
  4. at Template->think\{closure}('{include file="commo...') in Template.php line 560
  5. at Template->parseInclude('{include file="commo...') in Template.php line 428
  6. at Template->parse('{include file="commo...') in Template.php line 380
  7. at Template->compiler('{include file="commo...', '/opt/m.xzwonderful.c...') in Template.php line 218
  8. at Template->fetch('/opt/m.xzwonderful.c...', ['sys' => ['id' => 1, 'name' => '...', 'domain' => 'http://www.xzwonderf...', ...], 'action' => 'index', 'controller' => 'contact', ...], []) in Think.php line 93
  9. at Think->fetch('/opt/m.xzwonderful.c...', ['sys' => ['id' => 1, 'name' => '...', 'domain' => 'http://www.xzwonderf...', ...], 'action' => 'index', 'controller' => 'contact', ...], []) in View.php line 189
  10. at View->fetch('page_guanzhu', ['sys' => ['id' => 1, 'name' => '...', 'domain' => 'http://www.xzwonderf...', ...], 'action' => 'index', 'controller' => 'contact', ...], []) in Controller.php line 161
  11. at Controller->fetch('page_guanzhu') in EmptyController.php line 25
  12. at EmptyController->index()
  13. at ReflectionMethod->invokeArgs(object(EmptyController), []) in Container.php line 395
  14. at Container->invokeReflectMethod(object(EmptyController), object(ReflectionMethod), ['catId' => '50', 'convert' => false]) in Module.php line 132
  15. at Module->think\route\dispatch\{closure}(object(Request), object(Closure), null)
  16. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  17. at Middleware->think\{closure}(object(Request))
  18. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  19. at Middleware->dispatch(object(Request), 'controller') in Module.php line 137
  20. at Module->exec() in Dispatch.php line 168
  21. at Dispatch->run() in App.php line 432
  22. at App->think\{closure}(object(Request), object(Closure), null)
  23. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  24. at Middleware->think\{closure}(object(Request))
  25. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  26. at Middleware->dispatch(object(Request)) in App.php line 435
  27. at App->run() in index.php line 21

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER apache
HOME /usr/share/httpd
HTTP_ALI_SWIFT_5XX_NO_RETRY on
HTTP_ALI_TPROXY_HTTPDNS on
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
HTTP_ALI_CDN_REAL_IP 3.229.122.112
HTTP_X_CLIENT_SCHEME http
HTTP_X_FORWARDED_FOR 3.229.122.112
HTTP_ALI_SWIFT_STAT_HOST level2.m.xzwonderful.com
HTTP_ALI_SWIFT_LOG_HOST m.xzwonderful.com
HTTP_EAGLEEYE_TRACEID 3da0c01217108172423434333e
HTTP_VIA cn6425.l1, kunlun1.cn6425, l2cn1827.l2, cache5.l2cn1827
HTTP_HOST m.xzwonderful.com
REDIRECT_STATUS 200
SERVER_NAME m.xzwonderful.com
SERVER_PORT 80
SERVER_ADDR 172.19.146.96
REMOTE_PORT 37354
REMOTE_ADDR 123.156.198.153
SERVER_SOFTWARE nginx/1.12.2
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /opt/m.xzwonderful.com/public
DOCUMENT_URI /index.php
REQUEST_URI /guanzhu.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=//guanzhu.html
SCRIPT_FILENAME /opt/m.xzwonderful.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1710817242.3727
REQUEST_TIME 1710817242
Environment Variablesempty
ThinkPHP Constants
MAX_MENU_LENGTH 3
MAX_SUB_MENU_LENGTH 5
MODULE_NAME contact
ACTION_NAME index
DBNAME page
ISPAGE 1