[2] ErrorException in File.php line 32

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

  1. */
  2. public function write($cacheFile, $content)
  3. {
  4. // 检测模板目录
  5. $dir = dirname($cacheFile);
  6. if (!is_dir($dir)) {
  7. mkdir($dir, 0755, true);
  8. }
  9. // 生成模板缓存文件
  10. if (false === file_put_contents($cacheFile, $content)) {
  11. throw new Exception('cache write error:' . $cacheFile, 11602);
  12. }
  13. }
  14. /**
  15. * 读取编译编译
  16. * @param string $cacheFile 缓存的文件名
  17. * @param array $vars 变量数组
  18. * @return void

Exception Datas

Error Context
cacheFile /data/home/qxu1649980366/htdocs/caches/temp/cb10cc532a5b7d1b1ed9b7ae44da841f.php
content <?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:42:"./template/default/index/show_article.html";i:1524191118;s:73:"/data/home/qxu1649980366/htdocs/template/default/index/public_header.html";i:1555126650;s:71:"/data/home/qxu1649980366/htdocs/template/default/index/public_left.html";i:1587439434;s:73:"/data/home/qxu1649980366/htdocs/template/default/index/public_footer.html";i:1703842521;}*/ ?> <!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="renderer" content="webkit|ie-comp|ie-stand"> <meta http-equiv="X-UA-Compatible" content="IE=Edge"> <meta name="keywords" content="<?php echo "输送机厂家,不锈钢网带,链条厂,链条厂家"; ?>"> <meta name="description" content="<?php echo "德州邹氏网链输送设备有限公司专业生产不锈钢网带、链板、链条、网带输送机械设备等。自建厂十几年来在全国广大用户大力支持协助下,产品行销全国1000多个用户。在玻璃制品和食品等行业上,享有较高的声誉,深受广大用户欢迎。输送机厂家_不锈钢网带_链条厂咨询电话:17615967888 "; ?>"> <title><?php echo $content['title']; ?>-<?php echo $category['title']; ?>-<?php echo "德州邹氏网链输送设备有限公司"; ?></title> <link rel="stylesheet" href="__PUBLIC__/css/yunu.css"> </head> <body> <?php error_reporting(0); ?> <div class="header"> <div class="center"> <div class="head_top_content"> <div class="head_logo fl"> <img src="<?php echo "/uploads/image/20200422/3da4cbf700554f92b6cc031fa26f504c.png"; ?>" width="700px" alt=""> <!--div class="head_text fl"> <?php $_block = db('block')->where("title='".'head_text2'."'")->find(); $_block = update_str_dq($_block, config('sys.sys_area')); $_block_content = ''; if ($_block) { if ($_block['type'] == 2) { if (!0) { $_block_content = '<img src="'. $_block['content'] .'" />'; }else { $_block_content = $_block['content']; } }else { if(0) { $_block_content = str2sub(strip_tags($_block['content']), 0, 0);//清除html再截取 }else { $_block_content = $_block['content']; } } } echo $_block_content; ?> </div--> </div> <div class="fr"> <?php $_block = db('block')->where("title='".'head_text3'."'")->find(); $_block = update_str_dq($_block, config('sys.sys_area')); $_block_content = ''; if ($_block) { if ($_block['type'] == 2) { if (!0) { $_block_content = '<img src="'. $_block['content'] .'" />'; }else { $_block_content = $_block['content']; } }else { if(0) { $_block_content = str2sub(strip_tags($_block['content']), 0, 0);//清除html再截取 }else { $_block_content = $_block['content']; } } } echo $_block_content; ?> <img src="/template/default/index/img/ewm01.jpg" width="150px" /> </div> </div> <div class="head_nav"> <ul> <?php $cid = isset($cid) ? $cid : 0; ?> <li><a href="<?php echo "http://www.dzzswl.com/"; ?>" <?php if(!isset($cid)): ?>class="active"<?php endif; ?> >网站首页</a></li> <?php $_limit = "10"; $_typeid = intval('1'); $_category = new app\index\model\CategoryModel(); $_navlist = $_category->getCategory('', $_typeid, false); $_navlist = $_category->unlimitedForLayer($_navlist); foreach($_navlist as $autoindex => $nav): $_limit_list = explode(',', $_limit); if(count($_limit_list) > 1){ if(($autoindex < $_limit_list[0]) || ($autoindex > $_limit_list[1])) continue; } else{ if($autoindex >= $_limit) break; } $nav['target'] = $nav['target'] ? '_blank' : '_self'; $nav['url'] = $_category->getCategoryUrl($nav, []); $nav = update_str_dq($nav, config('sys.sys_area')); ?> <li><a href="<?php echo $nav['url']; ?>" <?php if($nav['id'] == $cid): ?>class="active"<?php endif; ?> target="<?php echo $nav['target']; ?>"><?php echo $nav['title']; ?></a></li> <?php endforeach;?> </ul> </div> </div> </div> <?php if(!is_array([index])): ?> <div class="banner"> <div class="banner_img" id="wowslider-container"> <div class="ws_images" id="banner"> <ul> <?php $_type = '1'; $_where = []; if ($_type) { $_where['type'] = $_type; } $_limit = "10"; $_infolist = db('banner')->where($_where)->order("sort desc")->limit($_limit)->select(); foreach ($_infolist as $k => $banner): $banner = update_str_dq($banner, config('sys.sys_area')); ?> <li> <a href="<?php echo $banner['url']; ?>"><img src="<?php echo $banner['pic']; ?>" alt="<?php echo $banner['title']; ?>" width="100%" ></a> </li> <?php endforeach;?> </ul> </div> <!-- <div class="ws_bullets"> <div> <a href="javascript:;"> <span>1</span> </a> <a href="javascript:;"> <span>2</span> </a> </div> </div> <div class="ws_shadow"></div> --> </div> <!-- <script type="text/javascript" src="__PUBLIC__/js/wowslider.js"></script> <script type="text/javascript" src="__PUBLIC__/js/script.js"></script> --> <div class="banner_text"> <div class=" center"> <div class="banner_text_content"> <!--img class="imgleft" id="imgleft" src="__PUBLIC__/img/jb.png" alt=""--> <!--div class="banner_text_bg"> <?php $_block = db('block')->where("title='".'banner_text'."'")->find(); $_block = update_str_dq($_block, config('sys.sys_area')); $_block_content = ''; if ($_block) { if ($_block['type'] == 2) { if (!0) { $_block_content = '<img src="'. $_block['content'] .'" />'; }else { $_block_content = $_block['content']; } }else { if(0) { $_block_content = str2sub(strip_tags($_block['content']), 0, 0);//清除html再截取 }else { $_block_content = $_block['content']; } } } echo $_block_content; ?> </div--> <script type="text/javascript"> $(document).ready(function(){ $('#banner').roll({ height: 550, banner: true, btn: true, center: false }); $('#imgleft').animate({left: "0"},1000); $('#pbottom').animate({top: "0"},1000); $('#fonts').animate({fontSize: "43px"},1000); $('#fonts').animate({opacity: "1"},2000); }); </script> </div> </div> </div> </div> <?php else: ?> <div class="page_banner"> <?php $_block = db('block')->where("title='".'page_banner'."'")->find(); $_block = update_str_dq($_block, config('sys.sys_area')); $_block_content = ''; if ($_block) { if ($_block['type'] == 2) { if (!0) { $_block_content = '<img src="'. $_block['content'] .'" />'; }else { $_block_content = $_block['content']; } }else { if(0) { $_block_content = str2sub(strip_tags($_block['content']), 0, 0);//清除html再截取 }else { $_block_content = $_block['content']; } } } echo $_block_content; ?> </div> <?php endif; ?> <div class="main container"> <div class="center"> <div class="main_l fl" id="main_l"> <p> <span> <?php $_type = "son"; $_typeid = intval(21); $_category = new app\index\model\CategoryModel(); $_catlist = $_category->getCategory(1); if ($_type == 'parent') { $_parent = $_category->getParents($_catlist, $_typeid); $_typeid = $_parent[0]['id']; } $type = $_category->getOneCategory($_typeid); $type['url'] = $_category->getCategoryUrl($type); $type = update_str_dq($type, config('sys.sys_area')); ?><?php echo $type['title']; ?> </span> <i>PRODUCT DISPLAY</i> </p> <ul> <li class="FproName"> <?php $_type = "son"; $_typeid = intval(99); $_category = new app\index\model\CategoryModel(); $_catlist = $_category->getCategory(1); if ($_type == 'parent') { $_parent = $_category->getParents($_catlist, $_typeid); $_typeid = $_parent[0]['id']; } $type = $_category->getOneCategory($_typeid); $type['url'] = $_category->getCategoryUrl($type); $type = update_str_dq($type, config('sys.sys_area')); ?><a href="<?php echo $type['url']; ?>" target="_blank"><span class="protitle"><?php echo $type['title']; ?></span></a> </li> <?php $_limit = "18"; $_cid = intval(99); $_type = "son"; $_category = new app\index\model\CategoryModel(); if($_cid == -1) $_cid = input('cid'); $_catlist = $_category->getCategory(1); if (1 == 0) { $_catlist = $_category->clearLink($_catlist);//去除外部链接的栏目 } //type为parent if ($_type == 'parent') { $_parent = $_category->getParents($_catlist, $_cid); $_catlist = $_category->unlimitedForLayer($_catlist, 'child', $_parent[0]['id']); }else{ //type为top,忽略cid if($_cid == 0 || $_type == 'top') { $_catlist = $_category->unlimitedForLayer($_catlist); }else { if ($_type == 'self') { //同级分类 $_typeinfo = $_category->getSelf($_catlist, $_cid ); $_catlist = $_category->unlimitedForLayer($_catlist, 'child', $_typeinfo['pid']); }else { //son,子类列表 $_catlist = $_category->unlimitedForLayer($_catlist, 'child', $_cid); } } } $_limit_list = explode(',', $_limit); foreach($_catlist as $autoindex => $catlist): if(count($_limit_list) > 1){ if(($autoindex < $_limit_list[0]) || ($autoindex > $_limit_list[1])) continue; } else{ if($autoindex >= $_limit_list[0]) break; } $catlist = update_str_dq($catlist, config('sys.sys_area')); ?> <li><a href="<?php echo $catlist['url']; ?>" target="_blank"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;—&nbsp;&nbsp;<?php echo $catlist['title']; ?></span></a></li> <?php endforeach;?> <li class="FproName"> <?php $_type = "son"; $_typeid = intval(96); $_category = new app\index\model\CategoryModel(); $_catlist = $_category->getCategory(1); if ($_type == 'parent') { $_parent = $_category->getParents($_catlist, $_typeid); $_typeid = $_parent[0]['id']; } $type = $_category->getOneCategory($_typeid); $type['url'] = $_category->getCategoryUrl($type); $type = update_str_dq($type, config('sys.sys_area')); ?><a href="<?php echo $type['url']; ?>" target="_blank"><span class="protitle"><?php echo $type['title']; ?></span></a> </li> <?php $_limit = "18"; $_cid = intval(96); $_type = "son"; $_category = new app\index\model\CategoryModel(); if($_cid == -1) $_cid = input('cid'); $_catlist = $_category->getCategory(1); if (1 == 0) { $_catlist = $_category->clearLink($_catlist);//去除外部链接的栏目 } //type为parent if ($_type == 'parent') { $_parent = $_category->getParents($_catlist, $_cid); $_catlist = $_category->unlimitedForLayer($_catlist, 'child', $_parent[0]['id']); }else{ //type为top,忽略cid if($_cid == 0 || $_type == 'top') { $_catlist = $_category->unlimitedForLayer($_catlist); }else { if ($_type == 'self') { //同级分类 $_typeinfo = $_category->getSelf($_catlist, $_cid ); $_catlist = $_category->unlimitedForLayer($_catlist, 'child', $_typeinfo['pid']); }else { //son,子类列表 $_catlist = $_category->unlimitedForLayer($_catlist, 'child', $_cid); } } } $_limit_list = explode(',', $_limit); foreach($_catlist as $autoindex => $catlist): if(count($_limit_list) > 1){ if(($autoindex < $_limit_list[0]) || ($autoindex > $_limit_list[1])) continue; } else{ if($autoindex >= $_limit_list[0]) break; } $catlist = update_str_dq($catlist, config('sys.sys_area')); ?> <li><a href="<?php echo $catlist['url']; ?>" target="_blank"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;—&nbsp;&nbsp;<?php echo $catlist['title']; ?></span></a></li> <?php endforeach;?> <li class="FproName"> <?php $_type = "son"; $_typeid = intval(97); $_category = new app\index\model\CategoryModel(); $_catlist = $_category->getCategory(1); if ($_type == 'parent') { $_parent = $_category->getParents($_catlist, $_typeid); $_typeid = $_parent[0]['id']; } $type = $_category->getOneCategory($_typeid); $type['url'] = $_category->getCategoryUrl($type); $type = update_str_dq($type, config('sys.sys_area')); ?><a href="<?php echo $type['url']; ?>" target="_blank"><span class="protitle"><?php echo $type['title']; ?></span></a> </li> <?php $_limit = "18"; $_cid = intval(97); $_type = "son"; $_category = new app\index\model\CategoryModel(); if($_cid == -1) $_cid = input('cid'); $_catlist = $_category->getCategory(1); if (1 == 0) { $_catlist = $_category->clearLink($_catlist);//去除外部链接的栏目 } //type为parent if ($_type == 'parent') { $_parent = $_category->getParents($_catlist, $_cid); $_catlist = $_category->unlimitedForLayer($_catlist, 'child', $_parent[0]['id']); }else{ //type为top,忽略cid if($_cid == 0 || $_type == 'top') { $_catlist = $_category->unlimitedForLayer($_catlist); }else { if ($_type == 'self') { //同级分类 $_typeinfo = $_category->getSelf($_catlist, $_cid ); $_catlist = $_category->unlimitedForLayer($_catlist, 'child', $_typeinfo['pid']); }else { //son,子类列表 $_catlist = $_category->unlimitedForLayer($_catlist, 'child', $_cid); } } } $_limit_list = explode(',', $_limit); foreach($_catlist as $autoindex => $catlist): if(count($_limit_list) > 1){ if(($autoindex < $_limit_list[0]) || ($autoindex > $_limit_list[1])) continue; } else{ if($autoindex >= $_limit_list[0]) break; } $catlist = update_str_dq($catlist, config('sys.sys_area')); ?> <li><a href="<?php echo $catlist['url']; ?>" target="_blank"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;—&nbsp;&nbsp;<?php echo $catlist['title']; ?></span></a></li> <?php endforeach;?> <li class="FproName"> <?php $_type = "son"; $_typeid = intval(98); $_category = new app\index\model\CategoryModel(); $_catlist = $_category->getCategory(1); if ($_type == 'parent') { $_parent = $_category->getParents($_catlist, $_typeid); $_typeid = $_parent[0]['id']; } $type = $_category->getOneCategory($_typeid); $type['url'] = $_category->getCategoryUrl($type); $type = update_str_dq($type, config('sys.sys_area')); ?><a href="<?php echo $type['url']; ?>" target="_blank"><span class="protitle"><?php echo $type['title']; ?></span></a> </li> <?php $_limit = "18"; $_cid = intval(98); $_type = "son"; $_category = new app\index\model\CategoryModel(); if($_cid == -1) $_cid = input('cid'); $_catlist = $_category->getCategory(1); if (1 == 0) { $_catlist = $_category->clearLink($_catlist);//去除外部链接的栏目 } //type为parent if ($_type == 'parent') { $_parent = $_category->getParents($_catlist, $_cid); $_catlist = $_category->unlimitedForLayer($_catlist, 'child', $_parent[0]['id']); }else{ //type为top,忽略cid if($_cid == 0 || $_type == 'top') { $_catlist = $_category->unlimitedForLayer($_catlist); }else { if ($_type == 'self') { //同级分类 $_typeinfo = $_category->getSelf($_catlist, $_cid ); $_catlist = $_category->unlimitedForLayer($_catlist, 'child', $_typeinfo['pid']); }else { //son,子类列表 $_catlist = $_category->unlimitedForLayer($_catlist, 'child', $_cid); } } } $_limit_list = explode(',', $_limit); foreach($_catlist as $autoindex => $catlist): if(count($_limit_list) > 1){ if(($autoindex < $_limit_list[0]) || ($autoindex > $_limit_list[1])) continue; } else{ if($autoindex >= $_limit_list[0]) break; } $catlist = update_str_dq($catlist, config('sys.sys_area')); ?> <li><a href="<?php echo $catlist['url']; ?>" target="_blank"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;—&nbsp;&nbsp;<?php echo $catlist['title']; ?></span></a></li> <?php endforeach;?> </ul> <div class="liuyan"> <b> <?php $_type = "son"; $_typeid = intval(30); $_category = new app\index\model\CategoryModel(); $_catlist = $_category->getCategory(1); if ($_type == 'parent') { $_parent = $_category->getParents($_catlist, $_typeid); $_typeid = $_parent[0]['id']; } $type = $_category->getOneCategory($_typeid); $type['url'] = $_category->getCategoryUrl($type); $type = update_str_dq($type, config('sys.sys_area')); ?> <a href="<?php echo $type['url']; ?>" target="_blank"> <img src="__PUBLIC__/img/lxa1.jpg" alt=""> <img src="__PUBLIC__/img/lxa2.jpg" alt=""> </a> </b> <b> <a href="javascript:;"> <img src="__PUBLIC__/img/lya1.jpg" alt=""> <img src="__PUBLIC__/img/lya2.jpg" alt=""> </a> </b> </div> </div> <script type="text/javascript" src="__PUBLIC__/js/jquery-1.12.4.min.js"></script> <script type="text/javascript"> ;(function () { var last_dom = $('#main_l .active').next('ul').show(); $('#main_l>ul>li').filter(function () { var t = $(this), ul = t.next('ul'); if (ul.children().length) { t.on('mouseenter', function () { if (ul.index() != last_dom.index()) { last_dom.slideUp('fast'); last_dom = ul.slideDown('fast'); }; }); }else{ t.addClass('no_child'); } }); })(); </script> <div class="main_r fr"> <div class="crumbs"> <p> <?php $_sname = ""; $_cid = $cid; echo getPosition($_cid, $_sname, "", "&gt;&gt;"); ?> </p> </div> <div class="content_tit"> <h3><?php echo $content['title']; ?></h3> <p> <span>来源:<?php echo $content['source']; ?></span> <span>发布时间:<?php echo date('Y-m-d',$content['create_time']); ?></span> <span><?php echo $content['click']; ?> 次浏览</span> </p> </div> <div class="content_des"> <p><?php echo $content['desc']; ?></p> </div> <div class="content"> <?php echo sitelink($content['content']); ?> </div> <div class="prve"> <p>上一篇: <?php echo $content['prev']; ?></p> <p>下一篇: <?php echo $content['next']; ?></p> </div> </div> </div> </div> <script> var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?d50ab91ce7224faa219fc56cc42089bc"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); </script> <div class="footer"> <div class="center clearfix"> <div class="fl"> <?php $_block = db('block')->where("title='".'logo2'."'")->find(); $_block = update_str_dq($_block, config('sys.sys_area')); $_block_content = ''; if ($_block) { if ($_block['type'] == 2) { if (!0) { $_block_content = '<img src="'. $_block['content'] .'" />'; }else { $_block_content = $_block['content']; } }else { if(0) { $_block_content = str2sub(strip_tags($_block['content']), 0, 0);//清除html再截取 }else { $_block_content = $_block['content']; } } } echo $_block_content; ?> <div class="foot_contact"> <?php echo "<p>MOB:17615967888 17615967999 EMAIL:778061666@qq.com</p> <p>公司地址:山东省宁津县大祁工业园B区</p> <p>优化技术支持:<a href=\"http://www.czxz.cn/\" target=\"_blank\">鑫泽科技</a>     <a href=\"https://beian.miit.gov.cn/\" target=\"_blank\">鲁ICP备18028622号-1</a> </p>"; ?> </div> </div> <div class="fr"> <?php $_block = db('block')->where("title='".'ewm'."'")->find(); $_block = update_str_dq($_block, config('sys.sys_area')); $_block_content = ''; if ($_block) { if ($_block['type'] == 2) { if (!0) { $_block_content = '<img src="'. $_block['content'] .'" />'; }else { $_block_content = $_block['content']; } }else { if(0) { $_block_content = str2sub(strip_tags($_block['content']), 0, 0);//清除html再截取 }else { $_block_content = $_block['content']; } } } echo $_block_content; ?> </div> </div> </div> </div> </body> </html>
dir /data/home/qxu1649980366/htdocs/caches/temp