[11602] Exception in File.php line 35

缓存写入失败:/home/www/wwwroot/fanzomotor.com/runtime/temp/c0ac3ba7535a0aeb1ed55d61dff06fc8.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 30
  8. at MyError->label_fetch() in MyError.php line 506
  9. at MyError->_empty() in All.php line 655
  10. at All->label_vod_play() in Vod.php line 114
  11. at Vod->play()
  12. at ReflectionMethod->invokeArgs() in App.php line 343
  13. at App::invokeMethod() in App.php line 613
  14. at App::module() in App.php line 456
  15. at App::exec() in App.php line 139
  16. at App::run() in start.php line 19
  17. at require('/home/www/wwwroot/fa...') in index.php line 127

Environment Variables

GET Data

id
kVAtEK3ldtkRDv
sid
1
nid
7
POST Data
empty
Files
empty

Cookies

server_session_b79966d5
331489cdee76e962d2f2b3eec7d15fd4
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_COOKIE
server_session_b79966d5=331489cdee76e962d2f2b3eec7d15fd4
HTTP_ACCEPT_ENCODING
gzip, br, zstd, deflate
HTTP_USER_AGENT
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT
*/*
PATH_INFO
/bofang/kVAtEK3ldtkRDv-1-7.html
HTTP_HOST
www.fanzomotor.com
REDIRECT_STATUS
200
SERVER_NAME
fanzomotor.com
SERVER_PORT
443
SERVER_ADDR
91.110.220.236
REMOTE_PORT
13017
REMOTE_ADDR
216.73.217.105
SERVER_SOFTWARE
nginx/1.28.3
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/2.0
DOCUMENT_ROOT
/www/wwwroot/fanzomotor.com
DOCUMENT_URI
/index.php
REQUEST_URI
/bofang/kVAtEK3ldtkRDv-1-7.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/bofang/kVAtEK3ldtkRDv-1-7.html
SCRIPT_FILENAME
/www/wwwroot/fanzomotor.com/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1795848590.7349
REQUEST_TIME
1795848590
Environment Variables
empty

ThinkPHP Constants

ROOT_PATH
/home/www/wwwroot/fanzomotor.com/
APP_PATH
/home/www/wwwroot/fanzomotor.com/application/
MAC_COMM
/home/www/wwwroot/fanzomotor.com/application/common/common/
MAC_HOME_COMM
/home/www/wwwroot/fanzomotor.com/application/index/common/
MAC_ADMIN_COMM
/home/www/wwwroot/fanzomotor.com/application/admin/common/
MAC_START_TIME
1795848590.736
BIND_MODULE
index
ENTRANCE
index
IN_FILE
/index.php
THINK_VERSION
5.0.24
THINK_START_TIME
1795848590.7377
THINK_START_MEM
433944
EXT
.php
DS
/
THINK_PATH
/home/www/wwwroot/fanzomotor.com/thinkphp/
LIB_PATH
/home/www/wwwroot/fanzomotor.com/thinkphp/library/
CORE_PATH
/home/www/wwwroot/fanzomotor.com/thinkphp/library/think/
TRAIT_PATH
/home/www/wwwroot/fanzomotor.com/thinkphp/library/traits/
EXTEND_PATH
/home/www/wwwroot/fanzomotor.com/extend/
VENDOR_PATH
/home/www/wwwroot/fanzomotor.com/vendor/
RUNTIME_PATH
/home/www/wwwroot/fanzomotor.com/runtime/
LOG_PATH
/home/www/wwwroot/fanzomotor.com/runtime/log/
CACHE_PATH
/home/www/wwwroot/fanzomotor.com/runtime/cache/
TEMP_PATH
/home/www/wwwroot/fanzomotor.com/runtime/temp/
CONF_PATH
/home/www/wwwroot/fanzomotor.com/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
ADDON_PATH
/home/www/wwwroot/fanzomotor.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/fanzomotor.com/template/dianle/html/
MAC_PATH_TEMPLATE
/template/dianle/
MAC_PATH_TPL
/template/dianle/html/
MAC_PATH_ADS
/template/dianle/ads/
MAC_PAGE_SP
_
MAC_PLAYER_SORT
1
MAC_ADDON_PATH
/home/www/wwwroot/fanzomotor.com/addons/
MAC_ADDON_PATH_STATIC
/home/www/wwwroot/fanzomotor.com/static/addons/
PINYIN_ROOT
/home/www/wwwroot/fanzomotor.com/extend/topinyin