[2] ErrorException in File.php line 32

file_put_contents(): Only 0 of 11306 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

Call Stack

  1. in File.php line 32
  2. at Error::appError(2, 'file_put_contents():...', '/usr/home/hyu2460840...', 32, ['cacheFile' => '/usr/home/hyu2460840...', 'content' => '<?php if (!defined('...', 'dir' => '/usr/home/hyu2460840...'])
  3. at file_put_contents('/usr/home/hyu2460840...', '<?php if (!defined('...') in File.php line 32
  4. at File->write('/usr/home/hyu2460840...', '<?php if (!defined('...') in Template.php line 357
  5. at Template->compiler('<?php if (!defined('...', '/usr/home/hyu2460840...') in Template.php line 191
  6. at Template->fetch('public/themes/haiwai...', ['site_info' => ['site_name' => '海外挂号网', 'site_seo_title' => '海外挂号网', 'site_seo_keywords' => '...', ...], 'site_contact' => ['name' => '海外挂号网', 'mobile' => '400-615-9755', 'hotline' => '400-615-9755', ...], 'nav_menu_info' => ['id' => '2', 'nav_id' => '1', 'parent_id' => '0', ...], ...], []) in Think.php line 84
  7. at Think->fetch('public/themes/haiwai...', ['site_info' => ['site_name' => '海外挂号网', 'site_seo_title' => '海外挂号网', 'site_seo_keywords' => '...', ...], 'site_contact' => ['name' => '海外挂号网', 'mobile' => '400-615-9755', 'hotline' => '400-615-9755', ...], 'nav_menu_info' => ['id' => '2', 'nav_id' => '1', 'parent_id' => '0', ...], ...], []) in View.php line 159
  8. at View->fetch('public/themes/haiwai...', [], [], []) in Controller.php line 112
  9. at Controller->fetch('public/themes/haiwai...', [], [], []) in HomeBaseController.php line 106
  10. at HomeBaseController->fetch('/article') in ArticleController.php line 100
  11. at ArticleController->index()
  12. at ReflectionMethod->invokeArgs(object(ArticleController), []) in App.php line 197
  13. at App::invokeMethod([object(ArticleController), 'index'], []) in App.php line 411
  14. at App::module(['portal', 'article', 'index'], ['app_host' => '', 'app_debug' => true, 'app_trace' => true, ...], null) in App.php line 296
  15. at App::exec(['type' => 'module', 'module' => ['portal', 'article', 'index']], ['app_host' => '', 'app_debug' => true, 'app_trace' => true, ...]) in App.php line 124
  16. at App::run() in index.php line 59

Exception Datas

Error Context
cacheFile /usr/home/hyu2460840001/htdocs/data/runtime/temp/0cdacc688096adcd79e206d79105ac89.php
content <?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:46:"public/themes/haiwaiguahao/portal/article.html";i:1524228210;s:49:"public/themes/haiwaiguahao/portal/public/nav.html";i:1511950028;s:52:"public/themes/haiwaiguahao/portal/public/footer.html";i:1582537097;}*/ ?> <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="keywords" content=""> <meta name="description" content=""> <title><?php echo $article['post_title']; ?>-海外挂号网</title> <!-- 字体本身的 S--> <!--<script type="text/javascript" src="http://cdn.webfont.youziku.com/wwwroot/__TMPL__/portal/assets/js/wf/youziku.api.min.js"></script>--> <!--<script type="text/javascript">--> <!--$youziku.load("body", "410437052faa476eb415ba2486be949e", "Source-Han-Sans-Medium");--> <!--/*$youziku.load("#id1,.class1,h1", "410437052faa476eb415ba2486be949e", "Source-Han-Sans-Medium");*/--> <!--/*...*/--> <!--$youziku.draw();--> <!--</script>--> <!-- 字体本身的 E--> <!--[if lte IE 8]><script src="__TMPL__/portal/assets/js/libs/selectivizr.js"></script><![endif]--> <!--[if lt IE 9]> <script src="__TMPL__/portal/assets/js/libs/html5shiv.js"></script> <![endif]--> <link rel="stylesheet" href="__TMPL__/portal/assets/css/style.css" /> <script src="__TMPL__/portal/assets/js/jquery-1.10.2.min.js"></script> </head> <body> <header class="w_con header"> <div class="logo"> <a href="/"> <img src="__TMPL__/portal/assets/img/logo.png" alt="" /> </a> <span>专业、透明、便捷的跨境医疗一站式直订平台</span> </div> <div class="hotline"> <p><i class="icon icon_phone"></i>免费咨询热线<em><?php echo $site_contact['hotline']; ?></em></p> </div> <i class="icon_nav js_nav"></i> </header> <section class="navBox bg18 js_navBox"> <nav class="nav w_con"> <ul class="ul1"> <?php if(is_array($nav) || $nav instanceof \think\Collection || $nav instanceof \think\Paginator): $i = 0; $__LIST__ = $nav;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;if((input('nid') == $vo['id'])): ?> <li class="li1 current"> <?php else: ?> <li class="li1"> <?php endif; ?> <a href="<?php echo $vo['href']; ?>"><?php echo $vo['name']; ?></a> <?php if($vo['children']): ?> <ul> <?php if(is_array($vo['children']) || $vo['children'] instanceof \think\Collection || $vo['children'] instanceof \think\Paginator): $i = 0; $__LIST__ = $vo['children'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$cvo): $mod = ($i % 2 );++$i;?> <li><a href="<?php echo $cvo['href']; ?>"><?php echo $cvo['name']; ?></a></li> <?php endforeach; endif; else: echo "" ;endif; ?> </ul> <?php endif; ?> </li> <?php endforeach; endif; else: echo "" ;endif; ?> </ul> </nav> </section> <script> $(function () { $(".js_navBox").find(".li1").each(function(index, element){ if( $(element).find("ul").length>0 ){ $(element).on("mouseover", function(){ $(this).find("ul").css("display","block"); }).on("mouseout", function(){ $(this).find("ul").css("display","none"); }); } }); }) </script> <section class="ban_img"> <?php if(is_array($banner) || $banner instanceof \think\Collection || $banner instanceof \think\Paginator): $i = 0; $__LIST__ = $banner;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?> <img src="<?php echo cmf_get_image_url($vo['image']); ?>" alt="<?php echo $vo['title']; ?>" /> <?php endforeach; endif; else: echo "" ;endif; ?> </section> <div class="bgf4"> <div class="breadline w_con"> <p><i class="icon icon_map_dd"></i>当前位置:<a href="/">首页</a> > <a href="<?php echo url('portal/list/index', array('nid' => input('nid'), 'pid' => input('pid'), 'id' => input('cid'))); ?>" class="bra-content"> <?php if(input('pid') == '3'): ?>合作医院<?php else: ?><?php echo $category_info['name']; endif; ?> </a> > <a class="on bra-detail"> <?php if(input('pid') == '3'): ?>合作医院<?php else: ?><?php echo $category_info['name']; endif; ?>详情 </a></p> </div> <div class="w_con sec9 oh mb40"> <div class="fl article bgff"> <?php if(input('param.pid') == '2'): ?> <div class="article_tit2"> <h3 class="tit3"><?php echo $article['post_title']; ?></h3> <span>¥<em id="y-money"><?php echo $article['more']['price']; ?></em>起</span> </div> <?php else: ?> <div class="article_tit"> <h3 class="tit"><?php echo $article['post_title']; ?></h3> <p><?php echo date('Y-m-d H:i:s', $article['create_time']); ?></p> </div> <?php endif; ?> <div class="article_con"> <?php echo $article['post_content']; ?> </div> <div class="prev_next"> <p class="prev">上一篇: <?php if($prev_article): ?> <a href="<?php echo url('portal/article/index', array('nid' => input('nid'), 'pid' => input('pid'), 'cid' => input('cid') , 'id' => $prev_article['id'])); ?>"><?php echo $prev_article['post_title']; ?></a> <?php else: ?> 没有了 <?php endif; ?> </p> <p class="next">下一篇: <?php if($next_article): ?> <a href="<?php echo url('portal/article/index', array('nid' => input('nid'), 'pid' => input('pid'), 'cid' => input('cid') , 'id' => $next_article['id'])); ?>"><?php echo $next_article['post_title']; ?></a> <?php else: ?> 没有了 <?php endif; ?> </p> </div> </div> <side class="fr side"> <div class="side1 bgff oh mb20"> <div class="tit2"> <h3>相关推荐</h3> </div> <div class="con"> <ul id="recommend"> <?php if(is_array($recommend['data']) || $recommend['data'] instanceof \think\Collection || $recommend['data'] instanceof \think\Paginator): $i = 0; $__LIST__ = $recommend['data'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?> <li> <a href="<?php echo url('portal/article/index', array('pid' => $vo['pid'], 'cid' => $vo['category_id'], 'id' => $vo['id'])); ?>"> <i></i><?php echo $vo['post_title']; ?></a></li> <?php endforeach; endif; else: echo "" ;endif; ?> </ul> </div> </div> <div class="side1 bgff oh mb20 side1_nb"> <div class="tit2"> <h3>最新资讯</h3> </div> <div class="con"> <ul id="information"> <?php if(is_array($news['data']) || $news['data'] instanceof \think\Collection || $news['data'] instanceof \think\Paginator): $i = 0; $__LIST__ = $news['data'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?> <li> <a href="<?php echo url('portal/article/index', array('pid' => $vo['pid'], 'cid' => $vo['category_id'], 'id' => $vo['id'])); ?>"> <i></i><?php echo $vo['post_title']; ?></a></li> <?php endforeach; endif; else: echo "" ;endif; ?> </ul> </div> </div> <div id="y-banner-box"> <a href="<?php echo (isset($article_banner['url']) && ($article_banner['url'] !== '')?$article_banner['url']:''); ?>"> <img src="<?php echo cmf_get_image_url(isset($article_banner['image']) ? $article_banner['image'] : ''); ?>" id="y-banner"> <!--<p id="y-banner-title"><?php echo (isset($article_banner['title'] ) && ($article_banner['title'] !== '')?$article_banner['title'] :''); ?></p>--> </a> </div> </side> </div> </div> <script type="text/javascript" src="__TMPL__/portal/assets/js/jquery-1.10.2.min.js"></script> <script src="__TMPL__/portal/assets/js/com.js"></script> <footer class="footer"> <div class="footer_con"> <?php if(isset($links)): ?> <p class="frendly_link js_frendly"> 友情链接 <?php if(is_array($links) || $links instanceof \think\Collection || $links instanceof \think\Paginator): $i = 0; $__LIST__ = $links;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?> <span><a href='<?php echo $vo['url']; ?>'><?php echo $vo['description']; ?></a></span> <?php endforeach; endif; else: echo "" ;endif; ?> </p> <?php endif; ?> <div class="footer_c"> <div class="footer_logo"> <a href="/"> <img src="__TMPL__/portal/assets/img/footer_logo.png" alt="" /> </a> </div> <div class="concact"> <p class="tit">联系我们</p> <p>联系人: <span class="js_cact_p"><?php echo $site_contact['name']; ?></span></p> <p>手机: <span class="js_cact_tel"><?php echo $site_contact['mobile']; ?></span></p> <p>服务热线: <span class="js_cact_line"><?php echo $site_contact['hotline']; ?></span></p> <p>邮箱: <span class="js_cact_email"><?php echo $site_contact['email']; ?></span></p> <p>地址: <span class="js_cact_address"><?php echo $site_contact['address']; ?></span></p> </div> <div class="q_er"> <img src="__TMPL__/portal/assets/img/wsc.png" alt="" class="js_dyh" style="width:174px;height:174px;"/> <p>官方微商城</p> </div> <div class="q_er" style="margin-right: 20px;"> <img src="__TMPL__/portal/assets/img/er_dyh.jpg" alt="" class="js_dyh"/> <p>官方订阅号</p> </div> </div> <!-- <center><a href="http://218.242.124.22:8081/businessCheck/verifKey.do?showType=extShow&serial=9031000020160803152149000001111290-SAIC_SHOW_310000-20190403170333648309&signData=MEQCIEGoR5Ev6R9jX0sVOTp3M3iy0X+GuEpH5tTFYqqv9dajAiACVadTorjI7gn7D9nOzhI7s6SZ0smohXI21Zz5RliVtg==" target="_blank"><img src="__TMPL__/portal/assets/img/1.jpg" alt="" class="js_dyh"/></a></center> --> <center><a href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=31010602005254" target="_blank"><img src="/data/runtime/1.png" alt="" class="js_dyh"/></a></center> <p class="copyright">创习(上海)商务咨询有限公司备案查询 <a target="_blank" href="http://www.beian.miit.gov.cn">沪ICP备16009624号-1</a></p> </div> </footer> </body> </html>
dir /usr/home/hyu2460840001/htdocs/data/runtime/temp

Environment Variables

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

Server/Request Data

DOCUMENT_ROOT
/usr/home/hyu2460840001/htdocs
GATEWAY_INTERFACE
CGI/1.1
HTTP_ACCEPT
*/*
HTTP_HOST
www.haiwaiguahao.com
HTTP_USER_AGENT
claudebot
PATH
/bin
PHPRC
/var/www/php55/hichina_ini/hyu2460840001
QUERY_STRING
s=portal/article/index/pid/2/nid/2/cid/6/id/32.html
REDIRECT_DOCUMENT_ROOT
/usr/home/hyu2460840001/htdocs
REDIRECT_GATEWAY_INTERFACE
CGI/1.1
REDIRECT_HTTP_ACCEPT
*/*
REDIRECT_HTTP_HOST
www.haiwaiguahao.com
REDIRECT_HTTP_USER_AGENT
claudebot
REDIRECT_PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
REDIRECT_PATH_INFO
/article/index/pid/2/nid/2/cid/6/id/32.html
REDIRECT_PATH_TRANSLATED
redirect:/index.php/index/pid/2/nid/2/cid/6/id/32.html
REDIRECT_QUERY_STRING
s=portal/article/index/pid/2/nid/2/cid/6/id/32.html
REDIRECT_REMOTE_ADDR
54.221.159.188
REDIRECT_REMOTE_PORT
39834
REDIRECT_REQUEST_METHOD
GET
REDIRECT_REQUEST_URI
/portal/article/index/pid/2/nid/2/cid/6/id/32.html
REDIRECT_SCRIPT_FILENAME
/usr/home/hyu2460840001/htdocs/portal
REDIRECT_SCRIPT_NAME
/portal
REDIRECT_SCRIPT_URI
http://www.haiwaiguahao.com/portal/article/index/pid/2/nid/2/cid/6/id/32.html
REDIRECT_SCRIPT_URL
/portal/article/index/pid/2/nid/2/cid/6/id/32.html
REDIRECT_SERVER_ADDR
10.21.70.248
REDIRECT_SERVER_ADMIN
webmaster@hyu2460840001.my3w.com
REDIRECT_SERVER_NAME
www.haiwaiguahao.com
REDIRECT_SERVER_PORT
80
REDIRECT_SERVER_PROTOCOL
HTTP/1.1
REDIRECT_SERVER_SIGNATURE
REDIRECT_SERVER_SOFTWARE
Apache
REDIRECT_STATUS
200
REDIRECT_TZ
Asia/Shanghai
REDIRECT_UNIQUE_ID
ZflxFwoVRvgAFcA@bMQAAAAP
REDIRECT_URL
/portal/article/index/pid/2/nid/2/cid/6/id/32.html
REMOTE_ADDR
54.221.159.188
REMOTE_PORT
39834
REQUEST_METHOD
GET
REQUEST_URI
/portal/article/index/pid/2/nid/2/cid/6/id/32.html
SCRIPT_FILENAME
/usr/home/hyu2460840001/htdocs/index.php
SCRIPT_NAME
/index.php
SCRIPT_URI
http://www.haiwaiguahao.com/portal/article/index/pid/2/nid/2/cid/6/id/32.html
SCRIPT_URL
/portal/article/index/pid/2/nid/2/cid/6/id/32.html
SERVER_ADDR
10.21.70.248
SERVER_ADMIN
webmaster@hyu2460840001.my3w.com
SERVER_NAME
www.haiwaiguahao.com
SERVER_PORT
80
SERVER_PROTOCOL
HTTP/1.1
SERVER_SIGNATURE
SERVER_SOFTWARE
Apache
TZ
Asia/Shanghai
UNIQUE_ID
ZflxFwoVRvgAFcA@bMQAAAAP
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1710846231.1233
REQUEST_TIME
1710846231
PATH_INFO
portal/article/index/pid/2/nid/2/cid/6/id/32.html
Environment Variables
empty

ThinkPHP Constants

APP_DEBUG
true
CMF_ROOT
/usr/home/hyu2460840001/htdocs/
APP_PATH
/usr/home/hyu2460840001/htdocs/app/
CMF_PATH
/usr/home/hyu2460840001/htdocs/simplewind/cmf/
WEB_ROOT
/usr/home/hyu2460840001/htdocs/
PLUGINS_PATH
/usr/home/hyu2460840001/htdocs/plugins/
EXTEND_PATH
/usr/home/hyu2460840001/htdocs/simplewind/extend/
VENDOR_PATH
/usr/home/hyu2460840001/htdocs/simplewind/vendor/
RUNTIME_PATH
/usr/home/hyu2460840001/htdocs/data/runtime/
THINKCMF_VERSION
5.0.170927
THINK_VERSION
5.0.11
THINK_START_TIME
1710846231.1238
THINK_START_MEM
258264
EXT
.php
DS
/
THINK_PATH
/usr/home/hyu2460840001/htdocs/simplewind/thinkphp/
LIB_PATH
/usr/home/hyu2460840001/htdocs/simplewind/thinkphp/library/
CORE_PATH
/usr/home/hyu2460840001/htdocs/simplewind/thinkphp/library/think/
TRAIT_PATH
/usr/home/hyu2460840001/htdocs/simplewind/thinkphp/library/traits/
ROOT_PATH
/usr/home/hyu2460840001/htdocs/
LOG_PATH
/usr/home/hyu2460840001/htdocs/data/runtime/log/
CACHE_PATH
/usr/home/hyu2460840001/htdocs/data/runtime/cache/
TEMP_PATH
/usr/home/hyu2460840001/htdocs/data/runtime/temp/
CONF_PATH
/usr/home/hyu2460840001/htdocs/app/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
HTMLPURIFIER_PREFIX
/usr/home/hyu2460840001/htdocs/simplewind/vendor/ezyang/htmlpurifier/library
QINIU_FUNCTIONS_VERSION
7.2.1
DOMDOCUMENT
DOMDocument
DOMELEMENT
DOMElement
DOMNODELIST
DOMNodeList
DOMNODE
DOMNode
0.416874s