update from RC1 to 2.0.2 (General)

by andreas, Wednesday, February 25, 2009, 11:49 (5510 days ago)

Hi,
my last installed version is rc1 and i can`t find the updatefiles rc2 to rc8.
How can i update to 2.0.2 without lost my data?
thanks
Andreas

Avatar

update from RC1 to 2.0.2

by Alex ⌂, Thursday, March 12, 2009, 12:55 (5495 days ago) @ andreas

Hi Andreas,

you need to update manually. Do you have a tool like phpMyAdmin? You can find the queries to update the database in the changelog or in the file update/update.sql.

These are the queries to update the database from version 2.0 RC 1 to version 2.0.2:

INSERT INTO mlf2_settings VALUES ('email_subject_maxlength', '100');
INSERT INTO mlf2_settings VALUES ('email_text_maxlength', '10000');
INSERT INTO mlf2_settings VALUES ('forum_readonly', '0');
INSERT INTO mlf2_settings VALUES ('tags', '1');
UPDATE mlf2_settings SET VALUE = '10' WHERE name = 'count_users_online';
UPDATE mlf2_settings SET VALUE = '2.0.2' WHERE name = 'version';

Then you should replace all files/folders except for the folders "backup", "config" and "images".

Don't forget to make a backup before doing anything (either with the backup function or with phpMyAdmin)!

Alex

RSS Feed of thread