Code: Select all
General Error SQL ERROR [ mysql4 ] Field 'topic_last_poster_name' doesn't have a default value  SQL INSERT INTO phpbb_topics (topic_poster, topic_time, forum_id, icon_id, topic_approved, topic_title, topic_first_poster_name, topic_first_poster_colour, topic_type, topic_time_limit, topic_attachment) VALUES (2, 1218256744, 19, 0, 1, 'test', 'Alterastro', '009AFF', 0, 0, 0) BACKTRACE FILE: includes/db/mysql.php LINE: 158 CALL: dbal_mysql->sql_error() FILE: includes/functions_posting.php LINE: 1832 CALL: dbal_mysql->sql_query() FILE: posting.php LINE: 1037 CALL: submit_post()
I'm having the same issue.rashy wrote:Hi SyntheticChaos
First of all let me congratulate you on this awesome mod that i was looking for
But there is a slight problem i am facing, i have installed the mod, no bugs, but i can't see the restriction working. When i switch my permission with a user who has just registered or with a user having a less post count then that i have specified for a forum in the ACP, i am still able to access the forum.
I have a forum A and have specified the post count as 10.
Now being an Admin i switch the permissions with a user having post count less than 10 and click on forum A, but surprisingly i can easily browse each and every topic in forum A
Can you please indicate the error that i might have done
SQL ERROR [ mysql4 ]
Unknown column 'forum_postcount_view' in 'field list' 
INSERT INTO phpbb_forums (parent_id, forum_type, forum_status, forum_parents, forum_name, forum_link, forum_desc, forum_desc_uid, forum_desc_options, forum_desc_bitfield, forum_rules, forum_rules_uid, forum_rules_options, forum_rules_bitfield, forum_rules_link, forum_image, forum_style, display_subforum_list, display_on_index, forum_topics_per_page, enable_indexing, enable_icons, enable_prune, prune_days, prune_viewed, prune_freq, forum_postcount_view, forum_postcount_post, forum_flags, left_id, right_id) VALUES (540, 1, 0, '', 'The iWEDDIES', '', 'Come in-- relax, enjoy yourself and nominate the best, brightest, smartest, and nuttiest of iWED', '', 7, '', '', '', 7, '', '', '', 0, 1, 0, 0, 1, 0, 0, 7, 7, 1, 0, 0, 32, '102', 103)
SQL ERROR [ mysql4 ]
Unknown column 'b.group_bypass_post_req' in 'field list' 
SELECT b.group_bypass_post_req AS requirement FROM phpbb_user_group a, phpbb_groups b WHERE user_id = 62 AND a.group_id = b.group_id