최근게시물 에러

에러 사항
--------------------------
Warning: include_once(/lib/latest.lib.php) [function.include-once]: failed to open stream: No such file or directory in /home/hosting_users/ffyalli/www/linker/main.php on line 4

Warning: include_once() [function.include]: Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/ffyalli/www/linker/main.php on line 4

--------------------------
Fatal error: Call to undefined function latest() in /home/hosting_users/ffyalli/www/linker/main.php on line 20
--------------------------
--------------------------



소스
--------------------------
<?
$g4_path="../gnuboard4";
include_once("../gnuboard4/common.php");
include_once("$g4_path/lib/latest.lib.php");
?>

<?=latest("basic1", "notice", 5, 70)?>
--------------------------


폴더 경로
--------------------------
WWW
├-gnuboard4(그누보드 폴더)
└-linker(인덱스 및 최근 게시물이 포함된 페이지 php)
--------------------------

이렇게 되었습니다.
최근게시물이 그누보드 폴더 안족에서는 되는데,
다른폴더에서는 안되요.

경로문제인것같은데 해결책을 모르겠습니다.
도와주세요.
|

댓글 1개

include_once($g4['path'].'/lib/latest.lib.php');

위와 같이 호출해보세요~
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

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

+
제목 글쓴이 날짜 조회
13년 전 조회 778
13년 전 조회 495
13년 전 조회 1,539
13년 전 조회 966
13년 전 조회 854
13년 전 조회 2,314
13년 전 조회 816
13년 전 조회 978
13년 전 조회 1,895
13년 전 조회 863
13년 전 조회 1,014
13년 전 조회 1,271
13년 전 조회 778
13년 전 조회 1,348
13년 전 조회 1,696
13년 전 조회 806
13년 전 조회 1,580
13년 전 조회 981
13년 전 조회 1,078
13년 전 조회 1,558