This question may be related to a resolved thread.
Hi gang,
I noticed some people had a similar problem updating from earlier versions, so thought I’d report it here so you know that it doesn’t seem to be resolved.
I’m attempting to upgrade from 2.13 build 20101220 to 2.14beta. When updating, I got the error 1060 ‘Duplicate column name’ in ud_212.php…
I found the threads related to the same problem on earlier builds (one of which is quoted below).
So, I commented out the offending line (as the other posts indicated), ran the update again, and got the same error but on a different line, so I commented out the other. Then the next error was the same, but for ud_009.php. I gave up at that point.
I rolled back, so in a way this isn’t an open issue, but since this seems to be a recurring problem I’m fearful of updating again, yet of course, I’d love to take advantage of all those bug fixes. So I would like to get a response as to what the problem could be or if it’s been fixed so I can at least update when 2.14 is released.
This is a quote from the earlier post linked to above, which is what I did with no luck to solve the problem:
I “fixed” it by altering the update code (ud_212.php)
The commented lines should fix the problem. For me it was not only the show_sidebar but also the two other lines. Good luck!
function do_update() { // $Q[] = "ALTER TABLE exp_members ADD show_sidebar char(1) NOT NULL default 'y' AFTER quick_tabs"; // $Q[] = "ALTER TABLE exp_member_fields ADD m_field_cp_reg char(1) NOT NULL default 'n' AFTER m_field_reg"; $Q[] = "ALTER TABLE exp_accessories CHANGE member_groups member_groups varchar(255) NOT NULL"; // $Q[] = "ALTER TABLE exp_member_groups ADD can_edit_html_buttons char(1) NOT NULL DEFAULT 'n' AFTER can_view_profiles"; $Q[] = "UPDATE exp_member_groups SET can_edit_html_buttons = 'y' WHERE can_access_cp = 'y'";