Hi,
I’m in the process of laying the groundwork for a significant redesign of a relatively high-profile EE installation for a client. The first task is to get the very old installation of 1.6.8 up to date. I’ve failed a few times today, and I’m at the point where I need some help.
Just to run through the timeline of my efforts so far:
1. Attempt to upgrade from 1.6.8 to 2.5.2
(I’m working from a clone of the site — discrete codebase and DB.)
Result: MySQL errors (inconsistent ones).
2. Clear out database, restore backup, restore config file, re-attempt.
Results: Same.
3. Clear out DB, restore, attempt upgrade to 1.7.3 instead.
Results: Success!
4. Attempt to upgrade from 1.7.3 to 2.5.2
Results: MySQL errors, but this time consistent ones.
5. Rinse; repeat.
The main culprit is this:
A Database Error Occurred
Error Number: 1060Duplicate column name ‘field_content_type’
ALTER TABLE `exp_weblog_fields` ADD COLUMN `field_content_type` VARCHAR(20) NOT NULL default ‘any’
Filename: updates/ud_200.php
Line Number: 1700
Not knowing much about why this might be failing, I went in and deleted this particular column from the table, at which point I get a new error:
Error Number: 1091
Can’t DROP ‘blog_encoding’; check that column/key exists
ALTER TABLE `exp_weblogs` DROP COLUMN `blog_encoding`
Filename: updates/ud_200.php
Line Number: 1700
A subsequent refresh (and all future refreshes) of the window brings us back to the original field_content_type error.
Googling for the error brings up relevant threads in the EE forums (most notably this one), but there weren’t many concrete suggestions I hadn’t tried. One of them suggested turning off Javascript, so I tried that to no effect.
It might be worth noting that a couple of times I got the “the installer can’t find these template files” message, even though I confirmed that the files existed. It seemed relatively unimportant, since I can restore the templates later if they are lost, so I clicked the “this is moot” link to proceed.
I read the “Troubleshooting Upgrade Errors” page, and nothing seems to apply. I am not using Firefox, and there are no funky customizations to my config file.
Halp!