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

최신글 출력 질문드립니다. ㅠㅠ 채택완료

배짱킴 9년 전 조회 2,094

저는 그누보드를 게시판을 이용합니다.

html 코딩 한다음에 게시판 넣을 사이트에 iframe 으로 게시판을 뿌려주는 형식으로 사용하고 있습니다.

이렇게 소스를 넣으니

 

<?php include_once('gnuboard5.1.7/_common.php');?>


<div style="width:280px; height:167px; float:left;">

  <?php echo latest('basic', 'board01', 5, 30); ?>

</div>

<div style="width:460px; height:167px; float:left;">게시판 준비중입니다.</div>

<div style="width:260px; height:167px; float:left;">게시판 준비중입니다.</div>


이런에러까 뜨네요 ㅠㅠ 무슨에러인지 감이 안오네요 ㅠㅠ 왜 이런거죠??

Warning: include_once(./common.php) [http://dongahebs.infodu.co.kr/function.include-once" style="color: rgb(34, 34, 34); text-decoration: none; font-family: NanumGothicWeb, 돋움, Dotum, Segoe, 'Segoe UI', Verdana, arial; font-size: 12px; line-height: 18px;">function.include-once]: failed to open stream: No such file or directory in/home/hosting_users/infodu_dongahebs/www/gnuboard5.1.7/_common.php on line 2

Warning: include_once() [http://dongahebs.infodu.co.kr/function.include" style="color: rgb(34, 34, 34); text-decoration: none; font-family: NanumGothicWeb, 돋움, Dotum, Segoe, 'Segoe UI', Verdana, arial; font-size: 12px; line-height: 18px;">function.include]: Failed opening './common.php' for inclusion (include_path='.:/usr/local/lib/php') in/home/hosting_users/infodu_dongahebs/www/gnuboard5.1.7/_common.php on line 2 


Fatal error: Call to undefined function latest() in/home/hosting_users/infodu_dongahebs/www/main_contents.phpon line 4

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

답변 1개

채택된 답변
+20 포인트

_common.php 파일 include가 잘못된 듯합니다.

설치하신 경로랑 디렉토리 구조를 알 수가 없어서 정확하게 말씀을 못 드리겠네요.

 

<?php include_once('gnuboard5.1.7/_common.php');?>

저 부분 빼고 사용해 보세요. 

로그인 후 평가할 수 있습니다

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

답변을 작성하려면 로그인이 필요합니다.

로그인