Hey,
I had the same problem, it caused by missing "
default '', " in the structure and affected PM, posting, topic... (and maybe more?)
To fix the problem, export your affected tables and change the structure!
example for "phpbb_posts":
Code: Select all
CREATE TABLE IF NOT EXISTS `phpbb_posts` (
`post_id` mediumint(8) unsigned NOT NULL auto_increment,
`topic_id` mediumint(8) unsigned NOT NULL default '0',
`forum_id` mediumint(8) unsigned NOT NULL default '0',
`poster_id` mediumint(8) unsigned NOT NULL default '0',
`icon_id` mediumint(8) unsigned NOT NULL default '0',
`poster_ip` varchar(40) collate utf8_bin NOT NULL default '',
`post_time` int(11) unsigned NOT NULL default '0',
`post_approved` tinyint(1) unsigned NOT NULL default '1',
`post_reported` tinyint(1) unsigned NOT NULL default '0',
`enable_bbcode` tinyint(1) unsigned NOT NULL default '1',
`enable_smilies` tinyint(1) unsigned NOT NULL default '1',
`enable_magic_url` tinyint(1) unsigned NOT NULL default '1',
`enable_sig` tinyint(1) unsigned NOT NULL default '1',
`post_username` varchar(255) collate utf8_bin NOT NULL default '',
`post_subject` varchar(100) character set utf8 collate utf8_unicode_ci NOT NULL default '',
`post_text` mediumtext character set utf8 collate utf8_unicode_ci NOT NULL,
`post_checksum` varchar(32) collate utf8_bin NOT NULL default '',
`post_attachment` tinyint(1) unsigned NOT NULL default '0',
`bbcode_bitfield` varchar(255) collate utf8_bin NOT NULL default '',
`bbcode_uid` varchar(5) collate utf8_bin NOT NULL default '',
`post_postcount` tinyint(1) unsigned NOT NULL default '1',
`post_edit_time` int(11) unsigned NOT NULL default '0',
`post_edit_reason` varchar(255) collate utf8_bin NOT NULL default '',
`post_edit_user` mediumint(8) unsigned NOT NULL default '0',
`post_edit_count` smallint(4) unsigned NOT NULL default '0',
`post_edit_locked` tinyint(1) unsigned NOT NULL default '0',
PRIMARY KEY (`post_id`),
KEY `forum_id` (`forum_id`),
KEY `topic_id` (`topic_id`),
KEY `poster_ip` (`poster_ip`),
KEY `poster_id` (`poster_id`),
KEY `post_approved` (`post_approved`),
KEY `tid_post_time` (`topic_id`,`post_time`),
FULLTEXT KEY `post_subject` (`post_subject`),
FULLTEXT KEY `post_text` (`post_text`),
FULLTEXT KEY `post_content` (`post_subject`,`post_text`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin AUTO_INCREMENT=YOURNUMBER ;
Than comes your normal entries...
Code: Select all
INSERT INTO `phpbb_posts` (`post_id`, `topic_id`, `forum_id`, `poster_id`, ...
Do this for phpbb_posts, phpbb_privmsgs, phpbb_topics (And all maybe other effected tables)
You can get the original structure from a fresh phpbb3-installation. Its strongly recommended to repair all affected tables. (Approx 50)
The problem is caused by the MySQL4 > MySQL5 converter. On my phpbb3-boards utf8 was changed too latin1 (The search-index worked not longer) and the converter deleted all "
default '', ". Its easy to fix the problems, you must only get the original structure from a fresh phpbb3-installation and repair your sql-data scheme...
More informations:
http://www.phpbb.com/bugs/phpbb3/ticket ... t_id=14244