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

최근게시물 설정하는데 오류가 납니다.

· 13년 전 · 1484 · 5
답변주신대로 했는데 나타나지 않고 있습니다.

<?=latest("/gnuboard4/skin/latest/basic/latest.skin.php", "notice", 5, 35);?>

메인에 index.php 에 위에처럼 소스입력 했는데

아래처럼 오류메세지가 나옵니다.

Fatal error: Call to undefined function latest() in /www/ronaldo0223.godohosting.com/middle.php on line 48

최근게시물 폴더에 basic 라는 기본 최근게시물 스킨은 있습니다.
notice라는 공지사항 게시판도 글이 몇개 있구요.

맨위에 있는 소스 이외에 다른게 빠진건가요? 아니면 경로설정이 잘못된건가요???

댓글 작성

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

로그인하기

댓글 5개

최근글 불러오기전

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

인덱스 상단에 추가해주세요
13년 전
이렇게 나와요.... 괴발자님...

Warning: include_once() [function.include-once]: open_basedir restriction in effect. File(/lib/latest.lib.php) is not within the allowed path(s): (/tmp:/www/default/hosting_db:/www/jjong0223.godohosting.com) in /www/jjong0223.godohosting.com/index.php on line 16

Warning: include_once(/lib/latest.lib.php) [function.include-once]: failed to open stream: Operation not permitted in /www/jjong0223.godohosting.com/index.php on line 16

Warning: include_once() [function.include]: Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/usr/local/php/lib/php') in /www/jjong0223.godohosting.com/index.php on line 16
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
파일 처음에 윗 처럼 설정하시고 아래처럼 불러보세요.

<? echo latest("basic","notice", 5, 35); ?>
13년 전
이렇게 나와요.... 해바리님....

Warning: include_once(./_common.php) [function.include-once]: failed to open stream: No such file or directory in /www/jjong0223.godohosting.com/index.php on line 13

Warning: include_once() [function.include]: Failed opening './_common.php' for inclusion (include_path='.:/usr/local/php/lib/php') in /www/jjong0223.godohosting.com/index.php on line 13

Warning: include_once() [function.include-once]: open_basedir restriction in effect. File(/lib/latest.lib.php) is not within the allowed path(s): (/tmp:/www/default/hosting_db:/www/jjong0223.godohosting.com) in /www/jjong0223.godohosting.com/index.php on line 14

Warning: include_once(/lib/latest.lib.php) [function.include-once]: failed to open stream: Operation not permitted in /www/jjong0223.godohosting.com/index.php on line 14

Warning: include_once() [function.include]: Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/usr/local/php/lib/php') in /www/jjong0223.godohosting.com/index.php on line 14
호스팅 계정의 루트(www폴더 아래) 에 있는index.php 의 13 줄에 있는 '_common.php'
문서를 여느데 실패했는데, 파일이 없거나 디렉토리가 없다.. 입니다.

<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
이경로는 루트에 그누보드가 설치되었을 경우입니다.
_common.php 파일 경로를 확인하시고 바로 잡아주세요?
그부보드 설치경로를 확인해보세요.

게시글 목록

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