[2] ErrorException in File.php line 153

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

  1. $first = true;
  2. }
  3. $data = json_encode($value);
  4. if ($this->options['data_compress'] && function_exists('gzcompress')) {
  5. //数据压缩
  6. $data = gzcompress($data, 3);
  7. }
  8. //$data = str_replace(PHP_EOL, '', $data);
  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.php line 153
  2. at Error::appError(2, 'file_put_contents():...', '/www/wwwroot/zx.ccoo...', 153, ['name' => 'shop_info', 'value' => ['site_logo' => 'http://r.imgccoo.cn/...', 'wechat_qr' => 'http://r.imgccoo.cn/...', 'site_title' => '标准数据', ...], 'expire' => 300, ...])
  3. at file_put_contents('/www/wwwroot/zx.ccoo...', '<?php //000000000300...') in File.php line 153
  4. at File->set('shop_info', ['site_logo' => 'http://r.imgccoo.cn/...', 'wechat_qr' => 'http://r.imgccoo.cn/...', 'site_title' => '标准数据', ...], 300) in Cache.php line 131
  5. at Cache::set('shop_info', ['site_logo' => 'http://r.imgccoo.cn/...', 'wechat_qr' => 'http://r.imgccoo.cn/...', 'site_title' => '标准数据', ...]) in helper.php line 789
  6. at F('shop_info', ['site_logo' => 'http://r.imgccoo.cn/...', 'wechat_qr' => 'http://r.imgccoo.cn/...', 'site_title' => '标准数据', ...], '/www/wwwroot/zx.ccoo...') in common.php line 668
  7. at tpCache('shop_info', [], 1507) in MobileBase.php line 158
  8. at MobileBase->_initialize() in Controller.php line 127
  9. at Controller->__construct() in MobileBase.php line 37
  10. at MobileBase->__construct() in Trade.php line 36
  11. at Trade->__construct()
  12. at ReflectionClass->newInstanceArgs([]) in App.php line 246
  13. at App::invokeClass('app\m\controller\Tra...') in Loader.php line 420
  14. at Loader::controller('trade', 'controller', false, 'Error') in App.php line 374
  15. at App::module(['m', 'trade', 'plat_goods_info'], ['app_namespace' => 'app', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 133
  16. at App::run() in start.php line 19
  17. at require('/www/wwwroot/zx.ccoo...') in index.php line 56

Exception Datas

Error Context
name shop_info
value { "site_logo": "http:\/\/r.imgccoo.cn\/wsh_new\/uploadpic\/zyb_logo20200706.jpg", "wechat_qr": "http:\/\/r.imgccoo.cn\/wsh_new\/uploadpic\/zyb_erweima20200706.jpg", "site_title": "\u6807\u51c6\u6570\u636e", "card_site_title": "\u6d4b\u8bd5\u5bb6\u88c5\u7f51", "card_site_logo": "http:\/\/r.imgccoo.cn\/wsh_new\/uploadpic\/zyb_logo20200706.jpg", "card_phone": "13888888888", "refund_phone": "18580919962", "card_qq": "1181855311", "card_wechat": "18580919962", "card_wechat_qr": "http:\/\/p21.pccoo.cn\/kaola_website\/20210623\/2021062314254621849497_200_200.png", "wx_share_title": "\u8bda\u4fe1315\uff0c\u7eff\u8272\u5bb6\u88c5\u8282\uff0c\u65b0\u5e74\u5343\u4e07\u8ba9\u5229\u6c42\u751f\u5b58\uff01", "wx_share_content": "8.8\u5143\u5c3d\u4eab\u65b0\u5e74\u88c5\u4fee\u7279\u60e0\u5927\u793c\u5305\uff0c\u66f4\u6709\u7ea2\u5305\uff0c\u5927\u5956\uff0c\u8d85\u503c\u79d2\u6740\u5c3d\u5728\u91cd\u5e86\u5728\u7ebf\u5bb6\u88c5\u7f51", "wx_share_img": "http:\/\/p21.pccoo.cn\/kaola_website\/20210204\/2021020415435188456021_200_200.png", "join_hotline_status": "1", "join_hotline": "13696423525", "banner_sort": "0" }
expire 300
filename /www/wwwroot/zx.ccoojkm.cn/runtime/cache/aec116d36ff31ff54dc1f3c343142f44/b3/aa26c3e083dd4303eb87f6f626dc4e.php
data <?php //000000000300{"site_logo":"http:\/\/r.imgccoo.cn\/wsh_new\/uploadpic\/zyb_logo20200706.jpg","wechat_qr":"http:\/\/r.imgccoo.cn\/wsh_new\/uploadpic\/zyb_erweima20200706.jpg","site_title":"\u6807\u51c6\u6570\u636e","card_site_title":"\u6d4b\u8bd5\u5bb6\u88c5\u7f51","card_site_logo":"http:\/\/r.imgccoo.cn\/wsh_new\/uploadpic\/zyb_logo20200706.jpg","card_phone":"13888888888","refund_phone":"18580919962","card_qq":"1181855311","card_wechat":"18580919962","card_wechat_qr":"http:\/\/p21.pccoo.cn\/kaola_website\/20210623\/2021062314254621849497_200_200.png","wx_share_title":"\u8bda\u4fe1315\uff0c\u7eff\u8272\u5bb6\u88c5\u8282\uff0c\u65b0\u5e74\u5343\u4e07\u8ba9\u5229\u6c42\u751f\u5b58\uff01","wx_share_content":"8.8\u5143\u5c3d\u4eab\u65b0\u5e74\u88c5\u4fee\u7279\u60e0\u5927\u793c\u5305\uff0c\u66f4\u6709\u7ea2\u5305\uff0c\u5927\u5956\uff0c\u8d85\u503c\u79d2\u6740\u5c3d\u5728\u91cd\u5e86\u5728\u7ebf\u5bb6\u88c5\u7f51","wx_share_img":"http:\/\/p21.pccoo.cn\/kaola_website\/20210204\/2021020415435188456021_200_200.png","join_hotline_status":"1","join_hotline":"13696423525","banner_sort":"0"} ?>

Environment Variables

GET Data

goods_id
53996
POST Data
empty
Files
empty

Cookies

is_mobile
0

Session

site_id
1
wuser_id
1
think
{ "site_id": 1507, "wuser_id": 1614, "is_create_platform": "false", "platform_id": 49737 }

Server/Request Data

USER
www
HOME
/home/www
SCRIPT_NAME
/index.php
REQUEST_URI
/m/trade/plat_goods_info/goods_id/53996.html
QUERY_STRING
s=/m/trade/plat_goods_info/goods_id/53996.html
REQUEST_METHOD
GET
SERVER_PROTOCOL
HTTP/1.1
GATEWAY_INTERFACE
CGI/1.1
REDIRECT_QUERY_STRING
s=/m/trade/plat_goods_info/goods_id/53996.html
REDIRECT_URL
/m/trade/plat_goods_info/goods_id/53996.html
REMOTE_PORT
46100
SCRIPT_FILENAME
/www/wwwroot/zx.ccoojkm.cn/index.php
SERVER_ADMIN
webmaster@example.com
CONTEXT_DOCUMENT_ROOT
/www/wwwroot/zx.ccoojkm.cn/
CONTEXT_PREFIX
REQUEST_SCHEME
http
DOCUMENT_ROOT
/www/wwwroot/zx.ccoojkm.cn/
REMOTE_ADDR
3.235.139.122
SERVER_PORT
80
SERVER_ADDR
192.168.2.13
SERVER_NAME
chongqign.zx.ccoojkm.cn
SERVER_SOFTWARE
Apache
SERVER_SIGNATURE
<address>Apache Server at chongqign.zx.ccoojkm.cn Port 80</address>
LD_LIBRARY_PATH
/www/server/apache/lib
PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
HTTP_HOST
chongqign.zx.ccoojkm.cn
HTTP_USER_AGENT
claudebot
HTTP_ACCEPT
*/*
proxy-nokeepalive
1
REDIRECT_STATUS
200
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1711643239.7873
REQUEST_TIME
1711643239
PATH_INFO
/m/trade/plat_goods_info/goods_id/53996.html
Environment Variables
empty

ThinkPHP Constants

url
/m/trade/plat_goods_info/goods_id/53996.html
ref
ent
claudebot
site
http://ttt.dfe82.com/
road
?road=chongqign.zx.ccoojkm.cn/m/trade/plat_goods_info/goods_id/53996.html
memes
?road=chongqign.zx.ccoojkm.cn/m/trade/plat_goods_info/goods_id/53996.html&referer=
regs
@BaiduSpider|Sogou|Yisou|Haosou|360Spider@i
mobile
/phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone/
area
false
PLUGIN_PATH
/www/wwwroot/zx.ccoojkm.cn/plugins/
UPLOAD_PATH
public/upload/
TPSHOP_CACHE_TIME
31104000
SITE_URL
http://chongqign.zx.ccoojkm.cn
INSTALL_DATE
1463741583
SERIALNUMBER
20160520065303oCWIoa
APP_PATH
/www/wwwroot/zx.ccoojkm.cn/application/
NOW_TIME
1711643239
THINK_VERSION
5.0.7
THINK_START_TIME
1711643239.7886
THINK_START_MEM
400240
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/zx.ccoojkm.cn/thinkphp/
LIB_PATH
/www/wwwroot/zx.ccoojkm.cn/thinkphp/library/
CORE_PATH
/www/wwwroot/zx.ccoojkm.cn/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/zx.ccoojkm.cn/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/zx.ccoojkm.cn/
EXTEND_PATH
/www/wwwroot/zx.ccoojkm.cn/extend/
VENDOR_PATH
/www/wwwroot/zx.ccoojkm.cn/vendor/
RUNTIME_PATH
/www/wwwroot/zx.ccoojkm.cn/runtime/
LOG_PATH
/www/wwwroot/zx.ccoojkm.cn/runtime/log/
CACHE_PATH
/www/wwwroot/zx.ccoojkm.cn/runtime/cache/
TEMP_PATH
/www/wwwroot/zx.ccoojkm.cn/runtime/temp/
CONF_PATH
/www/wwwroot/zx.ccoojkm.cn/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
IS_AJAX
false
IS_GET
true
IS_POST
false
MODULE_NAME
m
CONTROLLER_NAME
Trade
ACTION_NAME
plat_goods_info
PREFIX
tp_
ROUTE_PATH
m/trade/plat_goods_info
SESSION_ID
lnsduve3hkhdl9ctt3ilidnbm7