c

최근게시물 질문입니다.

index파일에 최근게시물을 뽑으려고 합니다.
그누보드는 기본 루트폴더에 있습니다.
인덱스 상단에
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");

?>
를 넣고

해당 출력부분<td>에
<?=latest("bada", "common_notice", 5, 80); ?>

이렇게 넣었더니
브라우저 상단에 아래와 같이 에러가 납니다.

Warning: include_once(./_common.php) [function.include-once]: failed to open stream: No such file or directory in /web/artme/www.artme.kr/head.php on line 2

Warning: include_once() [function.include]: Failed opening './_common.php' for inclusion (include_path='.:/usr/local/lib/php') in /web/artme/www.artme.kr/head.php on line 2

Warning: include_once(/lib/latest.lib.php) [function.include-once]: failed to open stream: No such file or directory in /web/artme/www.artme.kr/head.php on line 3

Warning: include_once() [function.include]: Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/usr/local/lib/php') in /web/artme/www.artme.kr/head.php on line 3

그리고 해당 출력부분에는 아래와 같이 에러가 납니다.


Fatal error: Call to undefined function latest() in /web/artme/www.artme.kr/body.php on line 17

댓글 2개

<?=latest("bada", "common_notice", 5, 80); ?>
폴더 skin->latest->bada 스킨이 있나요?
bada를 basic로 변경하시고 에러가 없으면 bada스킨에서 에러가 나는거에요
Warning: include_once(./_common.php) [function.include-once]: failed to open stream: No such file or directory in /web/artme/www.artme.kr/head.php on line 2
에러는 여기에서 시작 됐으니 head.php on line 2 에서 문제인 것 같습니다만

head.php에서 include_once("./_common.php"); 삭제해보세요
댓글을 작성하시려면 로그인이 필요합니다.

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

+
제목 글쓴이 날짜 조회
11-07-06 조회 1,096
11-07-06 조회 1,337
11-07-06 조회 1,730
11-07-06 조회 1,553
11-07-06 조회 1,404
11-07-06 조회 1,361
11-07-06 조회 1,101
11-07-06 조회 1,661
11-07-06 조회 1,742
11-07-06 조회 1,095
11-07-06 조회 898
11-07-06 조회 1,050
11-07-06 조회 1,074
11-07-06 조회 948
11-07-06 조회 1,107
11-07-06 조회 1,671
11-07-06 조회 1,675
11-07-06 조회 1,090
11-07-05 조회 1,282
11-07-05 조회 1,732