[2] ErrorException in File.php line 32

网盟彩票代理

  1. */
  2. public function write($cacheFile, $content)
  3. {
  4. // 檢測(ce)模板目(mu)錄
  5. $dir = dirname($cacheFile);
  6. if (!is_dir($dir)) {
  7. mkdir($dir, 0755, true);
  8. }
  9. // 生成模板緩存文(wen)件
  10. if (false === file_put_contents($cacheFile, $content)) {
  11. throw new Exception('cache write error:' . $cacheFile, 11602);
  12. }
  13. }
  14. /**
  15. * 讀(du)取編譯編譯
  16. * @param string $cacheFile 緩存的文(wen)件名(ming)
  17. * @param array $vars 變量數組
  18. * @return void

网盟彩票代理

  1. in File.php line 32
  2. at Error::appError(2, 'file_put_contents(/d...', '/data/wwwroot/www.ki...', 32, ['cacheFile' => '/data/wwwroot/www.ki...', 'content' => '<?php if (!defined('...', 'dir' => '/data/wwwroot/www.ki...'])
  3. at file_put_contents('/data/wwwroot/www.ki...', '<?php if (!defined('...') in File.php line 32
  4. at File->write('/data/wwwroot/www.ki...', '<?php if (!defined('...') in Template.php line 357
  5. at Template->compiler('<?php if (!defined('...', '/data/wwwroot/www.ki...') in Template.php line 191
  6. at Template->fetch('themes/default_car/p...', ['site_info' => ['site_name' => '...', 'site_seo_title' => '', 'site_seo_keywords' => '', ...], 'apiSign' => '804aO8y2eYRoJ8TfVk9Z...', 'year' => '2020', ...], []) in Think.php line 84
  7. at Think->fetch('themes/default_car/p...', ['site_info' => ['site_name' => '...', 'site_seo_title' => '', 'site_seo_keywords' => '', ...], 'apiSign' => '804aO8y2eYRoJ8TfVk9Z...', 'year' => '2020', ...], []) in View.php line 159
  8. at View->fetch('themes/default_car/p...', [], [], []) in Controller.php line 112
  9. at Controller->fetch('themes/default_car/p...', [], [], []) in HomeBaseController.php line 103
  10. at HomeBaseController->fetch(':index') in IndexController.php line 20
  11. at IndexController->index()
  12. at ReflectionMethod->invokeArgs(object(IndexController), []) in App.php line 197
  13. at App::invokeMethod([object(IndexController), 'index'], []) in App.php line 424
  14. at App::module(['', null, null], ['app_host' => '', 'app_debug' => true, 'app_trace' => true, ...], null) in App.php line 296
  15. at App::exec(['type' => 'module', 'module' => ['', null, null]], ['app_host' => '', 'app_debug' => true, 'app_trace' => true, ...]) in App.php line 124
  16. at App::run() in index.php line 51

网盟彩票代理

Error Context
cacheFile /data/wwwroot/www.kingfa.com/subsite/car/../../data/runtime/temp/a2fe01cfc2826758a52cf9f07be9a2f7.php
content <?php if (!defined('THINK_PATH')) exit(); /*a:5:{s:36:"themes/default_car/portal/index.html";i:1550815978;s:35:"themes/default_car/public/head.html";i:1550815978;s:34:"themes/default_car/public/nav.html";i:1550815978;s:37:"themes/default_car/public/footer.html";i:1550815978;s:38:"themes/default_car/public/scripts.html";i:1550815978;}*/ ?><!DOCTYPE html><html><head> <meta charset="UTF-8"> <title><?php echo (isset($site_info['site_name']) && ($site_info['site_name'] !== '')?$site_info['site_name']:''); ?></title> <meta name="keywords" content="<?php echo (isset($site_info['site_seo_keywords']) && ($site_info['site_seo_keywords'] !== '')?$site_info['site_seo_keywords']:''); ?>"/> <meta name="description" content="<?php echo (isset($site_info['site_seo_description']) && ($site_info['site_seo_description'] !== '')?$site_info['site_seo_description']:''); ?>"> <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no, minimal-ui" /><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><meta name="apple-mobile-web-app-capable" content="yes" /><meta name="apple-mobile-web-app-status-bar-style" content="black" /><meta name="format-detection" content="telephone=no, email=no" /><link href="__TMPL__/public/assets/css/swiper.min.css" type="text/css" rel="stylesheet" /><link href="__TMPL__/public/assets/css/style.css?a=1" type="text/css" rel="stylesheet" /><script src="__TMPL__/public/assets/js/jquery.js"></script><script src="__TMPL__/public/assets/js/ifie8.js"></script><script src="__TMPL__/public/assets/js/fastclick.js"></script><script src="__TMPL__/public/assets/js/placeholder.min.js"></script><script src="__TMPL__/public/assets/js/swiper-3.4.1.min.js"></script><script src="__TMPL__/public/assets/js/js.js"></script><script src="__STATIC__/js/layer/layer.js"></script><script type="text/javascript"> //全局變量 var GV = { ROOT: "__ROOT__/", WEB_ROOT: "__WEB_ROOT__/", JS_ROOT: "static/js/" };</script></head><body> <?php $navMenuModel = new \app\admin\model\NavMenuModel(); $main_nav = $navMenuModel->navMenusTreeArray(0,2); /*主菜單*/ /* 返回站(zhan)點信息(xi) */ $site_list = db('site')->order('site_id ASC')->limit(2)->select()->toArray(); foreach($site_list as $key => $value){ $arr = array_filter(explode(',', $value['domain'])); $site_list[$key]['domain'] = $arr[0]; } $logo_slide_id = empty($theme_vars['logo_slide']) ? 0 : $theme_vars['logo_slide']; if( !empty($logo_slide_id) ){ $logo_slides = \app\admin\service\ApiService::slides($logo_slide_id, 1); /*獲取1張(zhang)網站(zhan)頂(ding)部(bu)logo*/ if( $logo_slides ){ $logo = $logo_slides[0]; } } ?><div class="header"> <div class="b"></div> <div class="a"> <div class="c"> <a class="d" title="logo" href="<?php if(!(empty($logo['slide_url']) (($logo['slide_url'] instanceof \think\Collection $logo['slide_url'] instanceof \think\Paginator ) && $logo['slide_url']->isEmpty()))): ?><?php echo $logo['slide_url']; else: ?>__ROOT__/<?php endif; ?>"><img src="<?php echo cmf_get_image_url($logo['image']); ?>" alt=""></a> <ul class="e"> <?php if(is_array($main_nav) $main_nav instanceof \think\Collection $main_nav instanceof \think\Paginator): $i = 0; $__LIST__ = $main_nav;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?> <li <?php if(($cat_id != 0 && $cat_id == $vo['cat_id']) OR ($cat_id == 0 && $i == 1)): ?>class="g"<?php endif; ?>><a href="<?php echo $vo['href']; ?>" target="<?php echo $vo['target']; ?>"><?php echo $vo['name']; ?></a></li> <?php endforeach; endif; else: echo "" ;endif; ?> </ul> <a class="f" title="搜索(suo)"></a> <a class="h" title="菜單"></a> <div class="i"> <form action="<?php echo cmf_url('portal/Search/index'); ?>"> <input type="text" class="j k" name="keyword" placeholder="請輸入關鍵(jian)詞"> <input type="submit" class="n" value=""> <a class="l" title="關閉"></a> </form> </div> <div class="lang"> <a class="lang-a" href="javascript:;"></a> <ul class="lang-b"> <li><a href="<?php echo cmf_url('portal/Index/cutsite', ['site_id' => 4]); ?>">中(zhong)文(wen)(CN)</a></li> <li><a href="<?php echo cmf_url('portal/Index/cutsite', ['site_id' => 3]); ?>">英文(wen)(EN)</a></li> </ul> </div> </div> </div></div> <div class="main"> <div class="swiper-container bh"> <?php $banner_slide_id = empty($theme_vars['banner_slide']) ? 1 : $theme_vars['banner_slide']; ?> <div class="swiper-wrapper"> <?php $__SLIDE_ITEMS__ = \app\admin\service\ApiService::slides($banner_slide_id,-1);if(is_array($__SLIDE_ITEMS__) $__SLIDE_ITEMS__ instanceof \think\Collection $__SLIDE_ITEMS__ instanceof \think\Paginator): $i = 0; $__LIST__ = $__SLIDE_ITEMS__;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?> <div class="swiper-slide"><img src="<?php echo cmf_get_image_url($vo['image']); ?>" alt=""></div> <?php endforeach; endif; else: echo "" ;endif; if(!isset($__SLIDE_ITEMS__)){ $__SLIDE_ITEMS__ = \app\admin\service\ApiService::slides($banner_slide_id); }if(count($__SLIDE_ITEMS__) == 0): ?> <div class="swiper-slide"><img src="__TMPL__/public/assets/images/25.jpg" alt=""></div> <?php endif; ?> </div> <div class="swiper-pagination"></div> <div class="swiper-button-prev"></div> <div class="swiper-button-next"></div> </div> <!-- 車用(yong)系統(tong)與技術 --> <?php $video = cmf_sql_posts("category_ids:".$theme_vars['video'].";field:post_id,post_title,post_excerpt,post_content,post.more,file_url;limit:1;".TMPLSO); $video = $video[0]; $art_list = cmf_sql_posts("category_ids:".$theme_vars['cat_system'].";field:post_id,category_id,post_title,post_source,post_excerpt,post.more,file_url,published_time;limit:0,2;".TMPLSO); ?> <div class="bo"> <div class="bi"> <div class="bj"> <div class="bk"> <span class="bl"><?php echo $video['post_title']; ?></span> <span class="bm"><?php echo $video['post_excerpt']; ?></span> </div> <div class="bu"> <div class="bv"> <div class="cd"> <video controls> <source src="<?php echo cmf_get_file_download_url($video['file_url']); ?>" type="video/mp4"> </video> </div> </div> <div class="bw"> <?php if(is_array($art_list) $art_list instanceof \think\Collection $art_list instanceof \think\Paginator): $i = 0; $__LIST__ = $art_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?> <a class="bx" <?php if(empty($vo['post_source']) (($vo['post_source'] instanceof \think\Collection $vo['post_source'] instanceof \think\Paginator ) && $vo['post_source']->isEmpty())): ?>href="javascript:;"<?php else: ?>href="<?php echo $vo['post_source']; ?>" target="_blank"<?php endif; ?>> <div class="by img-out"><img src="<?php echo cmf_get_image_url($vo['more']['thumbnail']); ?>" alt=""></div> <div class="bz"> <div class="ca"><?php echo $vo['post_title']; ?></div> <div class="cb"><?php echo $vo['post_excerpt']; ?></div> <div class="cc">MORE</div> </div> </a> <?php endforeach; endif; else: echo "" ;endif; ?> </div> </div> </div> </div> <!-- 車用(yong)材料 --> <?php $materials_slide_id = empty($theme_vars['cat_materials']) ? 0 : $theme_vars['cat_materials']; if( !empty($materials_slide_id) ){ $materials = \app\admin\service\ApiService::slides($materials_slide_id); if($materials){ $materials = $materials->toArray(); foreach($materials as $key => $value){ $materials[$key]['silde_info'] = db('slide')->where('id', $value['slide_id'])->find(); } } } ?> <div class="bi"> <div class="bj"> <div class="bk"> <span class="bl"><?php echo $materials['0']['silde_info']['name']; ?></span> <span class="bm"><?php echo $materials['0']['title']; ?></span> </div> <a class="bn" <?php if(empty($materials['0']['url']) (($materials['0']['url'] instanceof \think\Collection $materials['0']['url'] instanceof \think\Paginator ) && $materials['0']['url']->isEmpty())): ?>href="javascript:;"<?php else: ?>href="<?php echo $materials['0']['url']; ?>" target="_blank"<?php endif; ?>> <img src="<?php echo cmf_get_image_url($materials[0]['image']); ?>" alt=""> <div class="bp"> <div class="bq"><?php echo $materials['0']['description']; ?></div> <div class="br"><?php echo $materials['0']['content']; ?></div> <div class="bs">MORE</div> </div> </a> </div> </div> <!-- 新產品新技術 --> <?php $technology_slide_id = empty($theme_vars['new_technology']) ? 0 : $theme_vars['new_technology']; if( !empty($technology_slide_id) ){ $technology = \app\admin\service\ApiService::slides($technology_slide_id); if($technology){ $technology = $technology->toArray(); foreach($technology as $key => $value){ $technology[$key]['silde_info'] = db('slide')->where('id', $value['slide_id'])->find(); } } } ?> <div class="bi"> <div class="bj"> <div class="bk"> <span class="bl"><?php echo $technology['0']['silde_info']['name']; ?></span> <span class="bm"><?php echo $technology['0']['title']; ?></span> </div> <a class="bn" <?php if(empty($technology['0']['url']) (($technology['0']['url'] instanceof \think\Collection $technology['0']['url'] instanceof \think\Paginator ) && $technology['0']['url']->isEmpty())): ?>href="javascript:;"<?php else: ?>href="<?php echo $technology['0']['url']; ?>" target="_blank"<?php endif; ?>> <img src="<?php echo cmf_get_image_url($technology[0]['image']); ?>" alt=""> <div class="bp bt"> <div class="bq"><?php echo $technology['0']['description']; ?></div> <div class="br"><?php echo $technology['0']['content']; ?></div> <div class="bs">MORE</div> </div> </a> </div> </div> </div> </div> <?php /*底部(bu)導航菜單*/ $foot_nav_id = empty($theme_vars['foot_nav']) ? 0 : $theme_vars['foot_nav']; if( $foot_nav_id ){ $navMenuModel = new \app\admin\model\NavMenuModel(); $foot_nav = $navMenuModel->navMenusTreeArray($foot_nav_id,2); } /*獲取底部(bu)二維碼*/ $qrcode_slide_id = empty($theme_vars['qrcode_slide']) ? 0 : $theme_vars['qrcode_slide']; if( !empty($qrcode_slide_id) ){ $qrcode = \app\admin\service\ApiService::slides($qrcode_slide_id); } ?><div class="footer"> <div class="q"> <div class="r"> <div class="s"> <?php if(is_array($foot_nav) $foot_nav instanceof \think\Collection $foot_nav instanceof \think\Paginator): $i = 0; $__LIST__ = $foot_nav;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?> <div class="t"> <div class="u"><?php echo $vo['name']; ?></div> <ul class="v"> <?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=>$vo2): $mod = ($i % 2 );++$i;?> <li><a href="<?php echo $vo2['href']; ?>" target="<?php echo $vo2['target']; ?>"><?php echo $vo2['name']; ?></a></li> <?php endforeach; endif; else: echo "" ;endif; ?> </ul> </div> <?php endforeach; endif; else: echo "" ;endif; ?> </div> <div class="w"> <?php if(is_array($qrcode) $qrcode instanceof \think\Collection $qrcode instanceof \think\Paginator): $i = 0; $__LIST__ = $qrcode;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?> <div class="x"> <div class="y"><img src="<?php echo cmf_get_image_url($vo['image']); ?>" alt=""></div> <div class="z"><?php echo $vo['title']; ?></div> </div> <?php endforeach; endif; else: echo "" ;endif; ?> </div> </div> </div> <div class="aa"> <div class="ab"> <div class="ac">Copyright © <?php echo $year; ?> <?php echo $site_info['site_copyright']; ?> <?php echo $site_info['site_analytics']; ?> <br /><a href="http://www.miitbeian.gov.cn"><?php echo $site_info['site_icp']; ?></a></div> <div class="ad"> <select> <option value="">友情鏈接</option> <?php $__LINKS__ = \app\admin\service\ApiService::links();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;?> <option value="<?php echo $vo['url']; ?>"><?php echo $vo['name']; ?></option> <?php endforeach; endif; else: echo "" ;endif; ?> </select> </div> </div> </div></div> <script> function update (){ layer.msg('更新lun)zhong)...'); return false; }</script></body></html><script> $(function(){ //輪(lun)播 var bh = new Swiper('.bh',{ preventClicks: false, loop: true, pagination: '.swiper-pagination', paginationClickable :true, autoplay: 5000, autoHeight: true, prevButton:'.swiper-button-prev', nextButton:'.swiper-button-next', }) })</script>
dir /data/wwwroot/www.kingfa.com/subsite/car/../../data/runtime/temp

网盟彩票代理

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

网盟彩票代理

TEMP
/tmp
TMPDIR
/tmp
TMP
/tmp
PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
USER
www
HOME
/home/www
FCGI_ROLE
RESPONDER
proxy-nokeepalive
1
HTTP_REMOTEIP
120.76.16.225
HTTP_HOST
www.kingfa.com.cn
HTTP_X_FORWARDED_FOR
23.106.180.168, 120.76.16.225
HTTP_CONNECTION
close
HTTP_USER_AGENT
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko
HTTP_X_TRUE_IP
23.106.180.168
HTTP_X_REAL_IP
23.106.180.168
HTTP_WEB_SERVER_TYPE
nginx
HTTP_WL_PROXY_CLIENT_IP
23.106.180.168
HTTP_X_FORWARDED_PROTO
https
HTTP_X_FORWARDED_CLUSTER
waf,
HTTP_EAGLEEYE_TRACEID
784c10e115822058811682182ef717
HTTP_ACCEPT
*/*
HTTP_REFERER
http://www.kingfa.com.cn/subsite/car/
HTTP_EAGLEEYE_RPCID
0.1
LD_LIBRARY_PATH
/usr/local/apache/lib
SERVER_SIGNATURE
SERVER_SOFTWARE
Apache
SERVER_NAME
www.kingfa.com.cn
SERVER_ADDR
172.18.0.76
SERVER_PORT
80
REMOTE_ADDR
100.122.46.10
DOCUMENT_ROOT
/data/wwwroot/www.kingfa.com
REQUEST_SCHEME
http
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT
/data/wwwroot/www.kingfa.com
SERVER_ADMIN
admin@example.com
SCRIPT_FILENAME
/data/wwwroot/www.kingfa.com/subsite/car/index.php
REMOTE_PORT
37506
GATEWAY_INTERFACE
CGI/1.1
SERVER_PROTOCOL
HTTP/1.1
REQUEST_METHOD
GET
QUERY_STRING
REQUEST_URI
/subsite/car/
SCRIPT_NAME
/subsite/car/index.php
PHP_SELF
/subsite/car/index.php
REQUEST_TIME_FLOAT
1582205881.1834
REQUEST_TIME
1582205881
Environment Variables
empty

网盟彩票代理

APP_DEBUG
true
CMF_ROOT
/data/wwwroot/www.kingfa.com/subsite/car/../../
SITE_ID
4
APP_PATH
/data/wwwroot/www.kingfa.com/subsite/car/../../app/
CMF_PATH
/data/wwwroot/www.kingfa.com/subsite/car/../../simplewind/cmf/
PLUGINS_PATH
/data/wwwroot/www.kingfa.com/subsite/car/plugins/
EXTEND_PATH
/data/wwwroot/www.kingfa.com/subsite/car/../../simplewind/extend/
VENDOR_PATH
/data/wwwroot/www.kingfa.com/subsite/car/../../simplewind/vendor/
RUNTIME_PATH
/data/wwwroot/www.kingfa.com/subsite/car/../../data/runtime/
THINKCMF_VERSION
5.0.170927
SO
is_top DESC,list_order DESC,published_time DESC,post_id DESC
GSO
is_top DESC,category_relate.list_order DESC,published_time DESC,goods_id DESC
TMPLSO
order:is_top DESC,list_order DESC,published_time DESC,post_id DESC;
TMPLGSO
order:is_top DESC,category_relate.list_order DESC,published_time DESC,goods_id DESC;
WEB_ROOT
/data/wwwroot/www.kingfa.com/subsite/car/
THINK_VERSION
5.0.11
THINK_START_TIME
1582205881.1837
THINK_START_MEM
242192
EXT
.php
DS
/
THINK_PATH
/data/wwwroot/www.kingfa.com/simplewind/thinkphp/
LIB_PATH
/data/wwwroot/www.kingfa.com/simplewind/thinkphp/library/
CORE_PATH
/data/wwwroot/www.kingfa.com/simplewind/thinkphp/library/think/
TRAIT_PATH
/data/wwwroot/www.kingfa.com/simplewind/thinkphp/library/traits/
ROOT_PATH
/data/wwwroot/www.kingfa.com/
LOG_PATH
/data/wwwroot/www.kingfa.com/subsite/car/../../data/runtime/log/
CACHE_PATH
/data/wwwroot/www.kingfa.com/subsite/car/../../data/runtime/cache/
TEMP_PATH
/data/wwwroot/www.kingfa.com/subsite/car/../../data/runtime/temp/
CONF_PATH
/data/wwwroot/www.kingfa.com/subsite/car/../../app/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
HTMLPURIFIER_PREFIX
/data/wwwroot/www.kingfa.com/simplewind/vendor/ezyang/htmlpurifier/library
QINIU_FUNCTIONS_VERSION
7.2.1
DEFAULT_DOMAIN
http://test.kingfa.com
0.137837s
网盟彩票代理 | 下一页