구인구직 게시판 설치 오류 문제

http://sir.co.kr/bbs/board.php?bo_table=g4_skin&wr_id=99427&sca=&sfl=wr_subject&stx=%EA%B5%AC%EC%9D%B8&sop=and

위 구인 구직 게시판 을 설치 후 다음과 같이 오류가 나네요
어떻게 수정해야하는지........
탑빌더 사용하였습니다.
Warning: include_once(../skin/board/guin/list.skin.php) [function.include-once]: failed to open stream: No such file or directory in /home/hosting_users/jobclub/www/bbs/list.php on line 192

Warning: include_once() [function.include]: Failed opening '../skin/board/guin/list.skin.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/jobclub/www/bbs/list.php on line 192


답변 주시면 감사하겠습니다.
|

댓글 12개

1. skin/latest/에 첨부파일을 job_sp에 올리세요


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


2. 그누보드에 /lib에 latest.lib.php 파일을 찾으셔서


latest.lib.php 에 아래 추가

//프리미엄광고 추천구인 최근게시물 추출 방법
function best_latest($skin_dir="", $bo_table, $rows=10, $subject_len=40, $options="")
{
global $g4;

if ($skin_dir)
$latest_skin_path = "$g4[path]/skin/latest/$skin_dir";
else
$latest_skin_path = "$g4[path]/skin/latest/basic";

$list = array();

$sql = " select * from $g4[board_table] where bo_table = '$bo_table'";
$board = sql_fetch($sql);

$tmp_write_table = $g4['write_prefix'] . $bo_table; // 게시판 테이블 전체이름


$sql = " select * from $tmp_write_table where wr_8 = '1' order by wr_num limit 0, $rows ";

$result = sql_query($sql);
for ($i=0; $row = sql_fetch_array($result); $i++)
$list[$i] = get_list($row, $board, $latest_skin_path, $subject_len, $options);

ob_start();
include "$latest_skin_path/latest.skin.php";
$content = ob_get_contents();
ob_end_clean();

return $content;
}

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

첨부 이미지 참조 하시면 됩니다















이부분 다 추가 수정 하셨는지요 ?
latest.lib.php 에 아래 추가
어느부분에 추가해야하나요??



<?
if (!defined('_GNUBOARD_')) exit;

// 최신글 추출
function latest($skin_dir="", $bo_table, $rows=10, $subject_len=40, $options="")
{
global $g4;

if ($skin_dir)
$latest_skin_path = "$g4[path]/skin/latest/$skin_dir";
else
$latest_skin_path = "$g4[path]/skin/latest/basic";

$list = array();

$sql = " select bo_table, bo_notice, bo_subject, bo_subject_len, bo_use_list_content, bo_new, bo_use_sideview, bo_use_comment, bo_hot, bo_use_search from $g4[board_table] where bo_table = '$bo_table'";
$board = sql_fetch($sql);

$tmp_write_table = $g4['write_prefix'] . $bo_table; // 게시판 테이블 전체이름
//$sql = " select * from $tmp_write_table where wr_is_comment = 0 order by wr_id desc limit 0, $rows ";
// 위의 코드 보다 속도가 빠름
$sql = " select wr_id, wr_subject, wr_option, wr_content, wr_comment, wr_parent, wr_datetime, wr_last, wr_homepage, wr_name, wr_reply, wr_link1, wr_link2, ca_name, wr_hit from $tmp_write_table where wr_is_comment = 0 order by wr_num limit 0, $rows ";
//explain($sql);
$result = sql_query($sql);
for ($i=0; $row = sql_fetch_array($result); $i++)
$list[$i] = get_list($row, $board, $latest_skin_path, $subject_len);

ob_start();
include "$latest_skin_path/latest.skin.php";
$content = ob_get_contents();
ob_end_clean();

return $content;
}
?>
latest.lib.php 에 아래 추가
return $content;
}


이 아래 그냥 추가 하시면 될듯 보입니다만 ;;
다음과 같이 에러가 나오네요
Fatal error: Cannot redeclare best_latest() (previously declared in /home/hosting_users/jobclub/www/lib/latest.lib.php:5) in /home/hosting_users/jobclub/www/lib/latest.lib.php on line 65
skin/latest/에 첨부파일을 job_sp에 올리세요
설명서 대로 다 올리시고 추가 하신거 맞으신가요 ?
네..첨부파일 다올리고
skin/latest/에 첨부파일 job_sp폴더를 올리시라는거죠?
latest.lib.php 에 아래 추가 이부분만 어디 적용해야 할지 몰라서..^^
// 최신글 추출
function latest($skin_dir="", $bo_table, $rows=10, $subject_len=40, $options="")
{
global $g4;

if ($skin_dir)
$latest_skin_path = "$g4[path]/skin/latest/$skin_dir";
else
$latest_skin_path = "$g4[path]/skin/latest/basic";

$list = array();

$sql = " select bo_table, bo_notice, bo_subject, bo_subject_len, bo_use_list_content, bo_new, bo_use_sideview, bo_use_comment, bo_hot, bo_use_search from $g4[board_table] where bo_table = '$bo_table'";
$board = sql_fetch($sql);

$tmp_write_table = $g4['write_prefix'] . $bo_table; // 게시판 테이블 전체이름
//$sql = " select * from $tmp_write_table where wr_is_comment = 0 order by wr_id desc limit 0, $rows ";
// 위의 코드 보다 속도가 빠름
$sql = " select wr_id, wr_subject, wr_option, wr_content, wr_comment, wr_parent, wr_datetime, wr_last, wr_homepage, wr_name, wr_reply, wr_link1, wr_link2, ca_name, wr_hit from $tmp_write_table where wr_is_comment = 0 order by wr_num limit 0, $rows ";
//explain($sql);
$result = sql_query($sql);
for ($i=0; $row = sql_fetch_array($result); $i++)
$list[$i] = get_list($row, $board, $latest_skin_path, $subject_len);

ob_start();
include "$latest_skin_path/latest.skin.php";
$content = ob_get_contents();
ob_end_clean();

return $content;
}


function best_latest($skin_dir="", $bo_table, $rows=10, $subject_len=40, $options="")
{
global $g4;

if ($skin_dir)
$latest_skin_path = "$g4[path]/skin/latest/$skin_dir";
else
$latest_skin_path = "$g4[path]/skin/latest/basic";

$list = array();

$sql = " select * from $g4[board_table] where bo_table = '$bo_table'";
$board = sql_fetch($sql);

$tmp_write_table = $g4['write_prefix'] . $bo_table; // 게시판 테이블 전체이름


$sql = " select * from $tmp_write_table where wr_8 = '1' order by wr_num limit 0, $rows ";

$result = sql_query($sql);
for ($i=0; $row = sql_fetch_array($result); $i++)
$list[$i] = get_list($row, $board, $latest_skin_path, $subject_len, $options);

ob_start();
include "$latest_skin_path/latest.skin.php";
$content = ob_get_contents();
ob_end_clean();

return $content;
}



이렇게 추가 해도 안되시는 건가유?
이렇게 적용해도 같은 증상이..뜨네요
http://jobclub.co.kr/bbs/board.php?bo_table=tb01&cate_id=2010
음 그렇군유 ㄷㄷ
실제 설치를 해보지 않아서 다음분께 패스를 해야 할듯 하네유 ㄷ
감사합니다.
댓글을 작성하시려면 로그인이 필요합니다. 로그인

그누4 질문답변

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

+
제목 글쓴이 날짜 조회
14년 전 조회 2,172
14년 전 조회 1,678
14년 전 조회 1,508
14년 전 조회 1,570
14년 전 조회 1,993
14년 전 조회 1,537
14년 전 조회 1,078
14년 전 조회 1,597
14년 전 조회 1,520
14년 전 조회 2,563
14년 전 조회 2,385
14년 전 조회 1,519
14년 전 조회 1,503
14년 전 조회 1,710
14년 전 조회 1,625
14년 전 조회 1,708
14년 전 조회 1,601
14년 전 조회 1,445
14년 전 조회 1,732
14년 전 조회 1,552
🐛 버그신고