메인화면 오류 문제인데요... > 그누4 질문답변

그누4 질문답변

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

메인화면 오류 문제인데요... 정보

메인화면 오류 문제인데요...

본문

그누보드4 패치후  영카트 몰 메인화면이 아닌  그누보드 메인이나와서
 
예전 백업해둔 index.php 와 head.php 를 다시 덮어쓰기 했습니다..
 
 
 
하단에 에러메세지가 뜨네요...
 
 
select * from g4_write_free where wr_is_comment = 0 order by wr_id desc limit 0, 5
1146 : Table 'shenhe_co_kr.g4_write_free' doesn't exist
error file : /index.php
 
 
 
 
그누보드 4.08.00 패치 했습니다.
 
 
 
index.php
 
 
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
$g4[title] = "";
include_once("$g4[path]/head.php");
?>
<script language="JavaScript" src="<?=$g4[path]?>/js/shop.js"></script>
<table width=100% cellpadding=0 cellspacing=0>
<tr>
    <td valign=top>
        <img src='<?=$g4[path]?>/data/common/main_img' border=0><br><br>
        <table width=100% cellpadding=0 cellspacing=0>
        <tr>
            <td colspan=2>
                <?
                // 히트상품
                $type = 1;
                if ($default["de_type{$type}_list_use"])
                {
                    echo "<a href='$g4[shop_path]/listtype.php?type={$type}'><img src='$g4[shop_img_path]/bar_type{$type}.gif' border=0></a><br>";
                    $type = 1;
                    display_type($type, $default["de_type{$type}_list_skin"], $default["de_type{$type}_list_mod"], $default["de_type{$type}_list_row"], $default["de_type{$type}_img_width"], $default["de_type{$type}_img_height"]);
                }
                ?>
            </td>
        </tr>
        <tr><td colspan=2 height=20></td></tr>
        <tr>
            <td colspan=2>
                <?
                // 추천상품
                $type = 2;
                if ($default["de_type{$type}_list_use"])
                {
                    echo "<a href='$g4[shop_path]/listtype.php?type={$type}'><img src='$g4[shop_img_path]/bar_type{$type}.gif' border=0></a><br>";
                    display_type($type, $default["de_type{$type}_list_skin"], $default["de_type{$type}_list_mod"], $default["de_type{$type}_list_row"], $default["de_type{$type}_img_width"], $default["de_type{$type}_img_height"]);
                }
                ?>
            </td>
        </tr>
        <tr><td colspan=2 height=20></td></tr>
        <tr>
            <td colspan=2>
                <?
                // 인기상품
                $type = 4;
                if ($default["de_type{$type}_list_use"])
                {
                    echo "<a href='$g4[shop_path]/listtype.php?type={$type}'><img src='$g4[shop_img_path]/bar_type{$type}.gif' border=0></a><br>";
                    display_type($type, $default["de_type{$type}_list_skin"], $default["de_type{$type}_list_mod"], $default["de_type{$type}_list_row"], $default["de_type{$type}_img_width"], $default["de_type{$type}_img_height"]);
                }
                ?>
            </td>
        </tr>
        <tr><td colspan=2 height=20></td></tr>
        <tr>
            <td colspan=2>
                <?
                // 할인상품
                $type = 5;
                if ($default["de_type{$type}_list_use"])
                {
                    echo "<a href='$g4[shop_path]/listtype.php?type={$type}'><img src='$g4[shop_img_path]/bar_type{$type}.gif' border=0></a><br>";
                    display_type($type, $default["de_type{$type}_list_skin"], $default["de_type{$type}_list_mod"], $default["de_type{$type}_list_row"], $default["de_type{$type}_img_width"], $default["de_type{$type}_img_height"]);
                }
                ?>
            </td>
        </tr>
        <tr><td colspan=2 height=20></td></tr>
        <tr>
            <td valign=top width=50% align=center>
                <table width=95% cellpadding=0 cellspacing=0>
                <tr><td><?=latest('basic', 'qa', 5, 30);?></td></tr>
                </table></td>
            <td valign=top width=50% align=center>
                <table width=95% cellpadding=0 cellspacing=0>
                <tr><td><?=latest('basic', 'free', 5, 30);?></td></tr>
                </table></td>
            </tr>
        </table>
    </td>
    <td valign=top>
  <!-- 공지사항 -->
        <table width=177 bgcolor=#DEDEDE cellpadding=1 cellspacing=0>
        <tr><td align=center>
            <table cellpadding=0 cellspacing=0 bgcolor=#FFFFFF height=97>
            <tr><td height=28><a href='<?=$g4[bbs_path]?>/board.php?bo_table=notice'><img src='<?=$g4[shop_img_path]?>/bar_notice.gif' border=0></a></td></tr>
            <tr>
                <td><?=latest('shop_notice', 'notice', 3, 25);?></td>
            </tr>
            </table>
        </td></tr>
        </table><BR>
        <?
        // 최신상품
        $type = 3;
        if ($default["de_type{$type}_list_use"])
        {
            echo "<a href='$g4[shop_path]/listtype.php?type={$type}'><img src='$g4[shop_img_path]/bar_type{$type}.gif' border=0></a><br>";
            display_type($type, $default["de_type{$type}_list_skin"], $default["de_type{$type}_list_mod"], $default["de_type{$type}_list_row"], $default["de_type{$type}_img_width"], $default["de_type{$type}_img_height"]);
        }
        ?><br><br>
  <!-- 온라인 투표 -->
        <?=poll('shop_poll');?><br>
  <!-- 방문자 수 -->
        <?=visit('shop_visit');?><br>
  <!-- 메인 배너 -->
        <?=display_banner('메인');?><br>
 </td>
</tr>
</table>
<BR><BR>
<?
include "$g4[shop_path]/newwin.inc.php"; // 새창띄우기
include_once("$g4[path]/tail.php");
?>
 
===========================================================================================
 
 
head.php
 
 
 
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/outlogin.lib.php");
include_once("$g4[path]/lib/poll.lib.php");
include_once("$g4[path]/lib/visit.lib.php");
include_once("$g4[path]/lib/connect.lib.php");
include_once("$g4[path]/lib/popular.lib.php");
//print_r2(get_defined_constants());
// 사용자 화면 상단과 좌측을 담당하는 페이지입니다.
// 상단, 좌측 화면을 꾸미려면 이 파일을 수정합니다.
$table_width = 970;
?>
<style>
.amount { color:#2266BB; font-weight:bold; font-family:Verdana; }
.c1 { background-color:#94D7E7; }
.c2 { background-color:#E7F3F7; }
</style>
<table align=center width='<?=$table_width?>' cellpadding=0 cellspacing=0 border=0>
<tr><td colspan=2 height=4 bgcolor=#DCDCDB></td></tr>
<tr>
    <td rowspan=2 align=left width=200 height=60><a href='<?=$g4[path]?>/'><img src='<?=$g4[path]?>/img/logo_img.jpg' border=0></a></td>
    <td align=right class=small>
       
        <? if ($is_member) { ?>
        <a href='<?=$g4[bbs_path]?>/logout.php'>로그아웃</a> |
        <a href='<?=$g4[bbs_path]?>/member_confirm.php?url=register_form.php'>정보수정</a> |
        <? } else { ?>
        <a href='<?=$g4[bbs_path]?>/login.php?url=<?=$urlencode?>'>로그인</a> |
        <a href='<?=$g4[bbs_path]?>/register.php'>회원가입</a> |
        <? } ?>
        <a href='<?=$g4[shop_path]?>/cart.php'>장바구니<span class=small>(<?=get_cart_count(get_session('ss_on_uid'));?>)</span></a> |
        <a href='<?=$g4[shop_path]?>/orderinquiry.php'>주문조회</a> |
        <a href='<?=$g4[shop_path]?>/onlinecalc.php'>온라인견적</a> |
        <a href='<?=$g4[shop_path]?>/faq.php'>FAQ</a> |
        <a href='<?=$g4[shop_path]?>/mypage.php'>마이페이지</a> 
    </td>
</tr>
<!-- 검색 시작 -->
<form name=frmsearch1 action="<?=$g4[shop_path]?>/search.php">
<tr>
    <td colspan=2 align=right height=30>
        <input type=text name=search_str class='ed' value='<?=stripslashes(get_text($search_str))?>'>
        <input type=image src='<?=$g4[path]?>/img/btn_search.gif' border=0 align=absmiddle> 
    </td>
</tr>
</form>
<!-- 검색 끝 -->
<tr><td colspan=2 height=1 bgcolor=#DCDCDC></td></tr>
<tr><td colspan=2 height=5></td></tr>
</table>
<table align=center width='<?=$table_width?>' cellpadding=0 cellspacing=0 border=0>
<tr>
    <td align=center valign=top width=185>
        <?=outlogin("shop_outlogin"); // 외부 로그인 ?>
        <br>
  <!-- 상품분류 -->
        <table bgcolor=#CCCCCC width=185 cellpadding=1 cellspacing=0>
        <tr><td><?include_once("$g4[shop_path]/boxcategory.inc.php");?></td></tr>
        </table><br>

  <!-- 이벤트 -->
        <table bgcolor=#CCCCCC width=185 cellpadding=1 cellspacing=0>
        <tr><td><?include_once("$g4[shop_path]/boxevent.inc.php");?></td></tr>
        </table><br>

  <!-- 커뮤니티 -->
        <table bgcolor=#CCCCCC width=185 cellpadding=1 cellspacing=0>
        <tr><td><?include_once("$g4[shop_path]/boxcommunity.inc.php");?></td></tr>
        </table><br>

  <!-- 장바구니 -->
        <table cellpadding=1 cellspacing=0 bgcolor=#D2D2D2>
        <tr><td><?include_once("$g4[shop_path]/boxcart.inc.php");?></td></tr>
        </table><br>

  <!-- 보관함 -->
        <table cellpadding=1 cellspacing=0 bgcolor=#D2D2D2>
        <tr><td><?include_once("$g4[shop_path]/boxwish.inc.php");?></td></tr>
        </table><br>

  <!-- 왼쪽 배너 -->
        <?=display_banner('왼쪽');?><br>
    </td>
    <td width=5></td>
    <td valign=top width='<?=((int)$table_width-190)?>'>
       
======================================================================================================
 
이렇게 되어있습니다..  어떤 문제 인가요..?
 
 
 

댓글 전체

현재 작업하고 계신 사이트 주소가 에러메시지에 상세히 표현되어 있어서 찾아들어가봤습니다.

보드테이블 중에 talk 게시판이 존재하지 않는 게시판이라네요..

관리자메뉴 들어가셔셔 free게시판 정확한 이름이 무엇인지 확인해보세요.
답변 너무 감사합니다~~~

아 게시판 하나를 삭제한후에 덮어써서 그런가보군요...

그럼 게시판이름을 삭제되기전과 같이 만들어주면 되는건가요?

그런 후에 삭제를 하면 ... ^^;; 워낙 초보라.. 질문하기가 죄송스럽네요...
전체 66,554 |RSS
그누4 질문답변 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1402호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT