[2] ErrorException in File.php line 188

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

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

Call Stack

  1. in File.php line 188
  2. at Error::appError(2, 'file_put_contents():...', '/www/wwwroot/vs.mini...', 188, ['name' => '6222eb8011ee869c85d9...', 'value' => ['id' => 592, 'applet_id' => 849, 'title' => '...', ...], 'expire' => 3600, ...])
  3. at file_put_contents('../runtime/cache/qwg...', '<?php //000000003600...') in File.php line 188
  4. at File->set('6222eb8011ee869c85d9...', ['id' => 592, 'applet_id' => 849, 'title' => '...', ...], 3600)
  5. at call_user_func_array([object(File), 'set'], ['6222eb8011ee869c85d9...', ['id' => 592, 'applet_id' => 849, 'title' => '...', ...], 3600]) in Cache.php line 130
  6. at Cache->__call('set', ['6222eb8011ee869c85d9...', ['id' => 592, 'applet_id' => 849, 'title' => '...', ...], 3600]) in Connection.php line 2104
  7. at Connection->cacheData('6222eb8011ee869c85d9...', ['id' => 592, 'applet_id' => 849, 'title' => '...', ...], ['key' => true, 'expire' => 3600, 'tag' => null]) in Connection.php line 856
  8. at Connection->find(object(Query)) in Query.php line 3152
  9. at Query->find() in Base.php line 53
  10. at Base->__construct(object(App))
  11. at ReflectionClass->newInstanceArgs([object(App)]) in Container.php line 439
  12. at Container->invokeClass('app\index\controller...', []) in Container.php line 284
  13. at Container->make('app\index\controller...', []) in App.php line 725
  14. at App->controller('goods', 'controller', false, 'Error') in Module.php line 94
  15. at Module->exec() in Dispatch.php line 168
  16. at Dispatch->run() in App.php line 432
  17. at App->think\{closure}(object(Request), object(Closure), null)
  18. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  19. at Middleware->think\{closure}(object(Request))
  20. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  21. at Middleware->dispatch(object(Request)) in App.php line 435
  22. at App->run() in index.php line 22

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Session
think { "applet_id": 849 }
Server/Request Data
USER www
HOME /home/www
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
HTTP_CONNECTION close
HTTP_X_FORWARDED_FOR 44.213.80.174
HTTP_HOST qwgift.com
HTTP_REMOTEIP 44.213.80.174
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME vs.miniappss.com
SERVER_PORT 80
SERVER_ADDR 172.23.128.12
REMOTE_PORT 18964
REMOTE_ADDR 100.122.184.45
SERVER_SOFTWARE nginx/1.22.0
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/vs.miniappss.com/public
DOCUMENT_URI /index.php
REQUEST_URI /list/classify_id/1450.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/list/classify_id/1450.html
SCRIPT_FILENAME /www/wwwroot/vs.miniappss.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1710813658.537
REQUEST_TIME 1710813658
Environment Variablesempty
ThinkPHP Constants
TABLE_CACHE_TIME 60