This is a small tutorial and FAQ how to patch Joomla! 1.0.x to a newer version 1.0.y. A discussion for praise and/or comments can be found here. This will not cover the upgrade from Joomla 1.0 to 1.5, only updates from 1.0.x to 1.0.x.
A patch in Joomla! is a bunch of bugfixes, and might or might not include security issues. The patch announcement will always tell if a patch has fixed security issues. A patch is a minor upgrade. From Joomla! 1.0.0 to Joomla! 1.0.7 is considered a patch. Going from Joomla! 1.0,x to Joomla! 1.5 will be a major upgrade and should be treated differently.
Go to the administrator backend, and check the second line from the bottom, it will look something like this: 'Joomla! 1.0.x Stable [ Sunburst ] 15-Jan-2006 20:00 UTC'. The information that is available here, is pulled from /includes/version.php
It is always advised to update to the latest version, especially if a patch has security fixes in it. When you experience no problems with Joomla!, and a patch doesn't contain security fixes, you do not have to patch to the latest version. Take care that if you jump more then one step to take a look at all the announcements. A patch for Joomla! 1.0.7, for example, doesn't contain the announcement for Joomla! 1.0.6. Whenever you experience problems, please search the forums first and try to patch your installation to the latest version.
When going from Joomla! 1.0.1 to Joomla! 1.0.x for example, you only need to install one patch. This patch will have a name like 'Joomla 1.0.1 to 1.0.x-Stable-Patch Package.zip'. Make sure that your current Joomla! version is the first number and that the version you are going to is the second number. Patches can be obtained here.
You only need one of those patches, the different extensions are for different operating systems. People using Windows will probably want to get the .zip files.
No, the patch only overwrites files that are available in an official download. It doesn't overwrite configuration.php for example. There are a few things that you need to know.
A patch can overwrite the default language file /language/english.php. You only need to take care if you made changes to the default english.php. A Joomla! patch doesn't overwrite other language files you have put there yourself.
A patch can also overwrite /images/favicon.ico, for the people who use a favicon.ico and have overwritten this file.
A patch can overwrite files in the default templates that are available with a default Joomla installation. If you want to use a default template, please make sure that it is better to copy the default template to another folder under the /templates directory.
You basically only need to update your language file if you are using another language than English. It is possible that patch contains a few additions in the default language file (/includes/english.php). If this is the case /includes/english.php will be available in the patch. Check your local international forum or the language forum for any updates that have taken place.
This file is only needed for people for which the installation wizard doesn't work when installaling Joomla for the first time. This file can be found in a patch, as sometimes there are new configuration settings. This file can be totally ignored when patching Joomla. The new configuration settings will be automatically added to your current configuration.php file.
Files and configuring of configuration.php
To move your Joomla site from either one folder to another or one server to another, here are a few basics.
$mosConfig_user = 'joomla_joomla'; $mosConfig_password = 'password'; $mosConfig_db = 'joomla_joomla'; $mosConfig_absolute_path = '/home/joomla/public_html'; $mosConfig_live_site = 'http://www.joomla.org'; $mosConfig_cachepath = '/your absolute path/cache';
Yes you can migrate a Joomla! 1.0.x site or a Mambo 4.5.x to Joomla! 1.5.
Joomla 1.5 does not provide an upgrade path from earlier versions. Converting an older site to a Joomla 1.5 site requires creation of a new empty site using Joomla 1.5 and then populating the new site with the content from the old site. This migration of content is not a one-to-one process and involves conversions and modifications to the content dump.
There are two ways to perform the migration:
This is a two phased process using two tools. The first tool is a migrator component named 'com_migrator'. This component has been contributed by Harald Baer and is based on his 'eBackup' component. The migrator needs to be installed on the old site and when activated it prepares the required export dump of the old site's data. The second tool is built into the Joomla 1.5 installation process. The exported content dump is loaded to the new site and all conversions and modification are performed 'on-the-fly'.
The Joomla! developers work continually on improving Joomla! as they prepare new releases. Every day at midnight CET/CEST a package containing up to date revisions is created and is available for download.
Access to the nightly build is available through the Joomla! developer site.
In most cases, you can unzip the package and overwrite your files. However, you should check the changelog file in case there has been a change to the database. This depends a lot on the stage in the development cycle of the release. Early on, pre-RC you can expect a lot of changes. After a stable release, there generally will not be changes.
If you are willing to tolerate the risk of potential new problems, the nightly builds will give you solutions to old issues. However, nightly builds have not been through the quality testing that happens when there is a formal new release.
If you test a nightly build you can become an active part of the quality and testing process by posting any issues you find in the Q & T forum for 1.0.x and 1.5.
The nightly build pulls what is in subversion once a day.