get_list_thumbnail / get_view_thumbnail
$thumb = get_list_thumbnail($bo_table, $list[$i]['wr_id'], $thumb_width, $thumb_height, false, true);
해당 코드 부분에서 에러가 발생하는데
Failed to load resource: the server responded with a status of 500 (Internal Server Error)
500 (Internal Server Error) 로 표시되고
해당 부분을 주석 처리하면 실행은 잘 됩니다...
어떤 것이 문제인지 알 수 있을가요?
아래는 전체 코드 입니다.
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
include_once(G5_LIB_PATH.'/thumbnail.lib.php');
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('', 0);
$thumb_width = 300;
$thumb_height = 400;
?>
- 게시물이 없습니다.
for ($i=0; $i ?>
echo "
$thumb = get_list_thumbnail($bo_table, $list[$i]['wr_id'], $thumb_width, $thumb_height, false, true);
if($thumb['src']) {
$img = $thumb['src'];
} else {
$img = G5_THEME_IMG_URL.'/noimage.png';
$thumb['alt'] = '이미지가 없습니다.';
}
if ($list[$i]['is_notice']) {
echo "";
echo "
echo "
echo "
} else {
echo "";
echo "
echo "
echo "
// if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; }
// if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['count']}>"; }
}
echo "
//echo cut_str(strip_tags($list[$i]['content']),100);
echo $list[$i]['wr_content'];
?>
답변 1개
답변을 작성하려면 로그인이 필요합니다.
로그인