- Code: Select all
General Error
SQL ERROR [ mysql4 ]
Unknown column 'group_manage_founder' in 'field list' [1054]
SQL
SELECT group_manage_founder FROM phpbb_cvs_groups WHERE group_id = 2
BACKTRACE
FILE: includes/db/mysql.php
LINE: 132
CALL: dbal_mysql->sql_error()
FILE: includes/acp/acp_groups.php
LINE: 369
CALL: dbal_mysql->sql_query()
FILE: includes/functions_module.php
LINE: 402
CALL: acp_groups->main()
FILE: adm/index.php
LINE: 83
CALL: p_master->load_active()
Bug tracker
SQL error when creating a new group (fix completed in vcs)
Comments / History
The column in the error is group_manage_founder, but the actual column name in the db is group_founder_manage so I guess someone forgot to change that somewhere.(?)
Probably in includes/acp/acp_groups.php, line 369agent00shoe wrote:The column in the error is group_manage_founder, but the actual column name in the db is group_founder_manage so I guess someone forgot to change that somewhere.(?)
- Code: Select all
$sql = 'SELECT group_manage_founder
FROM ' . GROUPS_TABLE . '
WHERE group_id = ' . $group_perm_from;
$result = $db->sql_query($sql);