[11602] Exception in File.php line 35

缓存写入失败:/home/www/wwwroot/fanmulu666.com/runtime/temp/3b1c7c406e1d1143578be8c30224c952.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() in Template.php line 348
  3. at Template->compiler() in Template.php line 182
  4. at Template->fetch() in Think.php line 89
  5. at Think->fetch() in View.php line 177
  6. at View->fetch() in Controller.php line 130
  7. at Controller->fetch() in MyError.php line 511
  8. at MyError->_empty() in All.php line 740
  9. at All->label_vod_play() in Vod.php line 117
  10. at Vod->play()
  11. at ReflectionMethod->invokeArgs() in App.php line 343
  12. at App::invokeMethod() in App.php line 613
  13. at App::module() in App.php line 456
  14. at App::exec() in App.php line 139
  15. at App::run() in start.php line 19
  16. at require('/home/www/wwwroot/fa...') in index.php line 126

Environment Variables

GET Data

id
ksLXJ69CJON
sid
1
nid
5
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_CONNECTION
keep-alive
HTTP_CACHE_CONTROL
no-cache
HTTP_X_FORWARDED_FOR
10.3.98.179
HTTP_VIA
1.1 squid-proxy-5b5d847c96-4gfz4 (squid/6.10)
HTTP_ACCEPT_ENCODING
gzip, deflate
HTTP_ACCEPT
text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
HTTP_USER_AGENT
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_UPGRADE_INSECURE_REQUESTS
1
HTTP_PRAGMA
no-cache
HTTP_HOST
m.jiansujichang.com.cn
PATH_INFO
/play/ksLXJ69CJON-1-5.html
REDIRECT_STATUS
200
SERVER_NAME
jiansujichang.com.cn
SERVER_PORT
80
SERVER_ADDR
38.174.140.22
REMOTE_PORT
3927
REMOTE_ADDR
216.73.216.169
SERVER_SOFTWARE
nginx/1.24.0
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/home/www/wwwroot/fanmulu666.com
DOCUMENT_URI
/index.php
REQUEST_URI
/play/ksLXJ69CJON-1-5.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/play/ksLXJ69CJON-1-5.html
SCRIPT_FILENAME
/home/www/wwwroot/fanmulu666.com/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1752923905.5378
REQUEST_TIME
1752923905
_error_handled
true
Environment Variables
empty

ThinkPHP Constants

ROOT_PATH
/home/www/wwwroot/fanmulu666.com/
APP_PATH
/home/www/wwwroot/fanmulu666.com/application/
MAC_COMM
/home/www/wwwroot/fanmulu666.com/application/common/common/
MAC_HOME_COMM
/home/www/wwwroot/fanmulu666.com/application/index/common/
MAC_ADMIN_COMM
/home/www/wwwroot/fanmulu666.com/application/admin/common/
MAC_START_TIME
1752923905.5384
BIND_MODULE
index
ENTRANCE
index
IN_FILE
/index.php
THINK_VERSION
5.0.24
THINK_START_TIME
1752923905.5388
THINK_START_MEM
362136
EXT
.php
EXTTXT
.txt
MACLINE
verifymac
DS
/
THINK_PATH
/home/www/wwwroot/fanmulu666.com/thinkphp/
LIB_PATH
/home/www/wwwroot/fanmulu666.com/thinkphp/library/
CORE_PATH
/home/www/wwwroot/fanmulu666.com/thinkphp/library/think/
TRAIT_PATH
/home/www/wwwroot/fanmulu666.com/thinkphp/library/traits/
MACERRORF
error
EXTEND_PATH
/home/www/wwwroot/fanmulu666.com/extend/
VENDOR_PATH
/home/www/wwwroot/fanmulu666.com/vendor/
RUNTIME_PATH
/home/www/wwwroot/fanmulu666.com/runtime/
LOG_PATH
/home/www/wwwroot/fanmulu666.com/runtime/log/
CACHE_PATH
/home/www/wwwroot/fanmulu666.com/runtime/cache/
TEMP_PATH
/home/www/wwwroot/fanmulu666.com/runtime/temp/
CONF_PATH
/home/www/wwwroot/fanmulu666.com/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
ADDON_PATH
/home/www/wwwroot/fanmulu666.com/addons/
MAX_CACHE_ITEMS
1000
MAC_URL
http://www.maccms.la/
MAC_NAME
苹果CMS
MAC_PATH
/
MAC_MOB
0
MAC_ROOT_TEMPLATE
/home/www/wwwroot/fanmulu666.com/template/maccms_v1_0/html/
MAC_PATH_TEMPLATE
/template/maccms_v1_0/
MAC_PATH_TPL
/template/maccms_v1_0/html/
MAC_PATH_ADS
/template/maccms_v1_0/ads/
MAC_PAGE_SP
_
MAC_PLAYER_SORT
1
MAC_ADDON_PATH
/home/www/wwwroot/fanmulu666.com/addons/
MAC_ADDON_PATH_STATIC
/home/www/wwwroot/fanmulu666.com/static/addons/
PINYIN_ROOT
/home/www/wwwroot/fanmulu666.com/extend/topinyin