최근게시물 질문입니다. 정보
최근게시물 질문입니다.본문
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
그누보드는 기본 루트폴더에 있습니다.
인덱스 상단에
<?
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
댓글 전체
<?=latest("bada", "common_notice", 5, 80); ?>
폴더 skin->latest->bada 스킨이 있나요?
bada를 basic로 변경하시고 에러가 없으면 bada스킨에서 에러가 나는거에요
폴더 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"); 삭제해보세요
에러는 여기에서 시작 됐으니 head.php on line 2 에서 문제인 것 같습니다만
head.php에서 include_once("./_common.php"); 삭제해보세요