Upgrade 2.2 to 3.0

First, we backup current MyMeeting 2.2 folder and database file.

Using SVN

1. Go into <mymeeting folder>/app/tmp/ folder, remove all other folders except .svn and sessions
2. Run svn update to make sure MyMeeting 2.2 is updated before doing the upgrade

$ cd <mymeeting folder>
$ svn update

Please make sure you get a message like 'Updated to revision xxxx.'

3. Run svn switch to get the latest source

svn switch https://svn.oscc.org.my/mymeeting/branches/3.0

4. Run svn update (to make sure you get the latest copy of MyMeeting 3.0)

Please make sure you get a message like 'Updated to revision xxxx.'

5. Create table protocols, minutetypes and schemes with 1 field 'test' using phpMyAdmin or by executing the SQL below

CREATE TABLE  `schemes` (`test` INT( 11 ) NOT NULL) ENGINE = MYISAM ;
CREATE TABLE  `protocols` (`test` INT( 11 ) NOT NULL) ENGINE = MYISAM ;
CREATE TABLE  `minutetypes` (`test` INT( 11 ) NOT NULL) ENGINE = MYISAM ;

6. Run upgrade script

$ cd <mymeeting folder>/cake/console
$ ./cake fixup upgrade 2.2 3.0

This will update your database structure and install some default data.

Using ZIP file

1. Dowload latest MyMeeting 3.0 file and store in your webhost location
2. Copy mymeeting.php and database.php in existing MyMeeting 2.2 (inside <mymeeting folder>/app/config/...)
3. Paste these files inside MyMeeting 3.0 folder(<mymeeting folder>/app/config/...) to replace existing 3.0 mymeeting.php and database.php files
4. copy the upload folder(inside <mymeeting folder>/app/webroot/...) and paste inside MyMeeting 3.0 folder(<mymeeting folder>/app/webroot/...)
5. Create table protocols, minutetypes and schemes with 1 field 'test' using phpMyAdmin or by executing the SQL below

CREATE TABLE  `schemes` (`test` INT( 11 ) NOT NULL) ENGINE = MYISAM ;
CREATE TABLE  `protocols` (`test` INT( 11 ) NOT NULL) ENGINE = MYISAM ;
CREATE TABLE  `minutetypes` (`test` INT( 11 ) NOT NULL) ENGINE = MYISAM ;

6. Run upgrade script

$ cd <mymeeting folder>/cake/console
$ ./cake fixup upgrade 2.2 3.0

This will update your database structure and install some default data.