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

상품유형 추가하는 법? 채택완료

이미나라 11년 전 조회 4,123

히트상품 같은 상품유형을 몇개 추가하려고 하는데요,

http://sir.co.kr/qa/?wr_id=30992#answer_31061">http://sir.co.kr/qa/?wr_id=30992#answer_31061

여기 적어주신대로 수정을 해봤어요.

 

de_type6_list_use부터 de_type6_img_height까지 총 6개 필드 추가했고, 타입같은 것도 기존꺼랑 맞춰서 수정했구요.
itemform.php, itemformupdate.php, configformupdate.php, configform.php에도 추가 및 수정을 했고,

마지막으로 index.php에

 

</p><p><?php if($default['de_type6_list_use']) { ?>
<?php } ?>
<section class="sct_wrap">
    <header>
        <h2><a href="<?php echo G5_SHOP_URL; ?>/listtype.php?type=6">시스템 다이어리</a></h2>
        <p class="sct_wrap_hdesc"><?php echo $config['cf_title']; ?> 시스템 다이어리 모음</p>
    </header>
    <?php
    $list = new item_list();
    $list->set_type(6);
    $list->set_view('it_id', false);
    $list->set_view('it_name', true);
    $list->set_view('it_basic', true);
    $list->set_view('it_cust_price', true);
    $list->set_view('it_price', true);
    $list->set_view('it_icon', true);
    $list->set_view('sns', true);
    echo $list->run();
    ?>
</section>
<!-- } 시스템 다이어리 끝 -->
<?php } ?>​</p><p>

 

 

이렇게 추가를 했더니


1054 : Unknown column 'it_type6' in 'where clause'
error file : /~iminara/index.php


이런 에러 메시지가 뜹니다.
어디를 더 손 봐야 하는 걸까요?​

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

답변 1개

채택된 답변
+20 포인트
11년 전
it_type6 이 필드를 생성해 주어야 합니다
로그인 후 평가할 수 있습니다

답변에 대한 댓글 1개

이미나라
11년 전
아....! 정말 감사합니다 ㅠㅠ

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

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

로그인