提示:当前为默认节点,你可以在后台修改为你想要的站点!

[2] ErrorException in File.php line 188

file_put_contents(): Only 0 of 54 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():...', '/usr/share/nginx/htm...', 188, ['name' => 'cache_common_home_na...', 'value' => [], 'expire' => 0, ...])
  3. at file_put_contents('/usr/share/nginx/htm...', '<?php //000000000000...') in File.php line 188
  4. at File->set('cache_common_home_na...', [], 0)
  5. at call_user_func_array([object(File), 'set'], ['cache_common_home_na...', [], null]) in Cache.php line 130
  6. at Cache->__call('set', ['cache_common_home_na...', [], null])
  7. at call_user_func_array([object(Cache), 'set'], ['cache_common_home_na...', [], null]) in Facade.php line 123
  8. at Facade::__callStatic('set', ['cache_common_home_na...', [], null]) in helper.php line 143
  9. at cache('cache_common_home_na...', []) in NavigationService.php line 53
  10. at NavigationService::Home() in Common.php line 224
  11. at Common->NavInit() in Common.php line 63
  12. at Common->__construct() in Search.php line 37
  13. at Search->__construct()
  14. at ReflectionClass->newInstanceArgs([]) in Container.php line 439
  15. at Container->invokeClass('app\index\controller...', []) in Container.php line 284
  16. at Container->make('app\index\controller...', []) in App.php line 725
  17. at App->controller('search', 'controller', false, 'Error') in Module.php line 95
  18. at Module->exec() in Dispatch.php line 168
  19. at Dispatch->run() in App.php line 432
  20. at App->think\{closure}(object(Request), object(Closure), null)
  21. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  22. at Middleware->think\{closure}(object(Request))
  23. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  24. at Middleware->dispatch(object(Request)) in App.php line 435
  25. at App->run() in index.php line 24
  26. at require('/usr/share/nginx/htm...') in index.php line 16

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
_vstime 1560637711
Sessionempty
Server/Request Data
USER nginx
HOME /var/lib/nginx
HTTP_COOKIE _vstime=1560637711
HTTP_REFERER /
HTTP_ACCEPT */*
HTTP_HOST www.shyongru.cn
HTTP_USER_AGENT Mozilla/4.0 (compatible; vxiaotou-spider; MSIE 8.0; Windows NT 5.2)
REDIRECT_STATUS 200
SERVER_NAME shyongru.cn
SERVER_PORT 80
SERVER_ADDR 192.168.1.35
REMOTE_PORT 58905
REMOTE_ADDR 142.54.177.242
SERVER_SOFTWARE nginx/1.12.2
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /usr/share/nginx/html/shyongru
DOCUMENT_URI /index.php
REQUEST_URI /index.php?s=/index/search/index/category_id/906.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/index/search/index/category_id/906.html
SCRIPT_FILENAME /usr/share/nginx/html/shyongru//index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1560637666.2011
REQUEST_TIME 1560637666
Environment Variablesempty
ThinkPHP Constants
IS_ROOT_ACCESS true
__MY_HTTP__ http
__MY_ROOT__ /public/
__MY_HOST__ www.shyongru.cn
__MY_URL__ /
__MY_PUBLIC_URL__ /public/
__MY_VIEW_URL__ /index.php?s=/index/search/index/category_id/906.html
APPLICATION_VERSION v1.2.0
DS /
ROOT_PATH /usr/share/nginx/html/shyongru/public/
ROOT /usr/share/nginx/html/shyongru/
APP_PATH /usr/share/nginx/html/shyongru/application/
APPLICATION web
APPLICATION_CLIENT default
APPLICATION_CLIENT_TYPE pc
IS_AJAX false
http://www.vxiaotou.com