최근게시물 추출,,,

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
|

댓글 8개

include_once("./gnuboard4/common.php");
그렇게하니까
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
이렇게 나와요 ㅠ
include_once("./common.php");
나모에 이렇게 하니
<?
$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
이렇게 나옵니다 ㅠㅠㅠ
저도 잘은 모르는데 경로 문제가 확실합니다만..
$g4_path="./gnuboard4";
include_once("./common.php");
똑같아요 ㅠㅠ
지금 경로가 어떻게 되어있는지는 잘 모르겠지만.

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

이렇게만 썻습니다.
댓글을 작성하시려면 로그인이 필요합니다. 로그인

그누4 질문답변

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

+
제목 글쓴이 날짜 조회
13년 전 조회 1,608
13년 전 조회 957
13년 전 조회 1,343
13년 전 조회 2,409
13년 전 조회 1,033
13년 전 조회 1,516
13년 전 조회 957
13년 전 조회 968
13년 전 조회 910
13년 전 조회 1,544
13년 전 조회 821
13년 전 조회 770
13년 전 조회 1,603
13년 전 조회 1,326
13년 전 조회 852
13년 전 조회 2,183
13년 전 조회 1,155
13년 전 조회 1,294
13년 전 조회 1,013
13년 전 조회 1,283
🐛 버그신고