[11602] Exception in File.php line 35

缓存写入失败:/www/wwwroot/47.112.13.166/runtime/temp/76c4cab195712508d27c7f2f9ea8d124.php

  1. public function write($cacheFile, $content)
  2. {
  3. // 检测模板目录
  4. $dir = dirname($cacheFile);
  5. if (!is_dir($dir)) {
  6. mkdir($dir, 0755, true);
  7. }
  8. // 生成模板缓存文件
  9. if (false === file_put_contents($cacheFile, $content)) {
  10. throw new Exception('cache write error:' . $cacheFile, 11602);
  11. }
  12. }
  13. /**
  14. * 读取编译编译
  15. * @param string $cacheFile 缓存的文件名
  16. * @param array $vars 变量数组
  17. * @return void
  18. */

Call Stack

  1. in File.php line 35
  2. at File->write('/www/wwwroot/47.112....', '<?php if (!defined('...') in Template.php line 348
  3. at Template->compiler('<?php if (!defined('...', '/www/wwwroot/47.112....') in Template.php line 182
  4. at Template->fetch('template/default_pc/...', ['maccms' => ['site_name' => '...', 'site_url' => 'qiuguojiaoyu.com', 'site_wapurl' => 'qiuguojiaoyu.com', ...], 'user' => ['user_id' => 0, 'user_name' => '游客', 'user_portrait' => 'static/images/touxia...', ...], 'param' => ['page' => 7, 'ajax' => 0, 'tid' => 0, ...], ...], []) in Think.php line 86
  5. at Think->fetch('template/default_pc/...', ['maccms' => ['site_name' => '...', 'site_url' => 'qiuguojiaoyu.com', 'site_wapurl' => 'qiuguojiaoyu.com', ...], 'user' => ['user_id' => 0, 'user_name' => '游客', 'user_portrait' => 'static/images/touxia...', ...], 'param' => ['page' => 7, 'ajax' => 0, 'tid' => 0, ...], ...], []) in View.php line 163
  6. at View->fetch('vod/show', ['maccms' => ['site_name' => '...', 'site_url' => 'qiuguojiaoyu.com', 'site_wapurl' => 'qiuguojiaoyu.com', ...], 'user' => ['user_id' => 0, 'user_name' => '游客', 'user_portrait' => 'static/images/touxia...', ...], 'param' => ['page' => 7, 'ajax' => 0, 'tid' => 0, ...], ...], ['__ROOT__' => '', '__URL__' => '/index.php/index/vod', '__STATIC__' => '/static', ...], []) in Controller.php line 120
  7. at Controller->fetch('vod/show') in All.php line 44
  8. at All->label_fetch('vod/show') in Vod.php line 26
  9. at Vod->show()
  10. at ReflectionMethod->invokeArgs(object(Vod), []) in App.php line 343
  11. at App::invokeMethod([object(Vod), 'show'], []) in App.php line 611
  12. at App::module(['index', 'vod', 'show'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], true) in App.php line 456
  13. at App::exec(['type' => 'module', 'module' => ['index', 'vod', 'show']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  14. at App::run() in start.php line 19
  15. at require('/www/wwwroot/47.112....') in index.php line 41

Environment Variables

GET Data
empty
POST Data
empty
Files
empty
Cookies
empty

Session

think
{ "THINK_TOKEN": "\/www\/wwwroot\/47.112.13.166\/thinkphp\/" }

Server/Request Data

USER
www
HOME
/home/www
HTTP_USER_AGENT
claudebot
HTTP_ACCEPT
*/*
HTTP_HOST
qiuguojiaoyu.com
PATH_INFO
/vod/show/id/936/page/7.html
REDIRECT_STATUS
200
SERVER_NAME
47.112.13.166
SERVER_PORT
443
SERVER_ADDR
172.18.227.149
REMOTE_PORT
41640
REMOTE_ADDR
3.238.86.122
SERVER_SOFTWARE
nginx/1.18.0
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/2.0
DOCUMENT_ROOT
/www/wwwroot/47.112.13.166
DOCUMENT_URI
/index.php/vod/show/id/936/page/7.html
REQUEST_URI
/index.php/vod/show/id/936/page/7.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
SCRIPT_FILENAME
/www/wwwroot/47.112.13.166/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php/vod/show/id/936/page/7.html
REQUEST_TIME_FLOAT
1711715846.875
REQUEST_TIME
1711715846
Environment Variables
empty

ThinkPHP Constants

ROOT_PATH
/www/wwwroot/47.112.13.166/
APP_PATH
/www/wwwroot/47.112.13.166/application/
MAC_COMM
/www/wwwroot/47.112.13.166/application/common/common/
MAC_HOME_COMM
/www/wwwroot/47.112.13.166/application/index/common/
MAC_ADMIN_COMM
/www/wwwroot/47.112.13.166/application/admin/common/
MAC_START_TIME
1711715846.8752
BIND_MODULE
index
ENTRANCE
index
IN_FILE
/index.php
APP_DEBUG
true
THINK_VERSION
5.0.23
THINK_START_TIME
1711715846.8754
THINK_START_MEM
380424
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/47.112.13.166/thinkphp/
LIB_PATH
/www/wwwroot/47.112.13.166/thinkphp/library/
CORE_PATH
/www/wwwroot/47.112.13.166/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/47.112.13.166/thinkphp/library/traits/
EXTEND_PATH
/www/wwwroot/47.112.13.166/extend/
VENDOR_PATH
/www/wwwroot/47.112.13.166/vendor/
RUNTIME_PATH
/www/wwwroot/47.112.13.166/runtime/
LOG_PATH
/www/wwwroot/47.112.13.166/runtime/log/
CACHE_PATH
/www/wwwroot/47.112.13.166/runtime/cache/
TEMP_PATH
/www/wwwroot/47.112.13.166/runtime/temp/
CONF_PATH
/www/wwwroot/47.112.13.166/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
ADDON_PATH
/www/wwwroot/47.112.13.166/addons/
MAC_URL
http://www.maccms.com/
MAC_NAME
苹果CMS
MAC_PATH
/
MAC_MOB
0
MAC_ROOT_TEMPLATE
/www/wwwroot/47.112.13.166/template/default_pc/html/
MAC_PATH_TEMPLATE
/template/default_pc/
MAC_PATH_TPL
/template/default_pc/html/
MAC_PATH_ADS
/template/default_pc/ads/
MAC_PAGE_SP
_
MAC_PLAYER_SORT
1