Loading the content...

질문과 답변

  • Home
  • 이윰빌더
  • 질문과 답변

관리자 페이지 이윰설정 오류코드 출력

4,323 2017.02.28 16:09

첨부파일

짧은주소

본문

안녕하세요.

날이 점점 따스해지고 있네요^^

다름이아니라 관리자페이지 이윰설정에서 어느날부터 아래와 같은 에러메시지가 출력이 됩니다.

보아하니 이윰빌더 버전과 그누보드 버전 체크박스 부분인듯 합니다.

 

Warning: simplexml_load_file(http://sir.kr/rss/g5_pds): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/hemanclub/public_html/adm/eyoom_admin/theme_manager.php on line 42

Warning: simplexml_load_file(): I/O warning : failed to load external entity "http://sir.kr/rss/g5_pds" in /home/hemanclub/public_html/adm/eyoom_admin/theme_manager.php on line 42

이게 매번 출력되는 것이 아니고 출력 될때도 있고 출력이 되지 않을 때도 있습니다.

어떤 문제일까요?

답변 부탁드립니다.

0
좋아요!
- 부끄럼소년 메일보내기 아이디로 검색 - 회원등급 : 씨앗/Level 4 - 포인트 : 6,940
레벨 4
경험치 1,810

Progress Bar 77%

- 가입일 : 2016-04-04 09:40:18
- 서명 :
- 자기소개 :
댓글목록

이윰EGG님의 댓글

사용하는 서버에서 외부 api 관련한 함수를 지원하지 않아 발생하는 문제 같습니다.
해당 부분에 문구가 출력되는 것을 원치 않는다면 /adm/eyoom_admin/theme_manager.php  파일 10~53, 92~94 줄 소스를 주석 또는 삭제처리 하기 바랍니다.

감사합니다.

축하합니다. 첫댓글 포인트 88포인트를 획득하였습니다.

부끄럼소년님의 댓글

안내해주신 라인 삭제하면 페이지 오류가 출력됩니다.

정확히 어디 인지요?

-------------------------------------------------------------------------------------------------------------------------------------------------------------
<?php
$sub_key = substr($sub_menu,3,3);
if(!$sub_key) exit;

$sql="select * from {$g5['eyoom_theme']} where 1 ";
$res=sql_query($sql,false);
for($i=0;$row=sql_fetch_array($res);$i++) {
$tminfo[$row['tm_name']] = $row;
}
if(defined('_EYOOM_VESION_')) {
$builder_score = $eb->version_score(str_replace("EyoomBuilder_", "", _EYOOM_VESION_));

if (!ini_get("allow_url_fopen")) ini_set("allow_url_fopen", 1);
if (ini_get("allow_url_fopen") == 1) {
// 이윰넷에서 버전 가져오기
$url = EYOOM_SITE . '/bbs/rss.php?bo_table=eyoom';
$xml = simplexml_load_file($url);
$builder = $xml->channel->item;
$builder = $builder[0];

preg_match("/\d+\.\d+\.\d+/", $builder->title, $match);
$eyoom_score = $eb->version_score($match[0]);

if($builder_score < $eyoom_score) {
$new_version = "<a href='{$builder->link}' target='_blank' class='eb_new'>{$builder->title} 바로가기</a>";
}

if (defined('G5_YOUNGCART_VER')) {
$url = GNU_URL . '/rss/yc5_pds';
$xml = simplexml_load_file($url);
$sir = $xml->channel->item;
$sir = $sir[0];

preg_match("/\d+\.\d+\.\d+/", $sir->title, $match);
$sir_score = $eb->version_score($match[0]);
$gnu_score = $eb->version_score(G5_YOUNGCART_VER);
if($gnu_score < $sir_score) {
$gnu_version = "<a href='{$sir->link}' target='_blank' class='gnu_new'>{$sir->title} 바로가기</a>";
}
} else {
$url = GNU_URL . '/rss/g5_pds';
$xml = simplexml_load_file($url);
$sir = $xml->channel->item;
$sir = $sir[0];

preg_match("/\d+\.\d+\.\d+/", $sir->title, $match);
$sir_score = $eb->version_score($match[0]);
$gnu_score = $eb->version_score(G5_GNUBOARD_VER);
if($gnu_score < $sir_score) {
$gnu_version = "<a href='{$sir->link}' target='_blank' class='gnu_new'>{$sir->title} 바로가기</a>";
}
}
}
?>
<style>
.eb_new, .gnu_new {
display: inline-block;
margin:2px 10px;
padding:5px 10px;
color:#fff;
font-weight: normal;
font-size: 12px;
}
.eb_new {
background: #d96c41;
}
.gnu_new {
background: #b041d9;
}
</style>
<section>
<h2><strong style="color:#f30;">설치 버전</strong> : <?php echo _EYOOM_VESION_;?> <?php echo $new_version;?> <?php echo $gnu_version;?></h2>
    <div class="tbl_frm01 tbl_wrap">
        <table style="background:#fafafa;border:1px solid #eaeaea;">
        <caption>테마설정</caption>
        <tbody>
        <tr>
            <td>
<div class="themes">
<div class="refresh btn_latest"><a href="javascript:;" class="refresh_latest" onclick="return refresh_db_record('latest');">최신글정리</a></div>
<div class="refresh btn_respond"><a href="javascript:;" class="refresh_respond" onclick="return refresh_db_record('respond');">내글반응정리</a></div>
<div class="refresh btn_dbupdate"><a href="javascript:;" class="refresh_dbupdate" onclick="return refresh_db_record('dbupdate');">최신 DB 및 설정적용</a></div>
<div class="refresh btn_theme"><a href="javascript:;" class="use_eyoom_theme" onclick="return use_eyoom_theme();">이윰테마사용</a></div>
<div class="refresh btn_countdown"><a href="./countdown_form.php" class="countdown" onclick="return false;">공사중 설정</a></div>
<div class="refresh btn_pointzip"><a href="./pointzip_form.php" class="pointzip" onclick="return false;">그누포인트 압축하기</a></div>
</div>
</td>
</tr>
</table>
</div>
</section>
<?php
}
?>
<section id="anc_scf_info">
    <h2 class="h2_frm">테마 메니저<span class='exp'>각 테마별로 다양한 설정을 하실 수 있습니다.</span></h2>

    <div class="tbl_frm01 tbl_wrap">
<input type="hidden" name="shop_theme" id="shop_theme" value="<?php echo $shop_theme;?>">
<input type="hidden" name="theme_target" id="theme_target" value="">
        <table style="background:#f5f5f5;border:1px solid #eaeaea;">
        <caption>테마설정</caption>
        <tbody>
        <tr>
            <td>
<div id="theme_select">
<?php
$arr = get_skin_dir('theme',EYOOM_PATH);
for ($i=0; $i<count($arr); $i++) {
if($arr[$i] == 'countdown') continue;
$config_file = $arr[$i] == 'basic' ? eyoom_config:G5_DATA_PATH.'/eyoom.'.$arr[$i].'.config.php';
if(file_exists($config_file)) {
include($config_file);
$exist_theme[$i] = $arr[$i];
?>
<div class="themes">
<div class="theme_name"><?php echo $arr[$i];?> <span style='font-weight:normal;'><?php if($tminfo[$arr[$i]]['tm_alias']) echo "(".$tminfo[$arr[$i]]['tm_alias'].")";?></span></div>
<div><a href="javascript:;" onclick="set_theme('<?php echo $arr[$i];?>','c');" <?php if($theme == $arr[$i]) echo "class='theme_active'";?>>커뮤니티홈</a></div>
<?php if(defined('G5_USE_SHOP')) {?><div style="margin-right:15px;"><a href="javascript:;" onclick="set_theme('<?php echo $arr[$i];?>','s');" <?php if($shop_theme == $arr[$i]) echo "class='theme_active'";?>>쇼핑몰홈</a></div><?php }?>
<div><a href="./config_form.php?thema=<?php echo $arr[$i];?>" <?php if($_theme == $arr[$i] && $sub_key=='100') echo "class='active'";?>>기본설정</a></div>
<div><a href="./board_list.php?thema=<?php echo $arr[$i];?>" <?php if($_theme == $arr[$i] && $sub_key=='200') echo "class='active'";?>>게시판설정</a></div>
<div><a href="./menu_list.php?thema=<?php echo $arr[$i];?>" <?php if($_theme == $arr[$i] && $sub_key=='300') echo "class='active'";?>>커뮤니티메뉴</a></div>
<?php if(defined('G5_USE_SHOP')) {?><div><a href="./shopmenu_list.php?thema=<?php echo $arr[$i];?>" <?php if($_theme == $arr[$i] && $sub_key=='400') echo "class='active'";?>>쇼핑몰메뉴</a></div><?php }?>
<div><a href="./banner_list.php?thema=<?php echo $arr[$i];?>" <?php if($_theme == $arr[$i] && $sub_key=='500') echo "class='active'";?>>배너/광고</a></div>
<div><a href="./tag_list.php?thema=<?php echo $arr[$i];?>" <?php if($_theme == $arr[$i] && $sub_key=='600') echo "class='active'";?>>태그</a></div>
<div class="btn_clone"><a href="./theme_clone.php?thema=<?php echo $arr[$i];?>" class="clone_theme" onclick="return false;">복사</a></div>
<div class="btn_delete"><a href="./theme_delete.php?thema=<?php echo $arr[$i];?>" class="delete_theme" onclick="return false;">삭제</a></div>
<div class="btn_chname"><a href="./theme_alias.php?thema=<?php echo $arr[$i];?>" class="alias_theme" onclick="return false;">별칭설정</a></div>
<div class="btn_community"><a href="<?php echo G5_URL;?>/?theme=<?php if($tminfo[$arr[$i]]['tm_alias']) echo $tminfo[$arr[$i]]['tm_alias']; else echo $arr[$i];?>" target="_blank">커뮤니티</a></div>
<?php if(defined('G5_USE_SHOP')) {?><div class="btn_shop"><a href="<?php echo G5_URL;?>/<?php echo G5_SHOP_DIR;?>/?theme=<?php if($tminfo[$arr[$i]]['tm_alias']) echo $tminfo[$arr[$i]]['tm_alias']; else echo $arr[$i];?>" target="_blank">쇼핑몰</a></div><?php }?>
</div>
<?php
unset($eyoom);
} else {
?>
<div class="themes">
<div class="theme_name"><?php echo $arr[$i];?></div>
<div class="theme_setup"><a href="./theme_form.php?thema=<?php echo $arr[$i];?>" class="install_theme" onclick="return false;">테마설치하기</a></div>
<div class="btn_delete"><a href="./theme_delete.php?thema=<?php echo $arr[$i];?>" class="delete_theme" onclick="return false;">삭제</a></div>
</div>
<?php
}
}
unset($arr);
?>
</div>
            </td>
        </tr>
        </tbody>
        </table>
    </div>
</section>

<script>
$(function(){
var win_theme = function(href) {
var new_win = window.open(href, 'win_theme', 'left=100,top=100,width=620,height=400,scrollbars=1');
new_win.focus();
}
$(".install_theme, .clone_theme, .delete_theme, .alias_theme, .countdown, .pointzip").click(function(){
var url = $(this).attr('href');
win_theme(url);
});
});
function set_theme(theme,type) {
$("#mode").val('theme');
switch(type) {
case 'c':
if(confirm("정말로 [" + theme + "]테마를 커뮤니티홈으로 사용하시겠습니까?")) {
$("#theme").val(theme);
$("#theme_target").val('community');
document.ftheme.submit();
} else return;
break;
case 's':
if(confirm("정말로 [" + theme + "]테마를 쇼핑몰홈으로 사용하시겠습니까?")) {
$("#shop_theme").val(theme);
$("#theme_target").val('shop');
document.ftheme.submit();
} else return;
}
}
function refresh_db_record(target) {
var msg='';
switch(target) {
case 'latest': msg = "이윰 최신글을 정리합니다.\n게시물의 수에 따라 시간이 소요될 수 있습니다.\n\n계속 진행하시겠습니까?"; break;
case 'respond': msg = "내글반응의 노출숫자를 실 데이타와 일치시킵니다.\n\n계속 진행하시겠습니까?";break;
case 'dbupdate': msg = "DB속성 및 이윰설정을 최근 설정으로 최적화합니다.\n\n계속 진행하시겠습니까?";break;
}
if(confirm(msg)) {
var url = "./eyoom_db_refresh.php";
$.ajax({
url: url,
type: "POST",
data: {'tg': target },
dataType: "json",
async: false,
cache: false,
success: function(data, textStatus) {
if(data.result == 'yes'){
alert('정상적으로 처리하였습니다.');
}
}
});
} else return false;
}
function use_eyoom_theme() {
if(confirm('그누보드5의 테마 대신 이윰빌더의 테마를 메인테마로 사용합니다.\n\n계속 진행하시겠습니까?')) {
$.ajax({
url: "./use_eyoom_theme.php",
type: "POST",
data: {'theme': 'eyoom'},
dataType: "json",
async: false,
cache: false,
success: function(data, textStatus) {
if(data.result == 'yes'){
alert('정상적으로 처리하였습니다.');
}
}
});
}
}
</script>
-------------------------------------------------------------------------------------------------------------------------------------------------------------

축하합니다. 지뢰폭탄 포인트 88포인트를 획득하였습니다.

축하합니다. 행운의 포인트 5포인트를 획득하였습니다.

이윰EGG님의 댓글

10~53

	if(defined('_EYOOM_VESION_')) {
		$builder_score = $eb->version_score(str_replace("EyoomBuilder_", "", _EYOOM_VESION_));

		if (!ini_get("allow_url_fopen")) ini_set("allow_url_fopen", 1);
		if (ini_get("allow_url_fopen") == 1) {
			// 이윰넷에서 버전 가져오기
			$url = EYOOM_SITE . '/bbs/rss.php?bo_table=eyoom';
			$xml = simplexml_load_file($url);
			$builder = $xml->channel->item;
			$builder = $builder[0];

			preg_match("/\d+\.\d+\.\d+/", $builder->title, $match);
			$eyoom_score = $eb->version_score($match[0]);

			if($builder_score < $eyoom_score) {
				$new_version = "<a href='{$builder->link}' target='_blank' class='eb_new'>{$builder->title} 바로가기</a>";
			}

			if (defined('G5_YOUNGCART_VER')) {
				$url = GNU_URL . '/rss/yc5_pds';
				$xml = simplexml_load_file($url);
				$sir = $xml->channel->item;
				$sir = $sir[0];

				preg_match("/\d+\.\d+\.\d+/", $sir->title, $match);
				$sir_score = $eb->version_score($match[0]);
				$gnu_score = $eb->version_score(G5_YOUNGCART_VER);
				if($gnu_score < $sir_score) {
					$gnu_version = "<a href='{$sir->link}' target='_blank' class='gnu_new'>{$sir->title} 바로가기</a>";
				}
			} else {
				$url = GNU_URL . '/rss/g5_pds';
				$xml = simplexml_load_file($url);
				$sir = $xml->channel->item;
				$sir = $sir[0];

				preg_match("/\d+\.\d+\.\d+/", $sir->title, $match);
				$sir_score = $eb->version_score($match[0]);
				$gnu_score = $eb->version_score(G5_GNUBOARD_VER);
				if($gnu_score < $sir_score) {
					$gnu_version = "<a href='{$sir->link}' target='_blank' class='gnu_new'>{$sir->title} 바로가기</a>";
				}
			}
		}



92~94
<?php
	}
?>

축하합니다. 행운의 포인트 18포인트를 획득하였습니다.

부끄럼소년님의 댓글

성실한 답변 고맙습니다^^

Total 22건 1 페이지
게시판 이용안내

이윰빌더를 이용하시는 모든 회원님들이 서로 궁금한 부분을 질문 또는 답변을 하며 문제점을 서로 해소할 수 있는 공용 질답 게시판입니다.

질문 시 기본적인 예절을 지켜주세요.
  • 질문 시 바른말을 이용 해 주세요.
  • 질문자의 상황을 다른이가 예측하기 힘듭니다. 오류가 난 상황이나 환경등을 최대한 자세하게 알려주셔야만 원하시는 답을 얻을 확률이 높습니다.
  • 질문의 유형에 따라 틀릴 수 있지만 문제가 되는 해당 페이지 주소가 있으면 가장 근접한 해법이 나올 가능성이 큽니다.
  • 원하시는 답을 얻으시면 감사의 말씀을 전하는 센스를 발휘 해 주세요.
  • 질문 전 한번쯤 읽어볼만한 글 : http://eyoom.net/bbs/board.php?bo_table=qna&wr_id=74
제목
부끄럼소년 아이디로 검색 2017.04.13 1,052 0
부끄럼소년 아이디로 검색 2017.04.12 914 0
부끄럼소년 아이디로 검색 2017.03.01 485 0
부끄럼소년 아이디로 검색 2017.02.28 4,324 0
부끄럼소년 아이디로 검색 2017.02.23 1,387 0
부끄럼소년 아이디로 검색 2017.02.12 431 0
부끄럼소년 아이디로 검색 2017.02.12 417 0
부끄럼소년 아이디로 검색 2017.02.12 875 0
부끄럼소년 아이디로 검색 2017.02.09 435 0
부끄럼소년 아이디로 검색 2016.12.13 511 0
부끄럼소년 아이디로 검색 2016.11.28 459 0
부끄럼소년 아이디로 검색 2016.11.20 752 0
부끄럼소년 아이디로 검색 2016.11.16 509 0
부끄럼소년 아이디로 검색 2016.11.15 1,252 0
부끄럼소년 아이디로 검색 2016.11.11 462 0