정말급합니다. 도와주세요 > 그누4 질문답변

그누4 질문답변

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

정말급합니다. 도와주세요 정보

정말급합니다. 도와주세요

본문

정말 급합니다.
 
그누보드에서 최근글을 메인에서 보이게 하는 것과 갤러리포함입니다.
 
방문자 를 실시간으로 보이게 하는 방법 좀 알려 줘요..
 
조보가 헤메고 있습니다.
 
고수님 부탁해요..
 
쉽게요..
 
감사합니다.,
  • 복사

댓글 전체

Warning: main(./_common.php) [function.main]: failed to open stream: No such file or directory in /web/home/wawait/html/index1.php on line 2

Warning: main() [function.include]: Failed opening './_common.php' for inclusion (include_path='.:/usr/lib/php/pear') in /web/home/wawait/html/index1.php on line 2

Warning: main(/lib/latest.lib.php) [function.main]: failed to open stream: No such file or directory in /web/home/wawait/html/index1.php on line 3

Warning: main() [function.include]: Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/usr/lib/php/pear') in /web/home/wawait/html/index1.php on line 3

Fatal error: Call to undefined function latest() in /web/home/wawait/html/index1.php on line 4

index.php(소스)

<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php"); // latest() 함수를 사용하여야 하므로 이 프로그램을 포함시킵니다.
echo latest("editer", "itplusnet", 5, 70); // basic 스킨으로 free 라는 게시판을 출력합니다.
?>

<table border="1" width="971">
    <tr>
        <td width="961">&nbsp;</td>
    </tr>
</table>
<p><?=latest("pdca_ha5", "itplusnet", 5, 20)?></p>

이렇게 했습니다.
뭐가 잘못된는지 도저히..
아직 초보라서요..
위에 에러로 봐서는 _common.php 파일하고 latest.lib.php 파일의 경로가 잘못 됬거나 아님
실제 존재 하지 않기 때문에 생기는 에러 인데 함 파일이 정확하게  올라가 잇는지 확인 하셔야
될것 같네요

보통의 경로라면 틀린것은 없는것 같은데 함 해당파일이 서버에 정확하게 올라가 있는지 확인 하셔야 할 듯 합니다.

그리고 최신글 함수 들어가 부분이 좀 위치가 잘 못 된것 같은데요

보통 테이블만들면 <table><tr><td>최신글 함수 </td></tr></table>

최신글 호출 함수는 보통 <td></td> 이 사이에 들어가는게 정상 아닌가요
© SIRSOFT
현재 페이지 제일 처음으로