[2] ErrorException in File.php line 32

file_put_contents(): Only 0 of 1978 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

Exception Datas

Error Context
cacheFile /usr/home/byu7420240001/htdocs/caches/temp/eae51d46ed6aca161ee8d68321699a4a.php
content <?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:9:"./404.htm";i:1585125948;}*/ ?> <!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="renderer" content="webkit|ie-comp|ie-stand"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" /> <title>404</title> <link rel="stylesheet" type="text/css" href="/statics/layui/css/layui.css"> <style type="text/css"> body { line-height: 1.6; } .page-404 { color: #afb5bf; padding-top: 60px; padding-bottom: 90px; } .text-c { text-align: center; } .ml-20 { margin-left: 20px; } .va-m { vertical-align: middle!important; } .page-404 .error-title { font-size: 80px; } .page-404 .error-description { font-size: 24px; } .page-404 .error-info { font-size: 14px; } .c-primary{ color:#5a98de } .c-primary:hover{ text-decoration: underline; color:#5a98de } p { margin-bottom: 10px; } </style> </head> <body> <div class="page-404 text-c"> <p class="error-title"> <span class="va-m"> 404</span> </p> <p class="error-description">不好意思,您访问的页面不存在~</p> <p class="error-info">您可以: <a href="javascript:;" onclick="history.go(-1)" class="c-primary">&lt; 返回上一页</a> <span class="ml-20">|</span> <a href="/" class="c-primary ml-20">去首页 &gt;</a> <span class="ml-20">|</span> </p> </div> </body> </html>
dir /usr/home/byu7420240001/htdocs/caches/temp