[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/souhain...', 188, ['name' => 'hooks', 'value' => ['ueditor' => ['\addons\editor\Edito...'], 'ueditorUpload' => ['\addons\editor\Edito...']], 'expire' => 0, ...])
  3. at file_put_contents('/www/wwwroot/souhain...', '<?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(Login), 'register']]) in Container.php line 408
  12. at Container->invoke(object(Closure), [[object(Login), 'register']]) in Hook.php line 208
  13. at Hook->execTag('Closure', 'action_begin', [object(Login), 'register']) in Hook.php line 149
  14. at Hook->listen('action_begin', [object(Login), 'register']) 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))
  25. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  26. at Middleware->dispatch(object(Request)) in App.php line 435
  27. at App->run() in index.php line 21

Environment Variables

GET Data
/login/register_html
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
SCRIPT_NAME /index.php
REQUEST_URI /login/register.html
QUERY_STRING /login/register.html
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REDIRECT_QUERY_STRING /login/register.html
REDIRECT_URL /login/register.html
REMOTE_PORT 34374
SCRIPT_FILENAME /www/wwwroot/souhainan.com/public/index.php
SERVER_ADMIN webmaster@example.com
CONTEXT_DOCUMENT_ROOT /www/wwwroot/souhainan.com/public
CONTEXT_PREFIX
REQUEST_SCHEME http
DOCUMENT_ROOT /www/wwwroot/souhainan.com/public
REMOTE_ADDR 54.221.159.188
SERVER_PORT 80
SERVER_ADDR 122.114.124.123
SERVER_NAME haikou.souhainan.com
SERVER_SOFTWARE Apache
SERVER_SIGNATURE <address>Apache Server at haikou.souhainan.com Port 80</address>
LD_LIBRARY_PATH /www/server/apache/lib
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
HTTP_HOST haikou.souhainan.com
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
proxy-nokeepalive 1
REDIRECT_STATUS 200
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1710807029.2293
REQUEST_TIME 1710807029
Environment Variablesempty
ThinkPHP Constants
QINIU_FUNCTIONS_VERSION 7.2.7