최근게시물을 index.html 페이지에 띄우고 싶어요~ > 그누4 질문답변

그누4 질문답변

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

최근게시물을 index.html 페이지에 띄우고 싶어요~ 정보

최근게시물을 index.html 페이지에 띄우고 싶어요~

본문

그누보드 완전 초보인데요, 어찌어찌 게시판은 설치했구요, 이름은 sub1_1 라구 했구요,

메뉴얼에 나온데로 우선 test.php를 만들어서 해봤는데 그것부터가 오류가 나네요;;

메모장에
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php"); // latest() 함수를 사용하여야 하므로 이 프로그램을 포함시킵니다.

echo latest("basic", "sub1_1", 5, 70); // basic 스킨으로 free 라는 게시판을 출력합니다.
?>

를 넣어 test.php로 만들어서 index.html 파일이 있는곳에 넣고, http://도메인/test.php 했는데






----------------------------------------------------------------------------------------

Warning: main(./_common.php) [function.main]: failed to open stream: No such file or directory in /host/home3/funcy/html/test.php on line 2

Warning: main() [function.include]: Failed opening './_common.php' for inclusion (include_path='.:/usr/local/lib/php') in /host/home3/funcy/html/test.php on line 2

Warning: main(/lib/latest.lib.php) [function.main]: failed to open stream: No such file or directory in /host/home3/funcy/html/test.php on line 3

Warning: main() [function.include]: Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/usr/local/lib/php') in /host/home3/funcy/html/test.php on line 3

Fatal error: Call to undefined function: latest() in /host/home3/funcy/html/test.php on line 5

-----------------------------------------------------------------------------------------이런 오류가 뜨네요 ㅠㅠ




파일 경로들은


/html/index.html 파일이있구요

/html/gnuboard4 폴더가  들어있습니다.


뭐가 문제인지 전혀모르겠네요 ㅠ



게시판은 이곳이예요
http://funcy.dothome.co.kr/gnuboard4/bbs/board.php?bo_table=sub1_1

댓글 전체

test.php 를 /html/gnuboard4/test.php 와 같이 업로드해서 테스트 해보세요.

include 파일경로가 gnuboard4 밖에 있어서 읽지 못해 에러가 나는것 입니다.

index.html 도 /html/gnuboard4/index.html 형식으로 업로드해서 사용 하세요...^^
전체 66,554 |RSS
그누4 질문답변 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1402호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT