월

최근게시물 에러

에러 사항
--------------------------
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 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
12-05-07 조회 1,071
12-05-07 조회 1,733
12-05-07 조회 881
12-05-07 조회 587
12-05-07 조회 1,629
12-05-07 조회 1,047
12-05-07 조회 935
12-05-07 조회 2,403
12-05-07 조회 900
12-05-07 조회 1,057
12-05-07 조회 1,994
12-05-06 조회 950
12-05-06 조회 1,103
12-05-06 조회 1,361
12-05-06 조회 891
12-05-06 조회 1,436
12-05-06 조회 1,791
12-05-06 조회 902
12-05-06 조회 1,680
12-05-06 조회 1,072