[2] ErrorException in File.php line 34

file_put_contents(): Only 0 of 15632 bytes written, possibly out of free disk space

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

Call Stack

  1. in File.php line 34
  2. at Error::appError(2, 'file_put_contents():...', '/www/wwwroot/192.168...', 34, ['cacheFile' => '/www/wwwroot/192.168...', 'content' => '<?php if (!defined('...', 'dir' => '/www/wwwroot/192.168...'])
  3. at file_put_contents('/www/wwwroot/192.168...', '<?php if (!defined('...') in File.php line 34
  4. at File->write('/www/wwwroot/192.168...', '<?php if (!defined('...') in Template.php line 348
  5. at Template->compiler('<?php if (!defined('...', '/www/wwwroot/192.168...') in Template.php line 182
  6. at Template->fetch('/www/wwwroot/192.168...', ['nav' => [['id' => 1, 'pid' => 0, 'navname' => '学校概况', ...], ['id' => 5, 'pid' => 0, 'navname' => '党建先锋', ...], ['id' => 4, 'pid' => 0, 'navname' => '招生就业', ...], ...], 'linkurl' => [['id' => 20, 'webname' => '111', 'linkurl' => 'http://www.moe.gov.c...', ...], ['id' => 24, 'webname' => 'cc', 'linkurl' => 'http://jyt.hlj.gov.c...', ...], ['id' => 26, 'webname' => 'yg', 'linkurl' => 'http://www.mofcom.go...', ...], ...], 'webname' => '...', ...], []) in Think.php line 86
  7. at Think->fetch('double_lists', ['nav' => [['id' => 1, 'pid' => 0, 'navname' => '学校概况', ...], ['id' => 5, 'pid' => 0, 'navname' => '党建先锋', ...], ['id' => 4, 'pid' => 0, 'navname' => '招生就业', ...], ...], 'linkurl' => [['id' => 20, 'webname' => '111', 'linkurl' => 'http://www.moe.gov.c...', ...], ['id' => 24, 'webname' => 'cc', 'linkurl' => 'http://jyt.hlj.gov.c...', ...], ['id' => 26, 'webname' => 'yg', 'linkurl' => 'http://www.mofcom.go...', ...], ...], 'webname' => '...', ...], []) in View.php line 163
  8. at View->fetch('double_lists', ['model' => ['banner_show' => ['id' => 3, 'pid' => 0, 'navname' => '人才培养', ...], 'banner' => [['id' => 17, 'pid' => 3, 'navname' => '师资队伍', ...], ['id' => 18, 'pid' => 3, 'navname' => '学科专业', ...], ['id' => 19, 'pid' => 3, 'navname' => '教科研管理', ...], ...], 'double_class' => [['id' => 1, 'title' => '创新创业实践', 'picurl' => 'uploads/20230223/b55...', ...], ['id' => 2, 'title' => '...', 'picurl' => 'uploads/20230223/64e...', ...]], ...], 'page' => ''], [], []) in Controller.php line 120
  9. at Controller->fetch('double_lists', ['model' => ['banner_show' => ['id' => 3, 'pid' => 0, 'navname' => '人才培养', ...], 'banner' => [['id' => 17, 'pid' => 3, 'navname' => '师资队伍', ...], ['id' => 18, 'pid' => 3, 'navname' => '学科专业', ...], ['id' => 19, 'pid' => 3, 'navname' => '教科研管理', ...], ...], 'double_class' => [['id' => 1, 'title' => '创新创业实践', 'picurl' => 'uploads/20230223/b55...', ...], ['id' => 2, 'title' => '...', 'picurl' => 'uploads/20230223/64e...', ...]], ...], 'page' => '']) in Talents.php line 199
  10. at Talents->double_lists()
  11. at ReflectionMethod->invokeArgs(object(Talents), []) in App.php line 343
  12. at App::invokeMethod([object(Talents), 'double_lists'], []) in App.php line 611
  13. at App::module(['index', 'talents', 'double_lists'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 457
  14. at App::exec(['type' => 'module', 'module' => ['index', 'talents', 'double_lists'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  15. at App::run() in start.php line 19
  16. at require('/www/wwwroot/192.168...') in index.php line 17

Environment Variables

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

Server/Request Data

USER
www
HOME
/home/www
FCGI_ROLE
RESPONDER
SCRIPT_FILENAME
/www/wwwroot/192.168.66.90/public/index.php
QUERY_STRING
s=//index/double_lists/classid/3/pid/2.html
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.php
REQUEST_URI
/index/double_lists/classid/3/pid/2.html
DOCUMENT_URI
/index.php
DOCUMENT_ROOT
/www/wwwroot/192.168.66.90/public
SERVER_PROTOCOL
HTTP/1.1
REQUEST_SCHEME
https
HTTPS
on
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.26.2
REMOTE_ADDR
219.143.7.11
REMOTE_PORT
19789
SERVER_ADDR
10.10.10.238
SERVER_PORT
443
SERVER_NAME
192.168.66.54
REDIRECT_STATUS
200
HTTP_HOST
hljszy.org.cn
PATH_INFO
//index/double_lists/classid/3/pid/2.html
HTTP_CLIENT_IP
2600:1f28:365:80b0:35e2:9369:6b76:3018
HTTP_USER_AGENT
CCBot/2.0 (https://commoncrawl.org/faq/)
HTTP_ACCEPT
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_LANGUAGE
en-US,en;q=0.5
HTTP_IF_MODIFIED_SINCE
Wed, 14 Jan 2026 23:11:42 GMT
HTTP_ACCEPT_ENCODING
br, gzip
HTTP_X_FORWARDED_FOR
2600:1f28:365:80b0:35e2:9369:6b76:3018
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1786565675.3823
REQUEST_TIME
1786565675
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/192.168.66.90/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1786565675.3828
THINK_START_MEM
262968
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/192.168.66.90/thinkphp/
LIB_PATH
/www/wwwroot/192.168.66.90/thinkphp/library/
CORE_PATH
/www/wwwroot/192.168.66.90/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/192.168.66.90/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/192.168.66.90/
EXTEND_PATH
/www/wwwroot/192.168.66.90/extend/
VENDOR_PATH
/www/wwwroot/192.168.66.90/vendor/
RUNTIME_PATH
/www/wwwroot/192.168.66.90/runtime/
LOG_PATH
/www/wwwroot/192.168.66.90/runtime/log/
CACHE_PATH
/www/wwwroot/192.168.66.90/runtime/cache/
TEMP_PATH
/www/wwwroot/192.168.66.90/runtime/temp/
CONF_PATH
/www/wwwroot/192.168.66.90/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
PC_PATH
/public/
STATIC_PATH
/public/static/
UPLOADS_PATH
/public/uploads/