g4_memo_config db가 있어도 에러가 납니다. 정보
g4_memo_config db가 있어도 에러가 납니다.본문
아빠불당님 귀찮게 해서 죄송합니다. ㅠㅠ
제가 쓴 전글에 g4_memo_config 라는 db가 생성이 되지 않아서라 하셧는데 .. 있더라고요..
혹시 누락된 필드가 있어서 그런건가요??
전에 했던 질문입니다 http://sir.co.kr/bbs/board.php?bo_table=g4_pi_memo2&wr_id=1590
제가 쓴 전글에 g4_memo_config 라는 db가 생성이 되지 않아서라 하셧는데 .. 있더라고요..
혹시 누락된 필드가 있어서 그런건가요??
전에 했던 질문입니다 http://sir.co.kr/bbs/board.php?bo_table=g4_pi_memo2&wr_id=1590
추천
0
0
댓글 전체
db만 있고, db에 field 값이 없어서 그래요. ㅠ..ㅠ...
답변 감사합니다 ㅎㅎ
값은 왜서 없나요???
저도 DANet님하고 똑같은 현상입니다.
값 넣을려면 어떻게 하나요?
저도 DANet님하고 똑같은 현상입니다.
값 넣을려면 어떻게 하나요?
phpmyadmin 에서... 아래의 SQL을 차례로.
처음꺼는 테이블 생성 (없는 경우)
두번째는 레코드 생성
CREATE TABLE IF NOT EXISTS `g4_memo_config` (
`cf_memo_page_rows` int(11) NOT NULL,
`cf_memo_del_unread` int(11) NOT NULL DEFAULT '180',
`cf_memo_del_trash` int(11) NOT NULL DEFAULT '7',
`cf_memo_delete_datetime` datetime NOT NULL,
`cf_memo_user_dhtml` tinyint(4) NOT NULL DEFAULT '1',
`cf_memo_use_file` tinyint(4) NOT NULL DEFAULT '0',
`cf_memo_file_size` tinyint(4) DEFAULT NULL,
`cf_max_memo_file_size` int(11) DEFAULT NULL,
`cf_friend_management` tinyint(4) NOT NULL DEFAULT '1',
`cf_memo_no_reply` tinyint(4) NOT NULL DEFAULT '0',
`cf_memo_notice_board` varchar(255) DEFAULT NULL,
`cf_memo_notice_memo` mediumtext,
`cf_memo_before_after` tinyint(4) NOT NULL,
`cf_memo_print` tinyint(4) NOT NULL,
`cf_memo_b4_resize` tinyint(4) NOT NULL,
`cf_memo_realtime` tinyint(4) NOT NULL,
`cf_memo_mb_name` tinyint(4) NOT NULL,
`cf_memo_del_file` tinyint(4) NOT NULL
)
INSERT INTO `g4_memo_config` (`cf_memo_page_rows`, `cf_memo_del_unread`, `cf_memo_del_trash`, `cf_memo_delete_datetime`, `cf_memo_user_dhtml`, `cf_memo_use_file`, `cf_memo_file_size`, `cf_max_memo_file_size`, `cf_friend_management`, `cf_memo_no_reply`, `cf_memo_notice_board`, `cf_memo_notice_memo`, `cf_memo_before_after`, `cf_memo_print`, `cf_memo_b4_resize`, `cf_memo_realtime`, `cf_memo_mb_name`, `cf_memo_del_file`) VALUES
(12, 720, 720, '0000-00-00 00:00:00', 0, 1, 4, 0, 1, 4, '', '', 1, 1, 1, 1, 0, 0);
처음꺼는 테이블 생성 (없는 경우)
두번째는 레코드 생성
CREATE TABLE IF NOT EXISTS `g4_memo_config` (
`cf_memo_page_rows` int(11) NOT NULL,
`cf_memo_del_unread` int(11) NOT NULL DEFAULT '180',
`cf_memo_del_trash` int(11) NOT NULL DEFAULT '7',
`cf_memo_delete_datetime` datetime NOT NULL,
`cf_memo_user_dhtml` tinyint(4) NOT NULL DEFAULT '1',
`cf_memo_use_file` tinyint(4) NOT NULL DEFAULT '0',
`cf_memo_file_size` tinyint(4) DEFAULT NULL,
`cf_max_memo_file_size` int(11) DEFAULT NULL,
`cf_friend_management` tinyint(4) NOT NULL DEFAULT '1',
`cf_memo_no_reply` tinyint(4) NOT NULL DEFAULT '0',
`cf_memo_notice_board` varchar(255) DEFAULT NULL,
`cf_memo_notice_memo` mediumtext,
`cf_memo_before_after` tinyint(4) NOT NULL,
`cf_memo_print` tinyint(4) NOT NULL,
`cf_memo_b4_resize` tinyint(4) NOT NULL,
`cf_memo_realtime` tinyint(4) NOT NULL,
`cf_memo_mb_name` tinyint(4) NOT NULL,
`cf_memo_del_file` tinyint(4) NOT NULL
)
INSERT INTO `g4_memo_config` (`cf_memo_page_rows`, `cf_memo_del_unread`, `cf_memo_del_trash`, `cf_memo_delete_datetime`, `cf_memo_user_dhtml`, `cf_memo_use_file`, `cf_memo_file_size`, `cf_max_memo_file_size`, `cf_friend_management`, `cf_memo_no_reply`, `cf_memo_notice_board`, `cf_memo_notice_memo`, `cf_memo_before_after`, `cf_memo_print`, `cf_memo_b4_resize`, `cf_memo_realtime`, `cf_memo_mb_name`, `cf_memo_del_file`) VALUES
(12, 720, 720, '0000-00-00 00:00:00', 0, 1, 4, 0, 1, 4, '', '', 1, 1, 1, 1, 0, 0);