[11602] Exception in File.php line 35

缓存写入失败:/www/wwwroot/soyule.net/runtime/temp/985ccfeba4e6c451448675ac09ccf494.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/soyule....', '<?php if (!defined('...') in Template.php line 348
  3. at Template->compiler('<?php if (!defined('...', '/www/wwwroot/soyule....') in Template.php line 182
  4. at Template->fetch('template/xingxinv10/...', ['maccms' => ['site_name' => '...', 'site_url' => 'www.glafly.com', 'site_wapurl' => 'www.glafly.com', ...], 'user' => ['user_id' => 0, 'user_name' => '游客', 'user_portrait' => 'static/images/touxia...', ...]], []) in Think.php line 86
  5. at Think->fetch('template/xingxinv10/...', ['maccms' => ['site_name' => '...', 'site_url' => 'www.glafly.com', 'site_wapurl' => 'www.glafly.com', ...], 'user' => ['user_id' => 0, 'user_name' => '游客', 'user_portrait' => 'static/images/touxia...', ...]], []) in View.php line 163
  6. at View->fetch('index/index', ['maccms' => ['site_name' => '...', 'site_url' => 'www.glafly.com', 'site_wapurl' => 'www.glafly.com', ...], 'user' => ['user_id' => 0, 'user_name' => '游客', 'user_portrait' => 'static/images/touxia...', ...]], ['__ROOT__' => '', '__URL__' => '/index/index', '__STATIC__' => '/static', ...], []) in Controller.php line 120
  7. at Controller->fetch('index/index') in All.php line 45
  8. at All->label_fetch('index/index') in Index.php line 13
  9. at Index->index()
  10. at ReflectionMethod->invokeArgs(object(Index), []) in App.php line 343
  11. at App::invokeMethod([object(Index), 'index'], []) in App.php line 611
  12. at App::module(['index', null, null], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], true) in App.php line 456
  13. at App::exec(['type' => 'module', 'module' => ['index', null, null]], ['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/soyule....') in index.php line 39

Environment Variables

GET Data
empty
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_REFERER
http://www.glafly.com/mashow/12-%E9%9F%A9%E5%9B%BD----X------2016.html
HTTP_USER_AGENT
claudebot
HTTP_ACCEPT
*/*
HTTP_HOST
www.glafly.com
PATH_INFO
REDIRECT_STATUS
200
SERVER_NAME
soyule.net
SERVER_PORT
443
SERVER_ADDR
38.173.26.182
REMOTE_PORT
41740
REMOTE_ADDR
54.224.52.210
SERVER_SOFTWARE
nginx/1.24.0
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/2.0
DOCUMENT_ROOT
/www/wwwroot/soyule.net
DOCUMENT_URI
/index.php
REQUEST_URI
/mashow/12-%E9%9F%A9%E5%9B%BD----X------2016.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
SCRIPT_FILENAME
/www/wwwroot/soyule.net/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1711754518.17
REQUEST_TIME
1711754518
Environment Variables
empty

ThinkPHP Constants

ROOT_PATH
/www/wwwroot/soyule.net/
APP_PATH
/www/wwwroot/soyule.net/application/
MAC_COMM
/www/wwwroot/soyule.net/application/common/common/
MAC_HOME_COMM
/www/wwwroot/soyule.net/application/index/common/
MAC_ADMIN_COMM
/www/wwwroot/soyule.net/application/admin/common/
MAC_START_TIME
1711754518.1703
BIND_MODULE
index
ENTRANCE
index
IN_FILE
/index.php
THINK_VERSION
5.0.24
THINK_START_TIME
1711754518.1708
THINK_START_MEM
417016
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/soyule.net/thinkphp/
LIB_PATH
/www/wwwroot/soyule.net/thinkphp/library/
CORE_PATH
/www/wwwroot/soyule.net/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/soyule.net/thinkphp/library/traits/
EXTEND_PATH
/www/wwwroot/soyule.net/extend/
VENDOR_PATH
/www/wwwroot/soyule.net/vendor/
RUNTIME_PATH
/www/wwwroot/soyule.net/runtime/
LOG_PATH
/www/wwwroot/soyule.net/runtime/log/
CACHE_PATH
/www/wwwroot/soyule.net/runtime/cache/
TEMP_PATH
/www/wwwroot/soyule.net/runtime/temp/
CONF_PATH
/www/wwwroot/soyule.net/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
ADDON_PATH
/www/wwwroot/soyule.net/addons/
MAC_URL
http://www.maccms.la/
MAC_NAME
苹果CMS
MAC_PATH
/
MAC_MOB
0
MAC_ROOT_TEMPLATE
/www/wwwroot/soyule.net/template/xingxinv10//html/
MAC_PATH_TEMPLATE
/template/xingxinv10/
MAC_PATH_TPL
/template/xingxinv10//html/
MAC_PATH_ADS
/template/xingxinv10/广告目录/
MAC_PAGE_SP
_
MAC_PLAYER_SORT
1
MAC_ADDON_PATH
/www/wwwroot/soyule.net/addons/
MAC_ADDON_PATH_STATIC
/www/wwwroot/soyule.net/static/addons/