[2] ErrorException in File.php line 32

file_put_contents(/www/wwwroot/www.zwlj-hax.com_80/public/../runtime/temp/8fb0b4cc4b6e1eb46bbd1f6fe4637742.php): failed to open stream: Permission denied

  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(/w...', '/www/wwwroot/www.zwl...', 32, ['cacheFile' => '/www/wwwroot/www.zwl...', 'content' => '<?php if (!defined('...', 'dir' => '/www/wwwroot/www.zwl...'])
  3. at file_put_contents('/www/wwwroot/www.zwl...', '<?php if (!defined('...') in File.php line 32
  4. at File->write('/www/wwwroot/www.zwl...', '<?php if (!defined('...') in Template.php line 356
  5. at Template->compiler('<?php if (!defined('...', '/www/wwwroot/www.zwl...') in Template.php line 190
  6. at Template->fetch('/www/wwwroot/www.zwl...', ['cid' => '9', 'id' => null, 'aid' => '592', ...], []) in Think.php line 84
  7. at Think->fetch('/www/wwwroot/www.zwl...', ['cid' => '9', 'id' => null, 'aid' => '592', ...], []) in View.php line 159
  8. at View->fetch('', ['cid' => '9', 'id' => null, 'aid' => '592', ...], [], []) in Controller.php line 111
  9. at Controller->fetch() in News.php line 69
  10. at News->detail()
  11. at ReflectionMethod->invokeArgs(object(News), []) in App.php line 196
  12. at App::invokeMethod([object(News), 'detail'], []) in App.php line 416
  13. at App::module(['index', 'news', 'detail'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], true) in App.php line 295
  14. at App::exec(['type' => 'module', 'module' => ['index', 'news', 'detail']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 123
  15. at App::run() in start.php line 18
  16. at require('/www/wwwroot/www.zwl...') in index.php line 24

Exception Datas

Error Context
cacheFile /www/wwwroot/www.zwlj-hax.com_80/public/../runtime/temp/8fb0b4cc4b6e1eb46bbd1f6fe4637742.php
content <?php if (!defined('THINK_PATH')) exit(); /*a:5:{s:82:"/www/wwwroot/www.zwlj-hax.com_80/public/../application/index/view/news/detail.html";i:1652589573;s:82:"/www/wwwroot/www.zwlj-hax.com_80/public/../application/index/view/public/menu.html";i:1652589573;s:81:"/www/wwwroot/www.zwlj-hax.com_80/public/../application/index/view/public/top.html";i:1652589573;s:86:"/www/wwwroot/www.zwlj-hax.com_80/public/../application/index/view/public/leftmenu.html";i:1652589573;s:84:"/www/wwwroot/www.zwlj-hax.com_80/public/../application/index/view/public/footer.html";i:1652589573;}*/ ?> <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="renderer" content="webkit"> <title><?php echo $data['title']; ?>-「航岸线供应链」</title> <meta name="keywords" content="<?php echo $data['keywords']; ?>" /> <meta name="description" content="<?php echo $data['description']; ?>" /> <link rel="stylesheet" href="__CSS__/common.css"> <link rel="stylesheet" href="__CSS__/style.css"> <style> .p14-infocontent-1-sour { height: 24px; font-size: 12px; line-height: 24px; text-align: center; color: #aaa; margin-bottom: 20px; } .p14-infocontent-1-text { padding: 16px 18px; font-size: 14px; line-height: 24px; border: 1px solid #d6d6d6; margin-bottom: 22px; } .p14-infocontent-1-text-t1 { width: 78px; float: left; color: #342f2e; margin-right: -78px; } .p14-infocontent-1-text-t2 { padding-left: 80px; } .p14-pagination-1-key { min-height: 40px; border-top: 1px solid #333333; font-size: 14px; line-height: 40px; color: #575556; } .xgzx-01 { background: #fff; margin-bottom: 50px; width: 930px; float: right; } .xgzx-01-tit { display: block; text-align: center; font: 38px "Microsoft YaHei"; color: #283f8b; padding: 10px 0 20px; } .xgzx-01-list li:nth-child(2n-1) { float: left; } .xgzx-01-list li { width: 44%; height: 46px; font-size: 14px; line-height: 46px; color: #4b4a4a; border-top: 1px dashed #dbdbdb; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-left: 50px; } .xgzx-01-list li a { color: #4b4a4a; } </style> </head> <body> <div class="header"> <div class="head-top"> <div class="haxbody clearfix"> <div class="fl ltxt">中外联检- <?php $now = date('Y',time()); //$company = 2003; //$year =$now-$company-2; //echo $year; ?> 年专注进口供应链+5天高效通关</div> <div class="fr rtel">咨询热线:<?php echo $web['tel']; ?></div> </div> </div> <div class="head-box clearfix"> <div class="logo" ><a href="http://<?php echo $_SERVER['HTTP_HOST'] ?>"><img src="<?php echo $web['logo']; ?>" alt="" ></a></div> <div class="head-nav"> <ul> <li class="drop-menu-effect"><a href="http://<?php echo $_SERVER['HTTP_HOST'] ?>"" class="tit">首页</a></li> <?php if(is_array($menu) || $menu instanceof \think\Collection || $menu instanceof \think\Paginator): $i = 0; $__LIST__ = $menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?> <li class="drop-menu-effect"> <a href="<?php echo url($vo['url'],['cid'=>$vo['id'],'name'=>$vo['fileName']]); ?>" class="tit"><?php echo $vo['title']; ?></a> <div class="submenu"> <?php if(is_array($vo['list2']) || $vo['list2'] instanceof \think\Collection || $vo['list2'] instanceof \think\Paginator): $i = 0; $__LIST__ = $vo['list2'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo2): $mod = ($i % 2 );++$i;?> <a href="<?php echo url($vo2['url'],['cid'=>$vo2['parentId'],'id'=>$vo2['id'],'name'=>$vo2['fileName']]); ?>"><?php echo $vo2['title']; ?></a> <?php endforeach; endif; else: echo "" ;endif; ?> </div> </li> <?php endforeach; endif; else: echo "" ;endif; ?> </ul> </div> </div> </div> <div class="newsbanner"></div> <div class="haxcontent clearfix"> <?php if($menu1['title'] == '政策法规'): ?> <div style="margin-top: -34px;padding-bottom: 10px;text-align: left;font-size: 16px;"> <a href="http://<?php echo $_SERVER['HTTP_HOST'] ?>">首页:</a> <a style="padding-left: 10px;" href="<?php echo url('news/policy',['cid'=>$menu1['id']]); ?>"><?php echo $menu1['title']; ?></a> &gt;<a style="padding-left: 10px;" href="<?php echo url('news/policy',['cid'=>$menu1['id'],'id'=>$default['id']]); ?>"><?php echo $default['title']; ?></a> </div> <?php else: ?> <div style="margin-top: -34px;padding-bottom: 10px;text-align: left;font-size: 16px;"> <a href="http://<?php echo $_SERVER['HTTP_HOST'] ?>">首页:</a> <a style="padding-left: 10px;" href="<?php echo url('news/index',['cid'=>$menu1['id']]); ?>"><?php echo $menu1['title']; ?></a> &gt;<a style="padding-left: 10px;" href="<?php echo url('news/index',['cid'=>$menu1['id'],'id'=>$default['id']]); ?>"><?php echo $default['title']; ?></a> </div> <?php endif; ?> <!--资讯左边菜单--> <div class="leftbox"> <h3 class="htit"><?php echo $menu1['title']; ?></h3> <ul class="lnavmenu"> <?php if(is_array($listMenu) || $listMenu instanceof \think\Collection || $listMenu instanceof \think\Paginator): $i = 0; $__LIST__ = $listMenu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?> <li><a href="<?php echo url($vo['url'],['cid'=>$vo['parentId'],'id'=>$vo['id'],'name'=>$vo['fileName']]); ?>" <?php if($vo['id'] == $default['id']): ?> class="current" <?php endif; ?> ><?php echo $vo['title']; ?></a></li> <?php endforeach; endif; else: echo "" ;endif; ?> </ul> </div> <div class="rightbox"> <div class="news-article-bd" style="border-top: none; margin-top: -40px;"> <h3 class="htit"><?php echo $data['title']; ?></h3> <div class="p14-infocontent-1-sour"> <span> 作者:中联联检供应链</span><span> 编辑:中外联检进口报关</span><span> 来源:https://<?php echo $_SERVER['SERVER_NAME']; ?>/</span><span> 发布日期: <?php echo $data['add_time']; ?> </span> </div> <div class="p14-infocontent-1-text"> <div class="p14-infocontent-1-text-t1"> 信息摘要: </div> <div class="p14-infocontent-1-text-t2"><?php echo $data['description']; ?></div> <div class="clear"> </div> </div> <div class="news-article-txt"> <?php echo htmlspecialchars_decode($data['content']); ?> </div> <p align="center" class="MsoNormal" style="text-align:center;"> ——END—— </p> <p class="MsoNormal"> <span style="font-family:微软雅黑;">航岸线供应链创立于</span>2010年,十余年专注国际货运代理、进口清关代理、代理进口单证、ATA单证报关、临时进出口代理服务,如对航岸线货运代理公司感兴趣,请联系我们。 </p> <div class="p14-pagination-1-key"> <p> 本文标签: <?php if(is_array($keysords) || $keysords instanceof \think\Collection || $keysords instanceof \think\Paginator): if( count($keysords)==0 ) : echo "" ;else: foreach($keysords as $key=>$vo): ?> <span><a href="" title="<?php echo $vo; ?>">&nbsp;&nbsp;<?php echo $vo; ?></a></span> <?php endforeach; endif; else: echo "" ;endif; ?> </p> </div> <div class="news-pages"> <ul> <li>上一篇:<a href="<?php echo url('News/detail',['cid'=>$default['parentId'],'id'=>$default['id'],'aid' => $prev['id']]); ?>"><?php echo $prev['title']; ?></a></li> <li>下一篇:<a href="<?php echo url('News/detail',['cid'=>$default['parentId'],'id'=>$default['id'],'aid' => $next['id']]); ?>"><?php echo $next['title']; ?></a></li> </ul> </div> <div class="xgzx-01 blk"> <div class="xgzx-01-tit"> 【相关推荐】 </div> <div class="xgzx-01-list"> <ul> <?php if(is_array($list) || $list instanceof \think\Collection || $list instanceof \think\Paginator): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?> <li> <a href="http://<?php echo $_SERVER['SERVER_NAME']; ?>/index/news/detail/cid/9/id/<?php echo $v['categoryId']; ?>/aid/<?php echo $v['id']; ?>.html" target="_blank"><?php echo $v['title']; ?></a> </li> <?php endforeach; endif; else: echo "" ;endif; ?> </ul> </div> </div> </div> </div> </div> <!-- footer --> <div class="footer"> <div class="haxbody clearfix"> <?php if(is_array($menufl) || $menufl instanceof \think\Collection || $menufl instanceof \think\Paginator): $i = 0; $__LIST__ = $menufl;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?> <ul class="navlist"> <?php if(is_array($vo['list2']) || $vo['list2'] instanceof \think\Collection || $vo['list2'] instanceof \think\Paginator): $i = 0; $__LIST__ = $vo['list2'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo2): $mod = ($i % 2 );++$i;?> <li> <a href="<?php echo url($vo2['url'],['cid'=>$vo2['parentId'],'id'=>$vo2['id'],'name'=>$vo2['fileName']]); ?>"><?php echo $vo2['title']; ?></a></li> <!--<li> <a href="__ROOT__/index/<?php echo $vo2['url']; ?>?cid=<?php echo $vo2['parentId']; ?>&id=<?php echo $vo2['id']; ?>&name=<?php echo $vo2['fileName']; ?>"><?php echo $vo2['title']; ?></a></li>--> <?php endforeach; endif; else: echo "" ;endif; ?> </ul> <?php endforeach; endif; else: echo "" ;endif; ?> <div class="rnavbox"> <div class="toplist"> <?php if(is_array($menufr) || $menufr instanceof \think\Collection || $menufr instanceof \think\Paginator): $i = 0; $__LIST__ = $menufr;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?> <ul class="list"> <?php if(is_array($vo['list2']) || $vo['list2'] instanceof \think\Collection || $vo['list2'] instanceof \think\Paginator): $i = 0; $__LIST__ = $vo['list2'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo2): $mod = ($i % 2 );++$i;?> <li> <a href="<?php echo url($vo2['url'],['cid'=>$vo2['parentId'],'id'=>$vo2['id'],'name'=>$vo2['fileName']]); ?>"><?php echo $vo2['title']; ?></a></li> <?php endforeach; endif; else: echo "" ;endif; ?> </ul> <?php endforeach; endif; else: echo "" ;endif; ?> <li> <a href="/index/index/sitemap.html">网站地图</a> </li> </div> <div class="hottel" style="font-size: 36px;"> 咨询热线:<?php echo $web['tel']; ?> </div> </div> </div> <div style="text-align: center"> <a style="color: white;font-size: 16px;" href="http://www.beian.miit.gov.cn/state/outPortal/loginPortal.action;jsessionid=65mxgM8V2QZgNkM1eIeD88kxSwRPBqgPA9W9rpYYkSabmGWm9aMe!20875049">中外联检供应链(广州)有限公司——备案/许可证编号:粤ICP备17127330号</a> </div> </div> <div class="rigside"> <div class="dltop"> <div class="navlist"> <ul> <li><a target="_blank" href="https://tb.53kf.com/code/client/10146156/2">食品进口</a></li> <li><a target="_blank" href="https://tb.53kf.com/code/client/10146156/2">大健康食品进口</a></li> <li><a target="_blank" href="https://tb.53kf.com/code/client/10146156/2">化妆品进口</a></li> <li><a target="_blank" href="https://tb.53kf.com/code/client/10146156/2">乳制品进口</a></li> <li><a target="_blank" href="https://tb.53kf.com/code/client/10146156/2">宠物食品进口</a></li> <li><a target="_blank" href="https://tb.53kf.com/code/client/10146156/2">美容仪器进口</a></li> </ul> </div> <div class="weibox"> <dl> <dt>扫一扫,微信咨询</dt> <dd><img src="__IMG__/ewm.png" alt=""></dd> </dl> </div> <div class="telbox"> <p>咨询热线:</p> <h3><?php echo $web['tel']; ?></h3> </div> </div> </div> <!-- 返回顶部 --> <!-- <div class="back-top"> <a title="返回顶部">返回顶部</a> </div> --> <!-- --> <script src="__JS__/jquery-1.8.3.min.js"></script> <script src="__JS__/nav.js"></script> <script> $(function(){ var MobileUA = (function() { var ua = navigator.userAgent.toLowerCase(); var mua = { IOS: /ipod|iphone|ipad/.test(ua), //iOS IPHONE: /iphone/.test(ua), //iPhone IPAD: /ipad/.test(ua), //iPad ANDROID: /android/.test(ua), //Android Device WINDOWS: /windows/.test(ua), //Windows Device TOUCH_DEVICE: ('ontouchstart' in window) || /touch/.test(ua), //Touch Device MOBILE: /mobile/.test(ua), //Mobile Device (iPad) ANDROID_TABLET: false, //Android Tablet WINDOWS_TABLET: false, //Windows Tablet TABLET: false, //Tablet (iPad, Android, Windows) SMART_PHONE: false //Smart Phone (iPhone, Android) }; mua.ANDROID_TABLET = mua.ANDROID && !mua.MOBILE; mua.WINDOWS_TABLET = mua.WINDOWS && /tablet/.test(ua); mua.TABLET = mua.IPAD || mua.ANDROID_TABLET || mua.WINDOWS_TABLET; mua.SMART_PHONE = mua.MOBILE && !mua.TABLET; return mua; }()); //SmartPhone if (MobileUA.SMART_PHONE) { // 移动端链接地址 document.location.href = "<?php echo url('Mobile/index/index'); ?>"; } }); </script> </body> <script>(function() {var _53code = document.createElement("script");_53code.src = "https://tb.53kf.com/code/code/10146156/2";var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(_53code, s);})();</script> </html> <!-- footer end-->
dir /www/wwwroot/www.zwlj-hax.com_80/public/../runtime/temp

Environment Variables

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

Server/Request Data

USER
www
HOME
/home/www
HTTP_HOST
www.zwlj-hax.com
HTTP_USER_AGENT
claudebot
HTTP_ACCEPT
*/*
PATH_INFO
/index/news/detail/cid/9/aid/592.html
REDIRECT_STATUS
200
SERVER_NAME
*.zwlj-hax.com
SERVER_PORT
80
SERVER_ADDR
172.18.52.49
REMOTE_PORT
58852
REMOTE_ADDR
34.205.142.9
SERVER_SOFTWARE
nginx/1.20.2
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/www.zwlj-hax.com_80/public
DOCUMENT_URI
/index.php
REQUEST_URI
/index/news/detail/cid/9/aid/592.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/index/news/detail/cid/9/aid/592.html
SCRIPT_FILENAME
/www/wwwroot/www.zwlj-hax.com_80/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1711707979.9815
REQUEST_TIME
1711707979
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/www.zwlj-hax.com_80/public/../application/
RUNTIME_PATH
/www/wwwroot/www.zwlj-hax.com_80/public/../runtime/
APP_DEBUG
false
THINK_VERSION
5.0.10
THINK_START_TIME
1711707979.982
THINK_START_MEM
367152
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/www.zwlj-hax.com_80/thinkphp/
LIB_PATH
/www/wwwroot/www.zwlj-hax.com_80/thinkphp/library/
CORE_PATH
/www/wwwroot/www.zwlj-hax.com_80/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/www.zwlj-hax.com_80/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/www.zwlj-hax.com_80/
EXTEND_PATH
/www/wwwroot/www.zwlj-hax.com_80/extend/
VENDOR_PATH
/www/wwwroot/www.zwlj-hax.com_80/vendor/
LOG_PATH
/www/wwwroot/www.zwlj-hax.com_80/public/../runtime/log/
CACHE_PATH
/www/wwwroot/www.zwlj-hax.com_80/public/../runtime/cache/
TEMP_PATH
/www/wwwroot/www.zwlj-hax.com_80/public/../runtime/temp/
CONF_PATH
/www/wwwroot/www.zwlj-hax.com_80/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false