드림위버 메인 최근게시물 오류문제 > 그누4 질문답변

그누4 질문답변

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

드림위버 메인 최근게시물 오류문제 정보

드림위버 메인 최근게시물 오류문제

본문

오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.

오류 주소 :

드림위버로 홈페이지를 처음  만드는 초보자 입니다.
메인화면에 갤러리 게시판 최근게시물을 띄우고 싶은데 잘안됩니다.

아래와 같이 코드를 입력하였더니 오류가 납니다... 고수님들의 쉬운 답변 바랍니다.
<?
include_once("./_common.php");
include_once("$g4[path]/lib/letest.lib.php");

echo letest("basic","board",5,70);
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<title>무제 문서</title>
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background-image: url();
}
-->
</style></head>
<body>
<table width="951" height="50" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="201" height="50"><p align="center"><strong>삼정 컨테이너</strong></p>    </td>
    <td width="200"><div align="center"><a href="http://samhouse.co.kr/board/adm/board_list.php">계시판 관리자</a> </div></td>
    <td width="84"><div align="center"><a href="http://samhouse.co.kr">홈</a></div></td>
    <td width="97"><div align="center"><a href="/housetype.htm?bo_table=3">중고장터</a></div></td>
    <td width="97"><div align="center"><a href="http://samhouse.co.kr/gnuboard4/bbs/board.php?bo_table=1&page=" target="_top">제품소개</a></div></td>
    <td width="272"><div align="center"><a href="http://samhouse.co.kr/board/bbs/board.php?bo_table=1">계시판</a></div></td>
  </tr>
</table>
<table width="897" height="408" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="200" height="408"><table width="200" height="323" border="0" align="left" cellpadding="0" cellspacing="0">
      <tr>
        <td width="201"><div align="center">테스트1</div></td>
      </tr>
      <tr>
        <td><p align="center"><a href="http://samhouse.co.kr/board/bbs/board.php?bo_table=1" target="_blank">T2</a></p></td>
      </tr>
      <tr>
        <td><div align="center"><a href="http://samhouse.co.kr/board/bbs/board.php?bo_table=1" target="_blank">T3</a></div></td>
      </tr>
      <tr>
        <td><div align="center"><a href="http://samhouse.co.kr/board/bbs/board.php?bo_table=1" target="_blank">T4</a></div></td>
      </tr>
    </table>     
      <div align="left"></div>
      <div align="left"></div>
    <p align="center">&nbsp;</p>    </td>
    <td width="696"><a href="http://samhouse.co.kr/board/bbs/board.php?bo_table=1"></a>
      <table width="700" height="397" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td>&nbsp;</td>
        </tr><tr>
          <td>&nbsp;</td></tr>
      </table></td>
  </tr>
</table>
<p><p>&nbsp;</p>
</body>
</html>


오류내용................

Warning: main(./_common.php) [function.main]: failed to open stream: No such file or directory in /home/hosting_users/onenet1/www/index.htm on line 4

Warning: main() [function.include]: Failed opening './_common.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/onenet1/www/index.htm on line 4

Warning: main(/lib/letest.lib.php) [function.main]: failed to open stream: No such file or directory in /home/hosting_users/onenet1/www/index.htm on line 5

Warning: main() [function.include]: Failed opening '/lib/letest.lib.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/onenet1/www/index.htm on line 5

Fatal error: Call to undefined function: letest() in /home/hosting_users/onenet1/www/index.htm on line 7
  • 복사

댓글 전체

include_once("$g4[path]/lib/letest.lib.php");
====>
include_once("$g4[path]/lib/latest.lib.php");
철자가 틀렸네요. 그래서 제대로 불러오지 못했습니다.
헌데 최근 게시물 위치가..;; 여튼 제대로 불러오시면 적당한곳에 넣으시면 되니.
철자가 어디 틀렸는지는 잘모르겠습니다.....
조그만 더 자세히 설명부탁드립니다...
_common.php 파일은 그누보드가 설치된 폴더에 있는데 따로 가져다가
다른폴더로 이동시켜야 하나요...??
제가 완전 초보라 잘몰라서요....
화살표 아래부분이 수정본인디요.
letest 가 아니라 latest 라고 수정해드렸는데..;;;

흠.. 역시 루트에 설치하신게 아니라 서브 폴더에 설치하셨나보네요.
그럼 이런 팁을 적용하시어서 위치 잡아주시면됩니다.
http://sir.co.kr/bbs/tb.php/g4_tiptech/9126/c5a513efeb029284221d39ee5c60eebc

활용팁에서 찾아보시면 관련 팁으로 여러개 더 올라와 있습니다.
위 내용이 잘안되시면 다른 팁을 찾아보세용~
© SIRSOFT
현재 페이지 제일 처음으로