글을 올리면 자꾸 오류가 뜨네요...(글은 작성이 되는데 오류메세지가 떠요)

글은 제대로 작성이 되는데
리스트스킨부분에서 오류메세지가 뜹니다.
이유가 뭔지를 못 찾겠네요......
부탁 좀 드리겠습니다.

오류뜨는 페이지주소입니다.
http://changuptuja.net/bbs/board.php?bo_table=B31


오류내용은 아래와 같습니다.
=========================================================================================
Warning: getimagesize(../data/file/B31/3717856601_96bbc5c5_C1A6B8F1%2BBEF8C0BD.bmp): failed to open stream: No such file or directory in /home/hosting_users/tujanet/www/skin/board/franchise/list.skin.php on line 211
Warning: getimagesize(../data/file/B31/3717856601_1f1077ea_BBE7BABB%2B-BBE7BABB%2B-C1A6B8F1%2BBEF8C0BD.jpg): failed to open stream: No such file or directory in /home/hosting_users/tujanet/www/skin/board/franchise/list.skin.php on line 211

=========================================================================================






아래는 사용하고 있는 리스트스킨 소스입니다.
=========================================================================================
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>

<?
include_once("$g4[path]/lib/latest_wr.lib.php");
?>

<?
$noIMG = $board_skin_path."/img/noimg.gif"; //[필수](URL)
$max = 88 ; //[필수](픽셀) 썸네일 이미지의 가로세로(긴쪽)의 최대치.
$resol = 80 ; //[필수](퍼센트%) 생성되는 썸네일의 JPG압축률.
$str = 15 ; //[필수](글자수) 썸네일 밑의 제목의 글자수.

function smaller( $W, $H ) {
 global $max, $thum_W, $thum_H ;

  if ( $W > $H ) { //가로형일 경우.
   $thum_W = $max ;
   $thum_H = ceil( $H * ( $max / $W ) );
  }
  if ( $W < $H ) { //세로형일 경우.
   $thum_H = $max ;
   $thum_W = ceil( $W * ( $max / $H ) );
  }
  if ( $W == $H ) { //정사각형일 경우.
   $thum_W = ceil( $max * 0.8 );
   $thum_H = ceil( $max * 0.8 );
  }
 
 return $thum_W ;
 return $thum_H ;
}


function maker( $thum_W, $thum_H ) {
 global $thum, $resol, $ori, $ori_info ;

  //$newImg = ImageCreate($thum_W,$thum_H); // GD라이브러리 2.0 (이하일 경우)
  $newImg = ImageCreateTrueColor($thum_W,$thum_H); // GD라이브러리 2.0 전용함수
  
  if($ori_info[2]=="2") $origImg=ImageCreateFromjpeg($ori);
  if($ori_info[2]=="3") $origImg=ImageCreateFrompng($ori);
  
  //ImageCopyResized($newImg,$origImg,0,0,0,0,$thum_W,$thum_H,ImageSX($origImg),ImageSY($origImg));
  imageCopyResampled($newImg,$origImg,0,0,0,0,$thum_W,$thum_H,ImageSX($origImg),ImageSY($origImg));
  
  Imagejpeg($newImg, $thum, $resol );
  
  chmod($thum,0707);
  ImageDestroy($newImg);
  ImageDestroy($origImg);

 return $thum ;
}
?>
<style type="text/css">
<!--
.style5 {color: #FFFFFF; font-weight: bold; }
-->
</style>

 

  <table>
  <tr>
    <td width="205"><?=banner_garo("창업1")?></td>
    <td width="205"><?=banner_garo("창업2")?></td>
    <td width="205"><?=banner_garo("창업3")?></td>
  </tr>
</table>

 

<table width="<?=$width?>" align="center">
  <tr>

    <td><table width="100%" cellpadding="3">
        <tr>
     <tr height="25">
    <? if ($is_category) { ?><form name="fcategory" method="get"><td width="20%">
 <select name=sca onchange="location='<?=$category_location?>'+this.value;">
 <option value=''>업종별 바로가기</option><?=$category_option?></select></td></form><? } ?>
          <td align="right">게시물
              <?=number_format($total_count)?>
            건
            <? if ($admin_href) { ?>
            <a href="<?=$admin_href?>"><img src="<?=$board_skin_path?>/img/icon_admin.gif" border="0" align="absmiddle"></a>
            <? } ?>
   <a href="<?=$g4['path']?>/bbs/write.php?bo_table=<?=$board[bo_table]?>"><img src="<?=$board_skin_path?>/img/btn_write.gif" border="0" align="absmiddle"></a>
    </td>
        </tr>
      </table>
        <table width="100%" cellpadding="0" cellspacing="0">

          <tr>
            <td width="20%" height="22" bgcolor="#9933FF"><div align="center"><span class="style5">스페셜 등록매물</span></div></td>
            <td width="80%" bgcolor="F7F3F7"></td>
          </tr>

          <tr>
            <td width="20%" height="3" bgcolor="D63369"></td>
            <td width="80%" bgcolor="#9999FF"></td>
          </tr>

      </table>
        <table width="100%" cellpadding="0">
          <tr>
            <td><table width="100%" cellspacing="0" cellpadding="0">
              <tr>
                <td width="7" height="7"><img src="<?=$board_skin_path?>/img/line_mid_p1.gif"></td>
                <td background="<?=$board_skin_path?>/img/line_mid_p5.gif"></td>
                <td width="7"><img src="<?=$board_skin_path?>/img/line_mid_p2.gif"></td>
              </tr>
              <tr>
                <td background="<?=$board_skin_path?>/img/line_mid_p8.gif"></td>
                <td><table width="100%" cellpadding="5">
                    <tr>
                      <td><?=latest_wr("car_sp", $bo_table, 30, 15, 1);?></td>
                    </tr>
                </table></td>
                <td background="<?=$board_skin_path?>/img/line_mid_p6.gif"></td>
              </tr>
              <tr>
                <td height="7"><img src="<?=$board_skin_path?>/img/line_mid_p4.gif"></td>
                <td background="<?=$board_skin_path?>/img/line_mid_p7.gif"></td>
                <td><img src="<?=$board_skin_path?>/img/line_mid_p3.gif"></td>
              </tr>
            </table></td>
          </tr>
        </table>
  
  <br />
  
          <table width="100%" cellpadding="0" cellspacing="0">

          <tr>
            <td width="20%" height="22" bgcolor="#CC00FF"><div align="center"><span class="style5">프리미엄 등록매물</span></div></td>
            <td width="80%" bgcolor="F7F3F7"></td>
          </tr>

          <tr>
            <td width="20%" height="3" bgcolor="D63369"></td>
            <td width="80%" bgcolor="#CC99FF"></td>
          </tr>

      </table>
  
  
  
        <table width="100%" cellpadding="0">
          <tr>
            <td><table width="100%" cellspacing="0" cellpadding="0">
                <tr>
                  <td width="7" height="7"><img src="<?=$board_skin_path?>/img/line_mid_p1.gif"></td>
                  <td background="<?=$board_skin_path?>/img/line_mid_p5.gif"></td>
                  <td width="7"><img src="<?=$board_skin_path?>/img/line_mid_p2.gif"></td>
                </tr>
                <tr>
                  <td background="<?=$board_skin_path?>/img/line_mid_p8.gif"></td>
                  <td><table width="100%" cellpadding="5">
                      <tr>
                        <td><?=latest_wr("car_no",  $bo_table, 30, 60,2);?></td>
                      </tr>
                  </table></td>
                  <td background="<?=$board_skin_path?>/img/line_mid_p6.gif"></td>
                </tr>
                <tr>
                  <td height="7"><img src="<?=$board_skin_path?>/img/line_mid_p4.gif"></td>
                  <td background="<?=$board_skin_path?>/img/line_mid_p7.gif"></td>
                  <td><img src="<?=$board_skin_path?>/img/line_mid_p3.gif"></td>
                </tr>
            </table></td>
          </tr>
        </table>
  
  
  
            <table width="100%" cellpadding="0" cellspacing="0">

          <tr>
            <td width="20%" height="22" bgcolor="#FF33FF"><div align="center"><span class="style5">일반 등록매물</span></div></td>
            <td width="80%" bgcolor="F7F3F7"></td>
          </tr>

          <tr>
            <td width="20%" height="3" bgcolor="D63369"></td>
            <td width="80%" bgcolor="#FF99FF"></td>
          </tr>

      </table>
  
  
  
        <table width="100%" cellpadding="0" cellspacing="0">
          <form name="fboardlist" method="post">
            <input type="hidden" name="bo_table" value="<?=$bo_table?>">
            <input type="hidden" name="sfl"  value="<?=$sfl?>">
            <input type="hidden" name="stx"  value="<?=$stx?>">
            <input type="hidden" name="spt"  value="<?=$spt?>">
            <input type="hidden" name="page" value="<?=$page?>">
            <input type="hidden" name="sw"   value="">
            <tr>
              <td><table width="100%" cellpadding="0" cellspacing="0">
                  <? for ($i=0; $i<count($list); $i++) {
      // Thumbnail
$image = urlencode($list[$i][file][0][file]);
$ori="$g4[path]/data/file/$bo_table/" . $image;
$ext = strtolower(substr(strrchr($ori,"."), 1)); //확장자

if ( $ext=="gif"||$ext=="jpg"||$ext=="jpeg"||$ext=="png"||$ext=="bmp"||$ext=="tif"||$ext=="tiff") $ori_info=getimagesize($ori); else $ori_info="";

 

if ( $ori_info[2]=="2" || $ori_info[2]=="3" ) { //원파일이 [ 2JPG, 2JPEG, 3PNG ] 경우.


  $thum = $ori.".Thum" ;
  if ( file_exists($thum) ) { // Thumbnail [O] 경우
 
   $thum_info = getimagesize ($thum);
   $thum_W = $thum_info[0] ;
   $thum_H = $thum_info[1] ;
 
  } else { // Thumbnail [X] 경우

   if ( smaller( $ori_info[0], $ori_info[1] ) ) {

    maker( $thum_W, $thum_H );
   }
  }

} else if ( $ori_info[2]=="1" || $ori_info[2]=="6" || $ori_info[2]=="7" ) { //원파일이 [ 1GIF,6BMP,7TIF ] 경우.

   if ( smaller( $ori_info[0], $ori_info[1] ) ) {

    $thum = $ori ;
   }

} else { //원파일이 [ 1,2,3,6,7 ] 아닐 경우.

 $thum = $noIMG ;
}
?>
                  <tr <? if ($list[$i][is_notice]) { ?>bgcolor="#F9F9FF"<? } else if ($wr_id == $list[$i][wr_id]) { ?>bgcolor="#FFF9F9"<? }?>>
                    <td onMouseOver=this.style.backgroundColor='#fafafa' onMouseOut=this.style.backgroundColor=''><table width="100%" cellpadding="3">
                        <tr align="center">
                          <td width="20" align="center">
        <?
$p_four = explode("|",$list[$i][wr_4]);
$four01 = $p_four[0];
$four02 = $p_four[1];
$four03 = $p_four[2];
$four04 = $p_four[3];
$four05 = $p_four[4];
?>
                        <?
$p_nine = explode("|",$list[$i][wr_9]);
$nine01 = $p_nine[0];
$nine02 = $p_nine[1];
$nine03 = $p_nine[2];
$nine04 = $p_nine[3];
$nine05 = $p_nine[4];
$nine06 = $p_nine[5];
$nine07 = $p_nine[6];
$nine08 = $p_nine[7];
$nine09 = $p_nine[8];
$nine10 = $p_nine[9];
$nine11 = $p_nine[10];
$nine12 = $p_nine[11];
$nine13 = $p_nine[12];
$nine14 = $p_nine[13];
$nine15 = $p_nine[14];
$nine16 = $p_nine[15];
?>  <?
        if ($list[$i][is_notice])
            echo "<img src=\"$board_skin_path/img/icon_notice.gif\">";
        else if ($wr_id == $list[$i][wr_id])
            echo "<img src=\"$board_skin_path/img/icon_arrow.gif\">";
        else
            echo "{$list[$i][num]}";
        ?></td>
                         
       
       
      <!-- 
        <td width="70" align="center"> <table cellpadding="2" cellspacing="1" bgcolor="eeeeee" >
                          <tr>
                            <td bgcolor="ffffff"><a href='<?=$list[$i][href]?>'><img src='<?=$thum?>' alt='<?=$list[$i][wr_subject]?>' width="60" height="50" border=0 ></a></td>
                          </tr>
                      </table></td>
       -->
      
      
      
                          <td align="left"><? if ($is_checkbox) { ?>
                        <input type=checkbox name=chk_wr_id[] value="<?=$list[$i][wr_id]?>">
                        <? } ?>
                        <?=$list[$i][reply]?>
                        <?=$list[$i][icon_reply]?>
                        <? if ($list[$i][is_notice]) {?>
                        <a href='<?=$list[$i][href]?>'><span class=black><b>
                        <?=$list[$i][subject]?>
                        </b></span></a>
                        <? } else {?>
                        <a href='<?=$list[$i][href]?>'>
                        <? if ($four02) echo '<b>';?>
                        <? if ($four03) echo '<span class="blue">';?>
                        <?=$list[$i][subject]?>
                        <? if ($four03) echo '</span>';?>
                        <? if ($four02) echo '</b>';?>
                        </a>
                        <? }?>
                        <? if ($list[$i][comment_cnt]) {?>
                        <a href="<?=$list[$i][comment_href]?>">
                        <?=$list[$i][comment_cnt]?>
                        </a>
                        <? }?>
                        <?=$list[$i][icon_new]?>
                        <?=$list[$i][icon_hot]?>
                        <? if ($four01)
     echo "<img src='$board_skin_path/img/car_icon_1.gif' border='0' align='absmiddle'>";?>
                        <? if ($four04)
     echo "<img src='$board_skin_path/img/car_icon_2.gif' border='0' align='absmiddle'>";?>
                        <? if ($four05)
     echo "<img src='$board_skin_path/img/car_icon_3.gif' border='0' align='absmiddle'>";?>
                        <br>
      
      
      <a href='<?=$list[$i][href]?>'><span class=gray>
                                                권리금 <span class="black"><?=$nine04?></span>만원 / 보증금 <span class="black"><?=$nine03?></span>만원 / 월세  <span class="black"><?=$nine05?></span>만원
                        </span></a>

 
                          </td>

                          <td width="70" align="center">월순수익<br>
                          <span class="red"><?=$nine07?></span> 만원</td>
                          <td width="80" align="center"><?=$list[$i][wr_5]?>
                          </td>
                          <td width="40" align="center"><?=$list[$i][datetime2]?>
                          </td>
                          <? if ($is_good) { ?>
                          <td width="30" align="center"><?=$list[$i][wr_good]?>
                          </td>
                          <? } ?>
                        </tr>
                    </table></td>
                  </tr>
                  <tr>
                    <td height="1" bgcolor="eeeeee"></td>
                  </tr>
                  <? } ?>
                  <? if (count($list) == 0) { echo "<tr><td height=100 align=center> 게시물이 없습니다.</td></tr>"; } ?>
              </table></td>
            </tr>
          </form>
      </table>
        <table width="100%" cellpadding="3">
          <tr>
            <td align="center"><? if ($prev_part_href) {
      echo "<a href='$prev_part_href'>
      <img src='$board_skin_path/img/search_prev.gif' border=0 align=absmiddle></a>"; } ?>
              <?
                //echo $write_pages;
                $write_pages = str_replace("처음", "<img src='$board_skin_path/img/page_first.gif' border='0' align='absmiddle'>", $write_pages);
                $write_pages = str_replace("이전", "<img src='$board_skin_path/img/page_prev.gif' border='0' align='absmiddle'>", $write_pages);
                $write_pages = str_replace("다음", "<img src='$board_skin_path/img/page_next.gif' border='0' align='absmiddle'>", $write_pages);
                $write_pages = str_replace("맨끝", "<img src='$board_skin_path/img/page_end.gif' border='0' align='absmiddle'>", $write_pages);
                $write_pages = preg_replace("/([0-9]*)/", "$1", $write_pages);
                $write_pages = preg_replace("/([0-9]*)/", "$1", $write_pages);
                ?>
              <?=$write_pages?>
              <? if ($next_part_href) {
    echo "<a href='$next_part_href'>
    <img src='$board_skin_path/img/search_next.gif' border=0 align=absmiddle></a>"; } ?></td>
          </tr>
      </table>
        <table width="100%" cellpadding="3">
          <tr>
            <td><? if ($list_href) { ?>
                <a href="<?=$list_href?>"><img src="<?=$board_skin_path?>/img/list.gif" border="0" align="absmiddle"></a>
                <? } ?>
<a href="<?=$g4['path']?>/bbs/write.php?bo_table=<?=$board[bo_table]?>"><img src="<?=$board_skin_path?>/img/btn_write.gif" border="0" align="absmiddle"></a>
              
                <? if ($is_checkbox) { ?>
                <a href="javascript:select_delete();"><img src="<?=$board_skin_path?>/img/select_delete.gif" border="0" align="absmiddle"></a>
    <a href="javascript:select_copy('copy');"><img src="<?=$board_skin_path?>/img/select_copy.gif" border="0" align="absmiddle"></a>
    <a href="javascript:select_copy('move');"><img src="<?=$board_skin_path?>/img/select_move.gif" border="0" align="absmiddle"></a>
                <? } ?>
            </td>
            <form name=fsearch method=get>
    <input type=hidden name=bo_table value="<?=$bo_table?>">
    <input type=hidden name=sca      value="<?=$sca?>">
 <input type=hidden name=sop      value="And"><td align="right"><select name=sfl>
            <option value='wr_subject'>제목</option>
            <option value='wr_content'>내용</option>
            <option value='mb_id'>아이디</option>
            <option value='wr_name'>이름</option>
        </select>
        <INPUT maxLength=15 size=15 name=stx itemname="검색어" required value="<?=$stx?>" class="input">
         <INPUT type=image src="<?=$board_skin_path?>/img/search.gif" border="0" align="absmiddle"></td></form>
          </tr>
      </table></td>
  </tr>
</table>
<script language="JavaScript">
if ("<?=$sca?>") document.fcategory.sca.value = "<?=$sca?>";
if ("<?=$stx?>") {
    document.fsearch.sfl.value = "<?=$sfl?>";
    document.fsearch.sop.value = "<?=$sop?>";
}
</script>
<? if ($is_checkbox) { ?>
<script language="JavaScript">
function all_checked(sw)
{
    var f = document.fboardlist;

    for (var i=0; i<f.length; i++) {
        if (f.elements[i].name == "chk_wr_id[]")
            f.elements[i].checked = sw;
    }
}

function check_confirm(str)
{
    var f = document.fboardlist;
    var chk_count = 0;

    for (var i=0; i<f.length; i++) {
        if (f.elements[i].name == "chk_wr_id[]" && f.elements[i].checked)
            chk_count++;
    }

    if (!chk_count) {
        alert(str + "할 게시물을 하나 이상 선택하세요.");
        return false;
    }
    return true;
}

// 선택한 게시물 삭제
function select_delete()
{
    var f = document.fboardlist;

    str = "삭제";
    if (!check_confirm(str))
        return;

    if (!confirm("선택한 게시물을 정말 "+str+" 하시겠습니까?\n\n한번 "+str+"한 자료는 복구할 수 없습니다"))
        return;

    f.action = "./delete_all.php";
    f.submit();
}

// 선택한 게시물 복사 및 이동
function select_copy(sw)
{
    var f = document.fboardlist;

    if (sw == "copy")
        str = "복사";
    else
        str = "이동";
                      
    if (!check_confirm(str))
        return;

    var sub_win = window.open("", "move", "left=50, top=50, width=396, height=550, scrollbars=1");

    f.sw.value = sw;
    f.target = "move";
    f.action = "./move.php";
    f.submit();
}
</script>
<? } ?>
==========================================================================================

|

댓글 1개

/data/file/B31 폴더가 없거나 권한이 없다고 나오네요..
확인해 보세요
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
16년 전 조회 961
16년 전 조회 976
16년 전 조회 911
16년 전 조회 842
16년 전 조회 1,546
16년 전 조회 961
16년 전 조회 970
16년 전 조회 923
16년 전 조회 1,318
16년 전 조회 1,006
16년 전 조회 2,412
16년 전 조회 1,034
16년 전 조회 943
16년 전 조회 4,300
16년 전 조회 910
16년 전 조회 2,080
16년 전 조회 826
16년 전 조회 871
16년 전 조회 1,145
16년 전 조회 881