taki oto bład mi wywala przy tworzeniu nowego działu
Kod:
Couldn't insert row in forums table
DEBUG MODE
SQL Error : 1136 Column count doesn't match value count at row 1
INSERT INTO phpbb_forums (forum_id, forum_name, cat_id, attached_forum_id, forum_desc, forum_order, forum_status,enable_pluspoints, enable_minuspoints, prune_enable, auth_view, auth_read, auth_post, auth_reply, auth_edit, auth_delete, auth_sticky, auth_announce, auth_vote, auth_pollcreate) VALUES ('56', 'lol', 3, -1, '', 130, 01, 1, 0, 0, 0, 0, 0, 1, 1, 3, 3, 1, 1)
Line : 524
File : admin_forums.php
przypuszczam ze to po instalacji Pseudo SubForums
a to linie 518-28
Kod:
$sql = "INSERT INTO " . FORUMS_TABLE . " (forum_id, forum_name, cat_id, attached_forum_id, forum_desc, forum_order, forum_status,enable_pluspoints, enable_minuspoints, prune_enable" . $field_sql . ")
VALUES ('" . $next_id . "', '" . str_replace("\'", "''", $HTTP_POST_VARS['forumname']) . "', " . intval($HTTP_POST_VARS[POST_CAT_URL]) . ", " . intval($HTTP_POST_VARS['attached_forum_id']) . ", '" . str_replace("\'", "''", $HTTP_POST_VARS['forumdesc']) . "', $next_order, " . intval($HTTP_POST_VARS['forumstatus']) .intval($_POST['enable_plus']) . ", " . intval($_POST['enable_minus']) .", " . intval($HTTP_POST_VARS['prune_enable']) . $value_sql . ")";
// End Added by Attached Forums MOD
if( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't insert row in forums table", "", __LINE__, __FILE__, $sql);
}
if( $HTTP_POST_VARS['prune_enable'] )
{
Wygraj 1000 $ 