... Elxis version 2009.2 codename Electra is out, download it from Elxis Download Center (EDC) ...
Update Elxis 2009.1 to 2009.2
From Elxis Official Documentation
| Translations: |
English • Ελληνικά |
Contents |
Before you begin
Check your Elxis version. The exact installed Elxis version is being written in the footer of all pages in Elxis administration area. If your Elxis version is 2009.0, or older, you should first update to Elxis 2009.1 by using the proper patches from EDC. If you use Elxis 2009.1 Hecate rev2563 you are ready to upgrade to Elxis 2009.2 Electra rev2631.
Download the Elxis 2009.2 update patch from Elxis downloads center.
Prepare the site for upgrade
This upgrade will only infect Elxis core files and nothing else. So, your data, images, etc, will stay intact. If you wish to be sure take a full back-up. Turn your site offline.
How to apply this patch
Replace existing files with the ones providing in the patch20092.zip package.
Afterwards login to phpmyadmin and execute the commands listed bellow.
(Step 1 - SSH) Update Elxis file system via SSH
If you have SSH access the files update process can take no more than 2-3 seconds.
If you dont have SSH access continue reading on Step 1 - FTP.
Upload patch20092.zip file in your Elxis root folder.
Execute the command:
unzip -uo patch20092.zip
Elxis filesystem is up-to-date!
| Note that the command unzip -uo patch20092.zip will overwrite/update only the existing files that are older than the new ones. This means that if you have modified a file recently and it is newer than the 2009.2 one it will not be overwritten. To force overwriting files without checking files date use the above command without the u option: unzip -o patch20092.zip (recommended in most cases). |
(Step 1 - FTP) Update Elxis file system via FTP
If you dont have SSH access then you have to upload the files one-by-one via FTP.
Unzip file patch20092.zip inside an empty folder in your local computer.
Open your preferable FTP client, connect to your site and start overriding existing online files with the ones in the patch.
Note that this patch contains only the modified files between the 2 versions. If you copy-paste whole folders you might lose required files!
Elxis file system is up-to-date!
(Step 2) Database
A new column has been added to table #__comments and an other one at table #__eblog_settings. Also Elxis 2009.2 has 3 new bots. We must update Elxis database with these information.
Go to your database manager (phpmyadmin if your database is mysql, pgmyadmin if it is postgresql,
or to your oracle database manager). Select your Elxis site database from the left and click on the SQL tab.
Inside the text area copy-paste the following SQL commands and click execute.
Attention: If your Elxis database prefix is different than elx_ you should change elx_ with your db prefix in the querries bellow.
ALTER TABLE `elx_comments` ADD COLUMN `notify` INTEGER(4) NOT NULL default '0'; ALTER TABLE `elx_eblog_settings` ADD COLUMN `params` TEXT NULL; INSERT INTO `elx_mambots` VALUES (NULL, 'Share - AddThis', 'share.addthis', 'content', 29, 8, 1, 1, 0, 0, '1979-12-19 00:00:00', 'username=\nglobalshow=0'); INSERT INTO `elx_mambots` VALUES (NULL, 'Share - E-mailit', 'share.emailit', 'content', 29, 9, 1, 1, 0, 0, '1979-12-19 00:00:00', 'username=\nglobalshow=0'); INSERT INTO `elx_mambots` VALUES (NULL, 'Translate', 'translate', 'content', 29, 10, 1, 1, 0, 0, '1979-12-19 00:00:00', 'globalshow=0'); UPDATE `elx_templates_menu` SET `template` = 'econnect' WHERE `client_id` = '2'; UPDATE `elx_softdisk` SET `sdvalue` = '2009.2' WHERE `sdname` = 'ELXIS_VERSION'; UPDATE `elx_softdisk` SET `sdvalue` = '2009.2' WHERE `sdname` = 'ELXIS_DBVERSION'; UPDATE `elx_softdisk` SET `sdvalue` = UNIX_TIMESTAMP() WHERE `sdname` = 'ELXIS_LASTUP';
Elxis database is up-to-date!
!! IMPORTANT !!
If you dont update your database Elxis won't function properly!
Validate 2009.2 File system
This step is optional but highly recommended.
Elxis CMS has a built-in tool to validate the status of the Elxis file system, this is Updiag (Update-Diagnose).
If any file is outdated, missing, or is corrupted, the Updiag tool will report this to you.
Login to Elxis administration area and navigate to Tools. Click on the Updiag tool.
From the Maintenance tab select Download hash files.
Select to download the 2009.2 hash file (not the full or the extended ones).
After download the hash file. Navigate to Maintenance -> Check filesystem
Click on the Execute button of the 2009.2 hash file.
After some seconds Updiag will present you a list of the files that are outdated or will inform you that everything is up-to-date. If there are outdated or missing files take those files from the Elxis 2009.2 full release and upload them on your site via FTP overriding the existing ones.
Run again the filesystem check until Updiag inform you that everything is up-to-date.
Related link: Elxis 2009.2 full release
Finish
When finish, turn your site back online.
Problems? Questions? Visit the Elxis forums

