67855老品牌值得您信赖

[2] ErrorException in File.phphtml line 152

file_put_contents(): Only 0 of 156 bytes written, possibly out of free disk space

  1. if ($this->tag && !is_file($filename)) {
  2. $first = true;
  3. }
  4. $data = serialize($value);
  5. if ($this->options['data_compress'] && function_exists('gzcompress')) {
  6. //数据压缩
  7. $data = gzcompress($data, 3);
  8. }
  9. $data = "<?php\n//" . sprintf('%012d', $expire) . $data . "\n?>";
  10. $result = file_put_contents($filename, $data);
  11. if ($result) {
  12. isset($first) && $this->setTagItem($filename);
  13. clearstatcache();
  14. return true;
  15. } else {
  16. return false;
  17. }
  18. }

Call Stack

  1. in File.phphtml line 152
  2. at Error::appError(2, 'file_put_contents():...', '/var/wwwroot/yedudc/...', 152, ['name' => 'badip', 'value' => [['id' => 2, 'ip' => '111.12.13.1', 'create_time' => 1474777273, ...]], 'expire' => 3600, ...])
  3. at file_put_contents('/var/wwwroot/yedudc/...', '<?php //000000003600...') in File.phphtml line 152
  4. at File->set('badip', [['id' => 2, 'ip' => '111.12.13.1', 'create_time' => 1474777273, ...]], null) in helper.phphtml line 384
  5. at cache('badip', [['id' => 2, 'ip' => '111.12.13.1', 'create_time' => 1474777273, ...]]) in Badip.phphtml line 73
  6. at Badip->checkIp() in Base.phphtml line 115
  7. at Base->_initialize() in Newhouse.phphtml line 11
  8. at Newhouse->_initialize() in Controller.phphtml line 56
  9. at Controller->__construct(object(Request))
  10. at ReflectionClass->newInstanceArgs([object(Request)]) in App.phphtml line 215
  11. at App::invokeClass('app\home\controller\...') in Loader.phphtml line 420
  12. at Loader::controller('newhouse', 'controller', false, 'Error') in App.phphtml line 388
  13. at App::module(['home', 'newhouse', 'houseinfo'], ['app_debug' =>true, 'app_trace' =>false, 'app_status' => '', ...], null) in App.phphtml line 295
  14. at App::exec(['type' => 'module', 'module' => ['home', 'newhouse', 'houseinfo']], ['app_debug' =>true, 'app_trace' =>false, 'app_status' => '', ...]) in App.phphtml line 123
  15. at App::run() in start.phphtml line 18
  16. at require('/var/wwwroot/yedudc/...') in index.phphtml line 23

Exception Datas

Error Context
name badip
value [ { "id": 2, "ip": "111.12.13.1", "create_time": 1474777273, "expires": 1475122873, "status": 1 } ]
expire 3600
filename /var/wwwroot/yedudc/runtime/cache/33/36afcbf58fa6ec9125505dd22d3efc.phphtml
data <?php //000000003600a:1:{i:0;a:5:{s:2:"id";i:2;s:2:"ip";s:11:"111.12.13.1";s:11:"create_time";i:1474777273;s:7:"expires";i:1475122873;s:6:"status";i:1;}} ?>

Environment Variables

GET Data
empty
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

HTTP_HOST
www.kjtwzg.cn
HTTP_X_REAL_IP
104.217.79.22
HTTP_X_FORWARDED_FOR
104.217.79.22
HTTP_X_CLIENT_VERIFY
SUCCESS
HTTP_CONNECTION
close
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)
PATH
/sbin:/usr/sbin:/bin:/usr/bin
SERVER_SIGNATURE
SERVER_SOFTWARE
Apache/2.2.32 (Unix) DAV/2 PHP/5.6.30
SERVER_NAME
www.kjtwzg.cn
SERVER_ADDR
127.0.0.1
SERVER_PORT
80
REMOTE_ADDR
127.0.0.1
DOCUMENT_ROOT
/var/wwwroot/yedudc/public
SERVER_ADMIN
webmaster@dummy-host.example.com
SCRIPT_FILENAME
/var/wwwroot/yedudc/public/index.phphtml
REMOTE_PORT
60562
GATEWAY_INTERFACE
CGI/1.1
SERVER_PROTOCOL
HTTP/1.0
REQUEST_METHOD
GET
QUERY_STRING
s=/newhouse/houseinfo/id/10001.html
REQUEST_URI
/index.phphtml?s=/newhouse/houseinfo/id/10001.html
SCRIPT_NAME
/index.phphtml
PHP_SELF
/index.phphtml
REQUEST_TIME_FLOAT
1606477630.209
REQUEST_TIME
1606477630
PATH_INFO
/newhouse/houseinfo/id/10001.html
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/var/wwwroot/yedudc/public/../afang/
STATIC_PATH
/static/
IMG_PATH
/static/images/
UPLOAD_TYPE
OSS
SMS_TYPE
Dayu
THINK_VERSION
5.0.9
THINK_START_TIME
1606477630.2104
THINK_START_MEM
265232
EXT
.phphtml
DS
/
THINK_PATH
/var/wwwroot/yedudc/thinkphp/
LIB_PATH
/var/wwwroot/yedudc/thinkphp/library/
CORE_PATH
/var/wwwroot/yedudc/thinkphp/library/think/
TRAIT_PATH
/var/wwwroot/yedudc/thinkphp/library/traits/
ROOT_PATH
/var/wwwroot/yedudc/
EXTEND_PATH
/var/wwwroot/yedudc/extend/
VENDOR_PATH
/var/wwwroot/yedudc/vendor/
RUNTIME_PATH
/var/wwwroot/yedudc/runtime/
LOG_PATH
/var/wwwroot/yedudc/runtime/log/
CACHE_PATH
/var/wwwroot/yedudc/runtime/cache/
TEMP_PATH
/var/wwwroot/yedudc/runtime/temp/
CONF_PATH
/var/wwwroot/yedudc/public/../afang/
CONF_EXT
.phphtml
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
bifa2008千亿国际注册千亿国际赌场