테스트 사이트 - 개발 중인 베타 버전입니다

최근게시물 오류문제

· 13년 전 · 1417 · 3
Fatal error: Call to undefined function latest() in /www/garakkim/public_html/gun/tema/foot01.php on line 150

그누보드를 처음 사용합니다
최근게시물을 뽑으려하는데 위와같은 오류가나네요
어떤오류인지 고스님들의 도움을 청합니다

댓글 작성

댓글을 작성하시려면 로그인이 필요합니다.

로그인하기

댓글 3개

/www/garakkim/public_html/gun/tema/foot01.php 파일 150째 줄에 있는 함수
latest()가 정상적으로 정의 되지 않아서 입니다.
latest함수가 있는 위치를 찾아서 맞춰 주시면 됩니다.
include_once("$g4[path]/lib/latest.lib.php");를 추가하세요
참 어렵네요
제로보드 사용하다 그누보드 사용해보려고 홈페이지 만드는중인데
질답게시판에 나와 비슷한 질문답변들을 살펴봐도 뭐가뭔지 모르겠네요
메뉴얼을 봐도 무슨소리인지 감이 안잡히구요
아마도 제로보드에 절대경로 상대경로 지정문제와 비슷한것 같은데 그누보드의 근본적인 개념잡기가 너무 힘듬니다
위 답변중 latest함수가 있는 위치를 찾아서 맞춰 주시면 됩니다. 이말이 무슨뜻인지 모르겠구요
include_once("$g4[path]/lib/latest.lib.php");를 추가하세요 이것을 어디다 어떤게 추가하는지도 모르겠습니다
대충 head.php 상단에
<?
include_once("$g4[path]/lib/latest.lib.php");
?>
이렇게 추가해봐는데
Warning: include_once(/lib/latest.lib.php) [function.include-once]: failed to open stream: No such file or directory in /www/garakkim/public_html/gun/tema/head01.php on line 3

Warning: include_once() [function.include]: Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/usr/local/php/lib/php') in /www/garakkim/public_html/gun/tema/head01.php on line 3
---------------

Fatal error: Call to undefined function latest() in /www/garakkim/public_html/gun/tema/foot01.php on line 150

이런오류가나네요
150번째 줄은 <?=latest("basic", "pop", 5, 60); ?> 이렇게 지정을 했습니다

게시글 목록

번호 제목
284508
284499
284492
284490
284484
284481
284478
284476
284474
284472
284470
284458
284457
284454
284453
284447
284446
284444
284441
284440