template_complie 에러
본문
Template_ Compiler Error #10: cannot write compiled file "/www/thebcm_net/data/_complie/basic/skin_bs/newwin/basic/newwin.skin.html.php"
팝업 오류 같은데 . 어디가 오류인지 모르겠어요ㅜㅜ
newwin_skin.html.php 내용.
$TPL_newwin_1=empty($TPL_VAR["newwin"])||!is_array($TPL_VAR["newwin"])?0:count($TPL_VAR["newwin"]);?>
<!-- } 팝업레이어 끝 -->
<link rel="stylesheet" href="/eyoom/theme/basic/skin_bs/newwin/basic/style.css">
<!-- 팝업레이어 시작 { -->
<div id="hd_pop">
<h2>팝업레이어 알림</h2>
<?php if($TPL_newwin_1){foreach($TPL_VAR["newwin"] as $TPL_V1){?>
<div id="hd_pops_<?php echo $TPL_V1["nw_id"]?>" class="hd_pops" style="top:<?php echo $TPL_V1["nw_top"]?>px;left:<?php echo $TPL_V1["nw_left"]?>px">
<div class="hd_pops_con" style="width:<?php echo $TPL_V1["nw_width"]?>px;height:<?php echo $TPL_V1["nw_height"]?>px">
<?php echo conv_content(($TPL_V1["nw_content"]), 1)?>
</div>
<div class="hd_pops_footer">
<button class="hd_pops_reject hd_pops_<?php echo $TPL_V1["nw_id"]?> <?php echo $TPL_V1["nw_disable_hours"]?>"><strong><?php echo $TPL_V1["nw_disable_hours"]?></strong>시간 동안 다시 열람하지 않습니다.</button>
<button class="hd_pops_close hd_pops_<?php echo $TPL_V1["nw_id"]?>">닫기</button>
</div>
</div>
<?php }}else{?>
<span class="sound_only">팝업레이어 알림이 없습니다.</span>
<?php }?>
</div>
<script>
$(function() {
$(".hd_pops_reject").click(function() {
var id = $(this).attr('class').split(' ');
var ck_name = id[1];
var exp_time = parseInt(id[2]);
$("#"+id[1]).css("display", "none");
set_cookie(ck_name, 1, exp_time, g5_cookie_domain);
});
$('.hd_pops_close').click(function() {
var idb = $(this).attr('class').split(' ');
$('#'+idb[1]).css('display','none');
});
$("#hd").css("z-index", 1000);
});
</script>
<!-- } 팝업레이어 끝 -->
답변 2
http://www.xtac.net/reference/?item=debug
Template_ Compiler Error #10: cannot write compiled file /path/to/_compile/file.htm.php
변환파일을 저장할 수 없음. $compile_dir 속성값 또는 퍼미션 체크 요망
이라고 나오네요..
답변 감사합니다.