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

Environment Variables

GET Data
/newhouse/search_html
cityarea 105
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
FCGI_ROLE RESPONDER
REDIRECT_SCRIPT_URL /newhouse/search.html
REDIRECT_SCRIPT_URI http://www.huacheng.wang/newhouse/search.html
REDIRECT_STATUS 200
SCRIPT_URL /newhouse/search.html
SCRIPT_URI http://www.huacheng.wang/newhouse/search.html
proxy-nokeepalive 1
HTTP_ACCEPT */*
HTTP_USER_AGENT claudebot
HTTP_HOST www.huacheng.wang
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
LD_LIBRARY_PATH /www/server/apache/lib
SERVER_SIGNATURE <address>Apache Server at www.huacheng.wang Port 80</address>
SERVER_SOFTWARE Apache
SERVER_NAME www.huacheng.wang
SERVER_ADDR 172.16.47.78
SERVER_PORT 80
REMOTE_ADDR 3.238.79.169
DOCUMENT_ROOT /www/wwwroot/huacheng/public
REQUEST_SCHEME http
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT /www/wwwroot/huacheng/public
SERVER_ADMIN webmaster@example.com
SCRIPT_FILENAME /www/wwwroot/huacheng/public/index.php
REMOTE_PORT 37990
REDIRECT_URL /newhouse/search.html
REDIRECT_QUERY_STRING /newhouse/search.html&cityarea=105
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING /newhouse/search.html&cityarea=105
REQUEST_URI /newhouse/search.html?cityarea=105
SCRIPT_NAME /index.php
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711651506.7641
REQUEST_TIME 1711651506
Environment Variablesempty
ThinkPHP Constants
QINIU_FUNCTIONS_VERSION 7.2.7