[2] ErrorException in File.php line 188

file_put_contents(): Only 0 of 167 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/www.gxk...', 188, ['name' => 'hooks', 'value' => ['ueditor' => ['\addons\editor\Edito...'], 'ueditorUpload' => ['\addons\editor\Edito...']], 'expire' => 0, ...])
  3. at file_put_contents('/www/wwwroot/www.gxk...', '<?php //000000000000...') in File.php line 188
  4. at File->set('hooks', ['ueditor' => ['\addons\editor\Edito...'], 'ueditorUpload' => ['\addons\editor\Edito...']])
  5. at call_user_func_array([object(File), 'set'], ['hooks', ['ueditor' => ['\addons\editor\Edito...'], 'ueditorUpload' => ['\addons\editor\Edito...']]]) in Cache.php line 130
  6. at Cache->__call('set', ['hooks', ['ueditor' => ['\addons\editor\Edito...'], 'ueditorUpload' => ['\addons\editor\Edito...']]])
  7. at call_user_func_array([object(Cache), 'set'], ['hooks', ['ueditor' => ['\addons\editor\Edito...'], 'ueditorUpload' => ['\addons\editor\Edito...']]]) in Facade.php line 123
  8. at Facade::__callStatic('set', ['hooks', ['ueditor' => ['\addons\editor\Edito...'], 'ueditorUpload' => ['\addons\editor\Edito...']]]) in helper.php line 89
  9. at {closure}()
  10. at call_user_func_array(object(Closure), []) in Container.php line 347
  11. at Container->invokeFunction(object(Closure), [[object(Error), 'index']]) in Container.php line 408
  12. at Container->invoke(object(Closure), [[object(Error), 'index']]) in Hook.php line 208
  13. at Hook->execTag('Closure', 'action_begin', [object(Error), 'index']) in Hook.php line 149
  14. at Hook->listen('action_begin', [object(Error), 'index']) in Module.php line 130
  15. at Module->think\route\dispatch\{closure}(object(Request), object(Closure), null)
  16. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  17. at Middleware->think\{closure}(object(Request))
  18. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  19. at Middleware->dispatch(object(Request), 'controller') in Module.php line 137
  20. at Module->exec() in Dispatch.php line 168
  21. at Dispatch->run() in App.php line 432
  22. at App->think\{closure}(object(Request), object(Closure), null)
  23. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  24. at Middleware->think\{closure}(object(Request)) in After.php line 14
  25. at After->handle(object(Request), object(Closure), null)
  26. at call_user_func_array([object(After), 'handle'], [object(Request), object(Closure), null]) in Middleware.php line 185
  27. at Middleware->think\{closure}(object(Request)) in Before.php line 20
  28. at Before->handle(object(Request), object(Closure), null)
  29. at call_user_func_array([object(Before), 'handle'], [object(Request), object(Closure), null]) in Middleware.php line 185
  30. at Middleware->think\{closure}(object(Request))
  31. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  32. at Middleware->dispatch(object(Request)) in App.php line 435
  33. at App->run() in index.php line 21

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_HOST gxkfw.com
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
PATH_INFO /index.php
REDIRECT_STATUS 200
SERVER_NAME www.gxkfw.com
SERVER_PORT 80
SERVER_ADDR 172.17.0.8
REMOTE_PORT 48820
REMOTE_ADDR 44.200.196.114
SERVER_SOFTWARE nginx/1.20.1
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/www.gxkfw.com/public
DOCUMENT_URI /index.php/
REQUEST_URI /index.php/
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING
SCRIPT_FILENAME /www/wwwroot/www.gxkfw.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php/index.php
REQUEST_TIME_FLOAT 1711665344.092
REQUEST_TIME 1711665344
Environment Variablesempty
ThinkPHP Constants
QINIU_FUNCTIONS_VERSION 7.2.7