365·bet体育(中国)官方网站

[0] TemplateNotFoundException in Think.php line 85

模板文件不存在:/usr/home/qxu1780850169/htdocs/xdnet/home/view/picture_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. 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 85
  2. at Think->fetch('picture/index', ['alisms' => ['appid' => '235145211', 'appkey' => '1fbb1052442b8a98c16e...', 'template_code' => 'SMS_25150360'], 'attachment' => ['maxsize' => '5200000', 'allowext' => 'jpg,jpeg,gif,png,doc...', 'watermark_enable' => '1', ...], 'contact' => ['tel' => '029-86180188', 'email' => '', 'fax' => '029-86180186', ...], ...], []) in View.php line 127
  3. at View->fetch('picture/index', [], [], []) in Controller.php line 109
  4. at Controller->fetch('picture/index') in Base.php line 184
  5. at Base->index()
  6. at ReflectionMethod->invokeArgs(object(Error), []) in App.php line 232
  7. at App::invokeMethod([object(Error), 'index'], []) in App.php line 401
  8. at App::module(['home', 'picture', 'index'], ['app_namespace' => 'app', 'app_debug' => true, 'app_trace' => false, ...], null) in App.php line 140
  9. at App::run() in start.php line 27
  10. at require('/usr/home/qxu1780850...') in index.php line 7

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
PHPSESSID d0uosc492nhqaehg81l77k8df3
Sessionempty
Server/Request Data
DOCUMENT_ROOT /usr/home/qxu1780850169/htdocs
GATEWAY_INTERFACE CGI/1.1
HTTP_ACCEPT */*
HTTP_ACCEPT_ENCODING gzip
HTTP_CONNECTION close
HTTP_COOKIE PHPSESSID=d0uosc492nhqaehg81l77k8df3
HTTP_HOST www.sxqndl.com
HTTP_REMOTE_HOST 170.130.206.22
HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
HTTP_X_FORWARDED_FOR 170.130.206.22
HTTP_X_REAL_IP 170.130.206.22
PATH /bin
PHPRC /var/www/php55/hichina_ini/qxu1780850169
QUERY_STRING
REDIRECT_DOCUMENT_ROOT /usr/home/qxu1780850169/htdocs
REDIRECT_GATEWAY_INTERFACE CGI/1.1
REDIRECT_HTTP_ACCEPT */*
REDIRECT_HTTP_ACCEPT_ENCODING gzip
REDIRECT_HTTP_CONNECTION close
REDIRECT_HTTP_COOKIE PHPSESSID=d0uosc492nhqaehg81l77k8df3
REDIRECT_HTTP_HOST www.sxqndl.com
REDIRECT_HTTP_REMOTE_HOST 170.130.206.22
REDIRECT_HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
REDIRECT_HTTP_X_FORWARDED_FOR 170.130.206.22
REDIRECT_HTTP_X_REAL_IP 170.130.206.22
REDIRECT_PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
REDIRECT_PATH_INFO /picture/index/id/42.html
REDIRECT_PATH_TRANSLATED redirect:/index.php/picture/index/id/42.html/index/id/42.html
REDIRECT_QUERY_STRING
REDIRECT_REMOTE_ADDR 10.1.13.7
REDIRECT_REMOTE_PORT 45430
REDIRECT_REQUEST_METHOD GET
REDIRECT_REQUEST_URI //home/picture/index/id/42.html
REDIRECT_SCRIPT_FILENAME /usr/home/qxu1780850169/htdocs/home
REDIRECT_SCRIPT_NAME /home
REDIRECT_SERVER_ADDR 10.0.116.100
REDIRECT_SERVER_ADMIN webmaster@qxu1780850169.my3w.com
REDIRECT_SERVER_NAME www.sxqndl.com
REDIRECT_SERVER_PORT 80
REDIRECT_SERVER_PROTOCOL HTTP/1.0
REDIRECT_SERVER_SIGNATURE
REDIRECT_SERVER_SOFTWARE Apache
REDIRECT_STATUS 200
REDIRECT_TZ Asia/Shanghai
REDIRECT_UNIQUE_ID ZinlTwoAdGQAEVL0F-EAAAAA
REDIRECT_URL /home/picture/index/id/42.html
REMOTE_ADDR 10.1.13.7
REMOTE_PORT 45430
REQUEST_METHOD GET
REQUEST_URI //home/picture/index/id/42.html
SCRIPT_FILENAME /usr/home/qxu1780850169/htdocs/index.php
SCRIPT_NAME /index.php
SERVER_ADDR 10.0.116.100
SERVER_ADMIN webmaster@qxu1780850169.my3w.com
SERVER_NAME www.sxqndl.com
SERVER_PORT 80
SERVER_PROTOCOL HTTP/1.0
SERVER_SIGNATURE
SERVER_SOFTWARE Apache
TZ Asia/Shanghai
UNIQUE_ID ZinlTwoAdGQAEVL0F-EAAAAA
ORIG_PATH_INFO /home/picture/index/id/42.html
ORIG_PATH_TRANSLATED /usr/home/qxu1780850169/htdocs/index.php
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1714021711.4547
REQUEST_TIME 1714021711
PATH_INFO /home/picture/index/id/42.html
Environment Variablesempty
ThinkPHP Constants
CODE_PATH ./public/
APP_PATH /usr/home/qxu1780850169/htdocs/xdnet/
TOP_DOMAIN www.sxqndl.com
CMS_VERSION XDCMS 0.8.0
THINK_VERSION 5.0.3
THINK_START_TIME 1714021711.4553
THINK_START_MEM 256936
EXT .php
DS /
THINK_PATH /usr/home/qxu1780850169/htdocs/thinkphp/
LIB_PATH /usr/home/qxu1780850169/htdocs/thinkphp/library/
CORE_PATH /usr/home/qxu1780850169/htdocs/thinkphp/library/think/
TRAIT_PATH /usr/home/qxu1780850169/htdocs/thinkphp/library/traits/
ROOT_PATH /usr/home/qxu1780850169/htdocs/
EXTEND_PATH /usr/home/qxu1780850169/htdocs/extend/
VENDOR_PATH /usr/home/qxu1780850169/htdocs/vendor/
RUNTIME_PATH /usr/home/qxu1780850169/htdocs/xdnet/runtime/
LOG_PATH /usr/home/qxu1780850169/htdocs/xdnet/runtime/log/
CACHE_PATH /usr/home/qxu1780850169/htdocs/xdnet/runtime/cache/
TEMP_PATH /usr/home/qxu1780850169/htdocs/xdnet/runtime/temp/
CONF_PATH /usr/home/qxu1780850169/htdocs/xdnet/
CONF_EXT .php
ENV_PREFIX PHP_
IS_CLI false
IS_WIN false
GROUP_NAME home
MODULE_NAME Picture
ACTION_NAME index
TIME_OUT_SHOW_INFO