System Error

[8] ErrorException in File.php line 159

file_put_contents(): write of 38 bytes failed with errno=28 No space left on device

  1. if ($this->tag && !is_file($filename)) {
  2. $first = true;
  3. }
  4. $data = serialize($value);
  5. if ($this->options['data_compress'] && function_exists('gzcompress')) {
  6. //数据压缩
  7. $data = gzcompress($data, 3);
  8. }
  9. $data = "<?php\n//" . sprintf('%012d', $expire) . "\n exit();?>\n" . $data;
  10. $result = file_put_contents($filename, $data);
  11. if ($result) {
  12. isset($first) && $this->setTagItem($filename);
  13. clearstatcache();
  14. return true;
  15. } else {
  16. return false;
  17. }
  18. }