[0] TemplateNotFoundException in Think.php line 88

模板文件不存在:/home/wwwroot/jxqhjx.cn/themes/pc_theme/juyi/list.html

  1. if ('' == pathinfo($template, PATHINFO_EXTENSION)) {
  2. // 获取模板文件名
  3. $template = $this->parseTemplate($template);
  4. }
  5. $template = str_replace('\\','/',$template);//@陌黎
  6. // 模板不存在 抛出异常
  7. if (!is_file($template)) {
  8. throw new TemplateNotFoundException('template not exists:' . $template, $template);
  9. }
  10. // 记录视图信息
  11. $this->app
  12. ->log('[ VIEW ] ' . $template . ' [ ' . var_export(array_keys($data), true) . ' ]');
  13. $this->template->fetch($template, $data, $config);
  14. }

Call Stack

  1. in Think.php line 88
  2. at Think->fetch('/home/wwwroot/jxqhjx...', ['site_info' => ['site_name' => '...', 'site_logo' => 'admin/20220322/49a3e...', 'site_icon' => 'admin/20201010/44521...', ...], 'navs' => [['id' => 1, 'nav_id' => 1, 'parent_id' => 0, ...], ['id' => 5, 'nav_id' => 1, 'parent_id' => 0, ...], ['id' => 4, 'nav_id' => 1, 'parent_id' => 0, ...], ...], 'city_id' => 0, ...], []) in View.php line 192
  3. at View->fetch('/home/wwwroot/jxqhjx...', ['site_info' => ['site_name' => '...', 'site_logo' => 'admin/20220322/49a3e...', 'site_icon' => 'admin/20201010/44521...', ...], 'navs' => [['id' => 1, 'nav_id' => 1, 'parent_id' => 0, ...], ['id' => 5, 'nav_id' => 1, 'parent_id' => 0, ...], ['id' => 4, 'nav_id' => 1, 'parent_id' => 0, ...], ...], 'city_id' => 0, ...], []) in HomeBaseController.php(1) : eval()'d code(1) : eval()'d code line 133
  4. at HomeBaseController->fetch('/home/wwwroot/jxqhjx...') in ListController.php line 111
  5. at ListController->index()
  6. at ReflectionMethod->invokeArgs(object(ListController), []) in Container.php line 395
  7. at Container->invokeReflectMethod(object(ListController), object(ReflectionMethod), ['id' => '15', 'convert' => false]) in Module.php line 131
  8. at Module->think\route\dispatch\{closure}(object(Request), object(Closure), null)
  9. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  10. at Middleware->think\{closure}(object(Request))
  11. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  12. at Middleware->dispatch(object(Request), 'controller') in Module.php line 136
  13. at Module->exec() in Dispatch.php line 168
  14. at Dispatch->run() in App.php line 432
  15. at App->think\{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)) in App.php line 435
  20. at App->run() in index.php line 39

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Session
authcode true
Server/Request Data
USER www
HOME /home/www
HTTP_ACCEPT_ENCODING gzip, identity;q=0.9
HTTP_ACCEPT_LANGUAGE en, *
HTTP_ACCEPT text/html,image/png,image/jpeg,image/pjpeg,image/x-xbitmap,image/svg+xml,image/gif;q=0.9,*/*;q=0.1
HTTP_USER_AGENT Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)
HTTP_HOST www.szzhcbgjg.com
HTTP_CONNECTION keep-alive
HTTP_REFERER http://www.szzhcbgjg.com/
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME jxqhjx.cn
SERVER_PORT 80
SERVER_ADDR 103.120.82.53
REMOTE_PORT 12546
REMOTE_ADDR 111.248.195.158
SERVER_SOFTWARE nginx/1.18.0
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/jxqhjx.cn
DOCUMENT_URI /index.php
REQUEST_URI /cfbj.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/cfbj.html
SCRIPT_FILENAME /www/wwwroot/jxqhjx.cn/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1663182070.2342
REQUEST_TIME 1663182070
Environment Variablesempty
ThinkPHP Constants
WEB_ROOT /home/wwwroot/jxqhjx.cn/
APP_DEBUG false
TP_ROOT /home/wwwroot/jxqhjx.cn/
TP_CONFIG /home/wwwroot/jxqhjx.cn/config/
APP_PATH /home/wwwroot/jxqhjx.cn/application/
APP_TOKEN_DOMAIN http://www.juyiseo.cn/
xagzrhxs /home/wwwroot/jxqhjx.cn/application/base/controller/HomeBaseController.php