I came across that article (it should really be linked from the main upgrading docs…I only found it because you had posted the link for someone else) and made sure I was starting completely clean (deleted database entirely, create new DB, migrate copy of the current live DB, restored all original files, followed the upgrade instructions to prepare system, themes, etc.) Ran the installer, and again got the following error:
Error Number: 1060
Duplicate column name ‘show_sidebar’
ALTER TABLE exp_members ADD show_sidebar char(1) NOT NULL default ‘y’ AFTER quick_tabs
Filename: updates/ud_212.php
Next Steps
- I deleted the database. Restored.
- Deleted all files, restored and prepared for 2.2 per the upgrade instructions.
- Made certain that config.php and database.php were perfectly formatted EE config files (no customization)
- Commented out the line in 212 that creates show_sidebar, and got a new error.
Error Number: 1060
Duplicate column name 'can_edit_html_buttons'
ALTER TABLE exp_member_groups ADD can_edit_html_buttons char(1) NOT NULL DEFAULT 'n' AFTER can_view_profiles
Filename: updates/ud_212.php
Line Number: 52
Next Steps:
- Again, I deleted the database. Restored it.
- Deleted all files, restored and prepared for 2.2 per the instructions
- Commented out the ‘show_sidebar’ line as well as the line that creates ‘can_edit_html_buttons’ and got a new error.
Error Number: 1060
Duplicate column name 'm_field_cp_reg'
ALTER TABLE exp_member_fields ADD m_field_cp_reg char(1) NOT NULL default 'n' AFTER m_field_reg
Filename: updates/ud_212.php
Line Number: 53
Next Steps:
- I deleted the database. Restored it.
- Deleted all files, restored and prepared for 2.2 per the instructions
- Commented out the ‘show_sidebar’ line, the line that creates ‘can_edit_html_buttons’, and the line that creates “m_field_cp_reg” and got a new, raw error without any formatting:
{"error":"
Error Number: 1054<Vp>/n/n
Unknown column 'can_edit_html_buttons' in 'field list'<Vp>\n\n
UPDATE exp_member_groups SET can_edit_html_buttons='y' WHERE can_access_cp = 'y'<Vp>\n\n
Filename: updatesVud_212.php<Vp>\n\n
So even though leaving the line to add the can_edit_html_buttons yields an error that field already exists, commenting out that line yields an error that the field doesn’t exist.
I’m at a loss. Our new project for this client will rely on Safecracker and not being able to upgrade is not only a showstopper for the new project, but is making them question my push for them to build their site using ExpressionEngine in general. If you’ve got any ideas on how to get past this hump, I’m all ears and really appreciate it.