This is the error code when updating GL 1.7.0 to 1.7.2.
Text Formatted Code
256 - 1054: Unknown column 'template_flag' in 'where clause' @ /www/system/databases/mysql.class.php line 260
array(3) {
["sql"]=>
string(346) "SELECT sp_id,sp_title,sp_content,sp_format,created,modified,sp_hits,owner_id, group_id,perm_owner,perm_group,perm_members, perm_anon,sp_php,sp_inblock,sp_help FROM gl_staticpage WHERE (sp_centerblock = 1) AND (draft_flag = 0) AND (template_flag = 0) AND (sp_where = 0) AND ((sp_tid = 'none') OR (sp_tid = 'all')) AND (perm_anon >= 2) ORDER BY sp_id"
["ignore_errors"]=>
int(0)
["result"]=>
bool(false)
}
When was the draft_flag and template_flag introduced in MySQL? What can I do now?