2138cn太阳集团古天乐



[0] TemplateNotFoundException in Think.php line 80

模板文件不存在:/www/wwwroot/www.ht-semi.com/app/home/view/ch/index/.html

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

Call Stack

  1. in Think.php line 80
  2. at Think->fetch('/www/wwwroot/www.ht-...', ['config' => ['site_footmsg_wap' => 'COPYRIGHT © 2015-20...', 'site_fax' => '020-30007856', 'site_position' => '510000', ...], 'title' => '...', 'keywords' => '案例展示', ...], []) in View.php line 175
  3. at View->fetch('ch/index/', ['config' => ['site_footmsg_wap' => 'COPYRIGHT © 2015-20...', 'site_fax' => '020-30007856', 'site_position' => '510000', ...], 'title' => '...', 'keywords' => '案例展示', ...], []) in Controller.php line 123
  4. at Controller->fetch('ch/index/') in Index.php line 225
  5. at Index->secondArticle()
  6. at ReflectionMethod->invokeArgs(object(Index), []) in Container.php line 214
  7. at Container->invokeMethod([object(Index), 'secondArticle'], ['kid' => '']) in Module.php line 124
  8. at Module->run() in App.php line 362
  9. at App->run() in index.php line 24

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
PHPSESSID ndccpacnd2dk566ns559n775ar
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_COOKIE PHPSESSID=ndccpacnd2dk566ns559n775ar
HTTP_ACCEPT_ENCODING gzip
HTTP_ACCEPT */*
HTTP_HOST www.ht-semi.com
HTTP_USER_AGENT Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
PATH_INFO /secondArticle/
REDIRECT_STATUS 200
SERVER_NAME www.ht-semi.com
SERVER_PORT 80
SERVER_ADDR 172.16.0.11
REMOTE_PORT 46024
REMOTE_ADDR 107.158.144.210
SERVER_SOFTWARE nginx/1.20.1
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/www.ht-semi.com
DOCUMENT_URI /index.php
REQUEST_URI /secondArticle/
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/secondArticle/
SCRIPT_FILENAME /www/wwwroot/www.ht-semi.com/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1694371837.9938
REQUEST_TIME 1694371837
Environment Variablesempty
ThinkPHP Constants
APP_PATH /www/wwwroot/www.ht-semi.com/app/