This is the recommended upgrade procedure for your existing 4.5 (1.0.9) site:
1.BACKUP YOUR DATABASE! Use the inbuilt database backup facility or phpMyAdmin.
2.BACKUP YOUR WEB SITE FILES!
3.Do not procedure until you have completed steps 1 and 2.
4.Download the Mambo 4.5.1 distribution and unpack it into a new directory under you web server root.
5.Apply the upgrade script from the /installation/sql directory. If this completes successfully, delete the /installation directory.
6.Rename the configuration-dist.php to configuration.php. Copy the database connector values from your existing site's configuration.php file. The minimum you will need to copy over are:
$mosConfig_host
$mosConfig_user
$mosConfig_password
$mosConfig_db
$mosConfig_dbprefix
Set $mosConfig_absolute_path and $mosConfig_live_site accordingly for the 4.5.1 test files and site.
7.Open the new 4.5.1 site in your web browser and see if it roughly works. You may experience errors because of missing modules at this stage (don't worry about them).
8.Copy any 3rd party modules, mambots, components and administrator components to the new site.
components/com_xxxx
administrator/components/com_xxxx
modules/mod_xxxx
templates/xxxx
mambots/mosxxxx (but not moscode.*, mosimage.* or mospaging.*)
* Where xxxx is the name of the component, module, template or mambot.
Do not overwrite and Components, Modules, Templates or Mambots provided with 4.5.1.
9.Try your site again if all is looking OK goto step 10.
10.Login into administration and edit the Global Configuration values to suite your site.
11.If all running satisfactorily then move the 4.5.1 directory over to your main site. Do not forget to change $mosConfig_absolute_path and $mosConfig_live_site.
Quick Fix for Old Modules
Modules written for version 4.5 that use parameters will not work correctly in version 4.5.1 or later.
Developers are encouraged to upgrade the method of using parameters as it is very simple to do so. However, to get things running quickly you may insert the following code near the head of you module, before the parameters are used:
$params = mosParseParams( $module->params );
No comments:
Post a Comment