[2] ErrorException in File.php line 188

file_put_contents(): Only 0 of 756 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' => '3f6ca307565df7d4df78...', 'value' => [['id' => 536, 'p_id' => 0, 'title' => '品牌精选', ...], ['id' => 28, 'p_id' => 0, 'title' => '商务文创', ...], ['id' => 1130, 'p_id' => 0, 'title' => '全部商品', ...], ...], 'expire' => 60, ...])
  3. at file_put_contents('../runtime/cache/www...', '<?php //000000000060...') in File.php line 188
  4. at File->set('3f6ca307565df7d4df78...', [['id' => 536, 'p_id' => 0, 'title' => '品牌精选', ...], ['id' => 28, 'p_id' => 0, 'title' => '商务文创', ...], ['id' => 1130, 'p_id' => 0, 'title' => '全部商品', ...], ...], 60)
  5. at call_user_func_array([object(File), 'set'], ['3f6ca307565df7d4df78...', [['id' => 536, 'p_id' => 0, 'title' => '品牌精选', ...], ['id' => 28, 'p_id' => 0, 'title' => '商务文创', ...], ['id' => 1130, 'p_id' => 0, 'title' => '全部商品', ...], ...], 60]) in Cache.php line 130
  6. at Cache->__call('set', ['3f6ca307565df7d4df78...', [['id' => 536, 'p_id' => 0, 'title' => '品牌精选', ...], ['id' => 28, 'p_id' => 0, 'title' => '商务文创', ...], ['id' => 1130, 'p_id' => 0, 'title' => '全部商品', ...], ...], 60]) in Connection.php line 2104
  7. at Connection->cacheData('3f6ca307565df7d4df78...', [['id' => 536, 'p_id' => 0, 'title' => '品牌精选', ...], ['id' => 28, 'p_id' => 0, 'title' => '商务文创', ...], ['id' => 1130, 'p_id' => 0, 'title' => '全部商品', ...], ...], ['key' => true, 'expire' => 60, 'tag' => null]) in Connection.php line 1423
  8. at Connection->column(object(Query), ['id', 'p_id', 'title', ...], 'id') in Query.php line 628
  9. at Query->column('id,p_id,title,style,...') in HomeMenu.php line 16
  10. at HomeMenu->getMenuList() in Base.php line 68
  11. at Base->__construct(object(App))
  12. at ReflectionClass->newInstanceArgs([object(App)]) in Container.php line 439
  13. at Container->invokeClass('app\index\controller...', []) in Container.php line 284
  14. at Container->make('app\index\controller...', []) in App.php line 725
  15. at App->controller('goods', 'controller', false, 'Error') in Module.php line 94
  16. at Module->exec() in Dispatch.php line 168
  17. at Dispatch->run() in App.php line 432
  18. at App->think\{closure}(object(Request), object(Closure), null)
  19. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  20. at Middleware->think\{closure}(object(Request))
  21. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  22. at Middleware->dispatch(object(Request)) in App.php line 435
  23. at App->run() in index.php line 22

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Session
think { "applet_id": 25 }
Server/Request Data
USER www
HOME /home/www
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
HTTP_CONNECTION close
HTTP_X_FORWARDED_FOR 3.93.173.205
HTTP_HOST www.yfkj2015.com
HTTP_REMOTEIP 3.93.173.205
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME vs.miniappss.com
SERVER_PORT 80
SERVER_ADDR 172.23.128.12
REMOTE_PORT 45700
REMOTE_ADDR 100.122.184.75
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/106.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/list/classify_id/106.html
SCRIPT_FILENAME /www/wwwroot/vs.miniappss.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1710813883.3759
REQUEST_TIME 1710813883
Environment Variablesempty
ThinkPHP Constants
TABLE_CACHE_TIME 60