How To – Upgrade Lifetype

Many of you may need to upgrade your Lifetype time to time, therefore I think it may be useful if there is a simple guideline (from a user point of view) to go thru those steps … on top of the detailed wiki article in Lifetype (don’t forget to read it, it is a must). Here is the guideline:

  • First, backup your data using MySQL export tool, e.g. phpMyAdmin. Save this export dump to your local PC.
  • Then, you have to backup the changes you have done to your Lifetype engine before. In most cases they are changes in your template, plugin, javascripts, resources etc. Therefore, create a directory in your local PC, and ftp the following possible changes from the server and save in this local PC directory as backup :
    • The files / directories under /gallery/ – these are your resources files
    • Any files / directories of your current template under /templates/
    • The files / directories of the plugins your installed under /plugins/
    • The javascripts like prototype.js, scriptaculous.js etc.
    • The .htaccess file – that may include some Apache changes
    • The config.properties.php in /config/ – that is your current Lifetype settings
    • The files you changed in /locale/, in case you have set up your own language files or changed any text strings.
  • Then, rename your current Lifetype directory to something else – e.g. lifetype_old, blog_old etc. You can remove this directory later if your upgrade is successful.
  • Third, download the latest version of Lifetype, upload to your server.
  • Fourth, unzip the new Lifetype, and rename the new Lifetype to your original directory name – e.g. lifetype, blog etc. And also rename the config.properties.php as something like “config.properties.php.original”.
  • Now, copy all the changes you backed up to the new Lifetype installation – gallery, plugins, config.properties.php, javascripts etc. in the right places.
  • Lastly, run the wizard.php … and the rest is done by the script.
  • That’s it !!

Hope it helps.

Author: Michael Yung

Michael possessed over 30 years of experience in Information Technology with focuses on complex application development, database technologies and IT strategy. He also spent the last 20 years in Internet technology, eCommerce development / operations, web usability, computer security and Public Key Infrastructure technologies.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: