2026, 새로운 도약을 시작합니다.

이 오류코드는 왜 생기는 걸까요? 채택완료

오류 로고를 보니 지속적인 오류가 하나 있는데, 수정 방법을 모르겠습니다...

아시는 분 도와주시면 감사하겠습니다!

오류내용

[php7:warn] [pid 9407] [client 아이피:13806] PHP Warning:  include_once(/var/www/html/mobile/skin/popular/mw.popular/popular.skin.php): failed to open stream: No such file or directory in /var/www/html/lib/popular.lib.php on line 45, referer: https://abc.com/bbs/board.php?bo_table=e


[php7:warn] [pid 9407] [client 아이피:13806] PHP Warning:  include_once(): Failed opening '/var/www/html/mobile/skin/popular/mw.popular/popular.skin.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/lib/popular.lib.php on line 45, referer: https://abc.com/bbs/board.php?bo_table=e

popular.lib.php on line 45 내용

 44   ob_start();
 45   include_once ($popular_skin_path.'/popular.skin.php');
 46  $content = ob_get_contents();
 47   ob_end_clean();

popular.skin.php 내용

Copy




       

*/



if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가

$date_gap_old = date("Y-m-d", strtotime($date_gap) - ($date_cnt * 86400));

$old = array();

$limit_cnt = $pop_cnt * 4; //4배수로 뽑아 표본확대

$sql2 = " select pp_word, count(*) as cnt from {$g5['popular_table']} where pp_date between '$date_gap_old' and '$date_gap' group by pp_word order by cnt desc, pp_word limit 0, $limit_cnt ";

$qry2 = sql_query($sql2);

$count = sql_num_rows($qry2);

for ($j=0; $row2=sql_fetch_array($qry2); $j++) {

    $old[$j] = $row2;

}

for ($i=0; $i 0)

        $list[$i]['icon'] = "up";

    else if ($list[$i]['rank_gap']  0)

        $list[$i]['icon'] = "down";

    //else if ($list[$i]['old_pp_rank'] == 0)

    else if ($list[$i]['rank_gap']  0 && $list[$i]['old_pp_rank'] > $pop_cnt || !$list[$i]['old_pp_rank'])

        $list[$i]['icon'] = "new";

    else if ($list[$i]['rank_gap'] == 0)

        $list[$i]['icon'] = "nogap";

}

?>



#scroll-layer { position:absolute; top:3px; right: 0px; margin-right:50px; border:1px solid green; padding:0 10px; overflow:hidden; background:#fff; width:190px; z-index:9;}

#scroll-layer ul,

#scroll-layer li { margin:0; padding:0; list-style:none; text-align:left; height:36px; line-height:36px; }

#popular-scroll li > div .gap { color:#444; font-size:11px; letter-spacing:-1px; padding-right:5px;  }

#popular-hidden { position:relative; padding-bottom:5px; z-index:11;}

#popular-hidden li { height:25px; line-height:25px; }

#popular-hidden .popular-tit { height:36px; line-height:36px; color:#555; text-decoration:none; }

.box-big { height:430px; }

.box-small { height:36px; }





  

    

    

    

    

      

      

답변 2개

채택된 답변
+20 포인트
Copy


/var/www/html/mobile/skin/popular/mw.popular/popular.skin.php

에러 내용 그대로

파일이 실제 존재하는지 확인을 해보는게 좋을것 같습니다.

로그인 후 평가할 수 있습니다

답변에 대한 댓글 1개

아앗! 감사합니다 감사합니다!

댓글을 작성하려면 로그인이 필요합니다.

45   include_once ($popular_skin_path.'/popular.skin.php'); 경로 문제인듯합니다.

$popular ? 이변수는 어디서 ??????;;;;;--보통board_skin_path 아닌가요? 그누 변수는 이렇게 보드스킨 경로로 알고있는데말입니다. 아무튼.....경로문제가 커보이네요;;

로그인 후 평가할 수 있습니다

댓글을 작성하려면 로그인이 필요합니다.

답변을 작성하려면 로그인이 필요합니다.

로그인
🐛 버그신고