[0] TemplateNotFoundException in Driver.php line 94

模板文件不存在:/www/wwwroot/admin.iaeeee.org/config/index/../../public/themes/failure/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. $this->app
  14. ->log('[ VIEW ] ' . $template . ' [ ' . var_export(array_keys($data), true) . ' ]');
  15. $this->template->fetch($template, $data, $config);
  16. }
  17. /**

Call Stack

  1. in Driver.php line 94
  2. at Driver->fetch('/www/wwwroot/admin.i...', ['msg' => 'Parameter error', 'url' => 'http://www.socav.org', 'jumpMsg' => 'Back to the home pag...', ...], []) in View.php line 189
  3. at View->fetch('', ['msg' => 'Parameter error', 'url' => 'http://www.socav.org', 'jumpMsg' => 'Back to the home pag...', ...]) in View.php line 35
  4. at View->output('') in Response.php line 396
  5. at Response->getContent() in Response.php line 128
  6. at Response->send() in index.php line 21

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_HOST www.socav.org
HTTP_REFERER http://www.socav.org/frontend/failure/Parameter%20error
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME www.socav.org
SERVER_PORT 443
SERVER_ADDR 172.31.92.105
REMOTE_PORT 45368
REMOTE_ADDR 34.226.141.207
SERVER_SOFTWARE nginx/1.8.1
GATEWAY_INTERFACE CGI/1.1
HTTPS on
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/admin.iaeeee.org/public
DOCUMENT_URI /index.php
REQUEST_URI /frontend/failure/Parameter%20error
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/frontend/failure/Parameter%20error
SCRIPT_FILENAME /www/wwwroot/admin.iaeeee.org/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711638332.5909
REQUEST_TIME 1711638332
Environment Variablesempty
ThinkPHP Constantsempty