그누보드 최신글추출할때 정보
그누보드 최신글추출할때본문
홈페이지를 만들고 있는데 메인에 최신글목록을 불러오고 싶어서요
게시판은 그누보드를 쓰고있고 테이블이름은 gesi 게시판제목은 공지사항 입니다
홈페이지 상단에
Warning: include_once(/lib/latest.lib.php) [function.include-once]: failed to open stream: No such file or directory in /web/home/ssingah/html/_common.php on line 3
Warning: include_once() [function.include]: Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/usr/lib/php/pear') in /web/home/ssingah/html/_common.php on line 3
Warning: include_once(/lib/latest.skin.php) [function.include-once]: failed to open stream: No such file or directory in /web/home/ssingah/html/index.html on line 4
Warning: include_once() [function.include]: Failed opening '/lib/latest.skin.php' for inclusion (include_path='.:/usr/lib/php/pear') in /web/home/ssingah/html/index.html on line 4
Warning: include_once(/head.php) [function.include-once]: failed to open stream: No such file or directory in /web/home/ssingah/html/index.html on line 5
Warning: include_once() [function.include]: Failed opening '/head.php' for inclusion (include_path='.:/usr/lib/php/pear') in /web/home/ssingah/html/index.html on line 5
이렇게 에러가 뜨더라구요ㅠㅠ
드림위버 맨위상단에
<?
$g4_path="html/gnuboard4.utf8";
include_once("./_common.php");
include_once("$g4[path]/lib/latest.skin.php");
include_once("$g4[path]/head.php");
?>
이렇게 적어주었고 에러문을 보면 대충 (/lib/latest.lib.php) 이파일을 못찾는다고 하는건가요?ㅠㅠ
알ftp를 보면 /html/gnuboard4.utf8/lib 여기에 저 latest.lib.php파일이 들어있더라구요ㅠ
어떻게 수정해주면 될까요?ㅠㅠ
밑에 최신글 들어갈곳에는
<?=latest("basic6_naver", 'free', 5, 20);?>
이렇게 써주면 맞는건가요? 저 free부분에 테이블이름을 쓰는건지 게시판제목을쓰는건지도
헷갈리더라구요ㅠ
Fatal error: Call to undefined function latest() in /web/home/ssingah/html/index.html on line 79
이렇게 에러가 뜨더라구요ㅠㅠ
다른분의 답변에 $g4_path="html/gnuboard4.utf8"; 이부분을 삭제하고 해보라고하셔서
그렇게 해봤는데도 안되더라구요 어떻게 수정하면될까요?ㅠㅠ
게시판은 그누보드를 쓰고있고 테이블이름은 gesi 게시판제목은 공지사항 입니다
홈페이지 상단에
Warning: include_once(/lib/latest.lib.php) [function.include-once]: failed to open stream: No such file or directory in /web/home/ssingah/html/_common.php on line 3
Warning: include_once() [function.include]: Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/usr/lib/php/pear') in /web/home/ssingah/html/_common.php on line 3
Warning: include_once(/lib/latest.skin.php) [function.include-once]: failed to open stream: No such file or directory in /web/home/ssingah/html/index.html on line 4
Warning: include_once() [function.include]: Failed opening '/lib/latest.skin.php' for inclusion (include_path='.:/usr/lib/php/pear') in /web/home/ssingah/html/index.html on line 4
Warning: include_once(/head.php) [function.include-once]: failed to open stream: No such file or directory in /web/home/ssingah/html/index.html on line 5
Warning: include_once() [function.include]: Failed opening '/head.php' for inclusion (include_path='.:/usr/lib/php/pear') in /web/home/ssingah/html/index.html on line 5
이렇게 에러가 뜨더라구요ㅠㅠ
드림위버 맨위상단에
<?
$g4_path="html/gnuboard4.utf8";
include_once("./_common.php");
include_once("$g4[path]/lib/latest.skin.php");
include_once("$g4[path]/head.php");
?>
이렇게 적어주었고 에러문을 보면 대충 (/lib/latest.lib.php) 이파일을 못찾는다고 하는건가요?ㅠㅠ
알ftp를 보면 /html/gnuboard4.utf8/lib 여기에 저 latest.lib.php파일이 들어있더라구요ㅠ
어떻게 수정해주면 될까요?ㅠㅠ
밑에 최신글 들어갈곳에는
<?=latest("basic6_naver", 'free', 5, 20);?>
이렇게 써주면 맞는건가요? 저 free부분에 테이블이름을 쓰는건지 게시판제목을쓰는건지도
헷갈리더라구요ㅠ
Fatal error: Call to undefined function latest() in /web/home/ssingah/html/index.html on line 79
이렇게 에러가 뜨더라구요ㅠㅠ
다른분의 답변에 $g4_path="html/gnuboard4.utf8"; 이부분을 삭제하고 해보라고하셔서
그렇게 해봤는데도 안되더라구요 어떻게 수정하면될까요?ㅠㅠ
댓글 전체
$g4_path="html/gnuboard4.utf8";
include_once("./_common.php");
include_once("$g4[path]/lib/latest.skin.php");
include_once("$g4[path]/_head.php");
//현재 파일상 _head.php --- > head.php로 가니 위에처럼 안했다면 그냥 head.php로~쓰셔도됨
이걸 밑에 걸로 변경하세요
스킨파일 lib파일에 올라갔네요
include_once("./_common.php");
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/latest.lib.php");
include_once("$g4[path]/head.php");
include_once("./_common.php");
include_once("$g4[path]/lib/latest.skin.php");
include_once("$g4[path]/_head.php");
//현재 파일상 _head.php --- > head.php로 가니 위에처럼 안했다면 그냥 head.php로~쓰셔도됨
이걸 밑에 걸로 변경하세요
스킨파일 lib파일에 올라갔네요
include_once("./_common.php");
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/latest.lib.php");
include_once("$g4[path]/head.php");