박

그누보드 초보 외부 추출 게시물 질문이요!!

· 2012-01-02 (월) 16:43:57 · 1005 · 3
오늘 그누보드 다운받고 이것저것 해보고 있는데요..

일단 드림위버로 index.html을 만들었는데요 그누보드 깔면 index.php가 있잖아요

그 index.php에 원래 만들었던 디자인을 덮어서 연습중인데요..

상단에

<?
include_once("./_common.php");
include_once("$g4[path]/lib/outlogin.lib.php");
include_once("$g4[path]/lib/latest.lib.php");

$g4['title'] = "";
include_once("./_head.php");
?>
<table width="960" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><?=outlogin("basic")?></td>
</tr>
</table>
<table width="960" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><?=latest("basic", "test", 5, 70);?></td>
</tr>
</table>
<table width="960" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="images/brand_04.gif" width="960" height="801" /></td>
</tr>
</table>
<?
include_once("./_tail.php");
?>

이렇게 코드 넣어서 메인 출력할려고 하는데 로그인까지는 되는데 최근게시물 추출부분에서 자꾸 에러가 나네요..ㅠ.ㅠ

select * from g4_write_test where wr_is_comment = 0 order by wr_num limit 0, 5
1146 : Table 'appletr.g4_write_test' doesn't exist
error file : /index.php

이런 메세지가 뜨는데

어떤 부분이 잘못된건가요??
|

댓글 3개

test 라는 id(bo_table)를 가진 게시판이 없다는 뜻입니다.
2012-01-02 (월) 16:49:55
Test 라는 게시판이 있는가 보세요 테이블이 없을때 나는 에러갔습니다
아고..ㅠ.ㅠ 감사합니다..바보같은 실수를 그만..댓글 감사드립니다.
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

66,531건

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

+
제목 글쓴이 날짜 조회
12-01-02 조회 851
12-01-02 조회 2,537
12-01-02 조회 1,052
12-01-02 조회 899
12-01-02 조회 874
12-01-02 조회 1,006
12-01-02 조회 878
12-01-02 조회 1,137
12-01-02 조회 879
12-01-02 조회 1,248
12-01-02 조회 994
12-01-02 조회 1,240
12-01-02 조회 1,267
12-01-01 조회 1,181
12-01-01 조회 1,618
12-01-01 조회 1,225
12-01-01 조회 1,267
12-01-01 조회 892
12-01-01 조회 1,981
12-01-01 조회 1,688