최근게시물 추출,,, > 그누4 질문답변

그누4 질문답변

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

최근게시물 추출,,, 정보

최근게시물 추출,,,

본문

Html에 사입한태그
<?
$g4_path="../gnuboard4";
include_once("../gnuboard4/common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>

<?=latest("basic", "pds", 5, 70);?>
<html>
<head>
<meta name="GENERATOR" content="Namo WebEditor v6.0">
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>제목 없음</title>
</head>
<body>

<p>&nbsp;</p>
</body>
</html>
이후 FTP: www/에 업로드해서 열어봤는데 아래와 같은 에러가나더라구요,,,
어느부분을 수정해야될지 몰라서올립니다~

Warning: include_once(../gnuboard4/common.php) [function.include-once]: failed to open stream: No such file or directory in /home2/concrete71/www/test1.htm on line 3

Warning: include_once() [function.include]: Failed opening '../gnuboard4/common.php' for inclusion (include_path='.:/usr/share/pear') in /home2/concrete71/www/test1.htm on line 3

Warning: include_once(/lib/latest.lib.php) [function.include-once]: failed to open stream: No such file or directory in /home2/concrete71/www/test1.htm on line 4

Warning: include_once() [function.include]: Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/usr/share/pear') in /home2/concrete71/www/test1.htm on line 4

Fatal error: Call to undefined function latest() in /home2/concrete71/www/test1.htm on line 7

댓글 전체

그렇게하니까
Warning: include_once(./gnuboard4/common.php) [function.include-once]: failed to open stream: No such file or directory in /home2/concrete71/www/gnuboard4/test1.htm on line 3

Warning: include_once() [function.include]: Failed opening './gnuboard4/common.php' for inclusion (include_path='.:/usr/share/pear') in /home2/concrete71/www/gnuboard4/test1.htm on line 3

Warning: include_once(/lib/latest.lib.php) [function.include-once]: failed to open stream: No such file or directory in /home2/concrete71/www/gnuboard4/test1.htm on line 4

Warning: include_once() [function.include]: Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/usr/share/pear') in /home2/concrete71/www/gnuboard4/test1.htm on line 4

Fatal error: Call to undefined function latest() in /home2/concrete71/www/gnuboard4/test1.htm on line 7
이렇게 나와요 ㅠ
나모에 이렇게 하니
<?
$g4_path="../gnuboard4";
include_once("./common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>

<?=latest("basic", "psd", 5, 70);?>
<html>
<head>
<meta name="GENERATOR" content="Namo WebEditor v6.0">
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>제목 없음</title>
</head>
<body>

<p>&nbsp;</p>
</body>
</html>
----------------------------------------------------------------------------
Warning: include_once(./gnuboard4/common.php) [function.include-once]: failed to open stream: No such file or directory in /home2/concrete71/www/gnuboard4/test1.htm on line 3

Warning: include_once() [function.include]: Failed opening './gnuboard4/common.php' for inclusion (include_path='.:/usr/share/pear') in /home2/concrete71/www/gnuboard4/test1.htm on line 3

Warning: include_once(/lib/latest.lib.php) [function.include-once]: failed to open stream: No such file or directory in /home2/concrete71/www/gnuboard4/test1.htm on line 4

Warning: include_once() [function.include]: Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/usr/share/pear') in /home2/concrete71/www/gnuboard4/test1.htm on line 4

Fatal error: Call to undefined function latest() in /home2/concrete71/www/gnuboard4/test1.htm on line 7
이렇게 나옵니다 ㅠㅠㅠ
지금 경로가 어떻게 되어있는지는 잘 모르겠지만.

아무것도 없는 ftp서버에 그누보드를 설치한 저는
<?
include_once("./common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>

이렇게만 썻습니다.
전체 66,554 |RSS
그누4 질문답변 내용 검색

회원로그인

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