- This topic has 3 replies, 2 voices, and was last updated 2 years, 11 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- The forum ‘How do I …’ is closed to new topics and replies.
Events Made Easy › Forums › How do I … › Upgrading from 1.4.3 to 2.2.8
Tagged: Upgrade
Hi,
I have inherited an extremely old website running EME 1.4.3
Can I safely upgrade to the latest 2.2.38 version without losing anything?
Thanks,
Stephan
While I try to be backwards compatible, I can’t guarantee an upgrade from a version of 6 years ago đŸ™‚
But: just go ahead and try it (make a db backup first), in theory it should work.
I had these errors when upgrading:
Erreur de la base de données WordPress : [Multiple primary key defined]
ALTER TABLE wp_eme_answers CHANGE answer_id answer_id INT(11) PRIMARY KEY AUTO_INCREMENT;
Erreur de la base de donnĂ©es WordPress : [Unknown column ‘grouping’ in ‘wp_eme_answers’]
ALTER TABLE wp_eme_answers CHANGE grouping eme_grouping INT(11) DEFAULT 0;
Erreur de la base de donnĂ©es WordPress : [Table ‘chorus.ch.wp_eme_memberships_cf’ doesn’t exist]
INSERT INTO wp_eme_answers(field_id
,related_id
,answer
,type
) SELECT field_id
,membership_id
,answer
,’membership’ FROM wp_eme_memberships_cf
Erreur de la base de donnĂ©es WordPress : [Table ‘chorus.ch.wp_eme_events_cf’ doesn’t exist]
INSERT INTO wp_eme_answers(field_id
,related_id
,answer
,type
) SELECT field_id
,event_id
,answer
,’event’ FROM wp_eme_events_cf
Erreur de la base de donnĂ©es WordPress : [Table ‘chorus.ch.wp_eme_locations_cf’ doesn’t exist]
INSERT INTO wp_eme_answers(field_id
,related_id
,answer
,type
) SELECT field_id
,location_id
,answer
,’location’ FROM wp_eme_locations_cf
But the table wp_eme_answers seems to have all the new fields (and was empty anyway).
Thanks for the quick answer!
Stephan
The last 4 can indeed be ignored (but I corrected the code to take it into account).
The first one is a bit weird, but if your primary key exists and is answer_id, then all is ok.
Edit: ok, found the reason for the first one too, I’ll change the code for this too đŸ™‚