Hoi,
ik probeer een custom tabel voor mijn phpBB forum in mijn database te laden maar hij geeft telkens een error, wat doe ik fout? Ik probeer het volgende te uploaden:
en MySQL (3.23.52) geeft de volgende error:
IK zie het dus niet, jullie wel
ik probeer een custom tabel voor mijn phpBB forum in mijn database te laden maar hij geeft telkens een error, wat doe ik fout? Ik probeer het volgende te uploaden:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
| #
# TABLE: phpbb_posts_text2
#
DROP TABLE IF EXISTS phpbb_posts_text2;
CREATE TABLE phpbb_posts_text2(
post_id mediumint(8) unsigned NOT NULL,
bbcode_uid varchar(10) NOT NULL,
post_subject varchar(60),
post_text text,
post_extra1 varchar(60),
post_extra2 varchar(60),
PRIMARY KEY (post_id)
);
#
# Table Data for phpbb_posts_text2
#
INSERT INTO phpbb_posts_text2 (post_id, bbcode_uid, post_subject, post_text, post_extra1, post_extra2) VALUES('3', '2e7e25c4ae', '', 'blaat', '', '');
INSERT INTO phpbb_posts_text2 (post_id, bbcode_uid, post_subject, post_text, post_extra1, post_extra2) VALUES('4', '6456dec386', '', 'blaat', '', '');
(...)
INSERT INTO phpbb_posts_text2 (post_id, bbcode_uid, post_subject, post_text, post_extra1, post_extra2) VALUES('3260', '03ef83b80f', '', 'blaat', '', '');
INSERT INTO phpbb_posts_text2 (post_id, bbcode_uid, post_subject, post_text, post_extra1, post_extra2) VALUES('3261', '4774ff63b8', '', 'blaat', '', ''); |
en MySQL (3.23.52) geeft de volgende error:
code:
1
2
3
4
5
6
7
8
9
10
11
12
| Fout SQL-query : INSERT INTO phpbb_posts_text2( post_id, bbcode_uid, post_subject, post_text, post_extra1, post_extra2 ) VALUES ( '0', '', NULL , NULL ) MySQL retourneerde: Column count doesn't match value count at row 1 |
IK zie het dus niet, jullie wel