도

최신글에 대한 초보 적인 질문입니다.

그누보드 입문자인데 최신글 보이기 하기가 막히는군요.
우선 제 셋팅은 루트에 gnuboard4란 폴더를 만들고 그곳에 보드 설치했습니다.
루트의 인덱스 문서에서 최신글 보이기 하기위해
<?
$g4_path = ".";
include_once("$g4_path/_common.php");
$g4[title] = "";
include_once("$g4[path]/lib/latest.lib.php"); // latest() 함수를 사용하여야 하므로 이 프로그램을 포함시킵니다.
?>
  <?
  echo latest("basic", "notice", 5, 70); // basic 스킨으로 free 라는 게시판을 출력합니다.
  ?>
위 두 php문을 입력했는데 아래와 같은 오류 메세지가 나오는 군요. 경로 문제 인듯해서 이것 저것 만져봤지만 증상이 다른뿐 완전히 해결이 안돼네요.
 
원인을 아시는분 알려주심 감사드려요.
 
 
Warning: main(./_common.php) [function.main]: failed to open stream: No such file or directory in /home/tng2380/public_html/index_test.html on line 3

Warning: main() [function.include]: Failed opening './_common.php' for inclusion (include_path='.:/usr/lib/php/pear') in /home/tng2380/public_html/index_test.html on line 3

Warning: main(/lib/latest.lib.php) [function.main]: failed to open stream: No such file or directory in /home/tng2380/public_html/index_test.html on line 5

Warning: main() [function.include]: Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/usr/lib/php/pear') in /home/tng2380/public_html/index_test.html on line 5

댓글 2개

http://www.sir.co.kr/bbs/tb.php/g4_qa/29204
이거 읽어보세요...
자세히 나왔네요...
답변 감사합니다 청도골프님 다른 방법으로 방금 해결 했습니다.
팁란에 "경로" 로을 검색햇더니

http://www.sir.co.kr/bbs/tb.php/g4_tiptech/1966

이글을 참고하니 한방에 해결 돼는군요.
댓글을 작성하시려면 로그인이 필요합니다.

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

+
제목 글쓴이 날짜 조회
06-12-09 조회 1,622
06-12-09 조회 1,891
06-12-09 조회 1,615
06-12-09 조회 1,869
06-12-09 조회 1,687
06-12-09 조회 1,631
06-12-09 조회 1,648
06-12-09 조회 2,388
06-12-09 조회 1,710
06-12-08 조회 1,785
06-12-08 조회 1,897
06-12-08 조회 1,646
06-12-08 조회 2,109
06-12-08 조회 1,723
06-12-08 조회 1,656
06-12-08 조회 1,634
06-12-08 조회 2,185
06-12-08 조회 1,611
06-12-08 조회 1,621
06-12-08 조회 1,766