최근게시물을 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를 만들어서 해봤는데 그것부터가 오류가 나네요;;
메모장에
<?
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
댓글 전체
_common.php 파일이 해당 폴더에 없어서 나는 에러에요.
다른 곳의 _common.php 파일을 복사해서 넣으시고 경로를 맞춰주세요.
다른 곳의 _common.php 파일을 복사해서 넣으시고 경로를 맞춰주세요.
어디에 있는 _common.php 파일을 어디폴더에 넣어야 하나요??ㅜㅜ

test.php 를 /html/gnuboard4/test.php 와 같이 업로드해서 테스트 해보세요.
include 파일경로가 gnuboard4 밖에 있어서 읽지 못해 에러가 나는것 입니다.
index.html 도 /html/gnuboard4/index.html 형식으로 업로드해서 사용 하세요...^^
include 파일경로가 gnuboard4 밖에 있어서 읽지 못해 에러가 나는것 입니다.
index.html 도 /html/gnuboard4/index.html 형식으로 업로드해서 사용 하세요...^^