Not the website you're looking for? Click here for Webalicious
 

Kunena Migration from Joomla 1.5 to Joomla 2.5

JEvents Logo

This is the third article in a series of Joomla component migration instructions. Published so far are:

Kunena Migration

Before starting the migration:

  • upgrade both the source and target websites to the latest available versions of the component
  • backup the source and target websites

Migrate core functions with JUpgrade or SP Upgrade or similar so that user ids are preserved.

Export the 24 x Joomla 1.5 Kunena databases with "Quick" and "SQL" options (Note: you can multiple select tables and export them as one file):

  • jos_kunena_announcement
  • jos_kunena_attachments
  • jos_kunena_attachments_bak
  • jos_kunena_categories
  • jos_kunena_config
  • jos_kunena_config_backup
  • jos_kunena_favorites
  • jos_kunena_groups
  • jos_kunena_messages
  • jos_kunena_messages_text
  • jos_kunena_moderation
  • jos_kunena_polls
  • jos_kunena_polls_options
  • jos_kunena_polls_users
  • jos_kunena_ranks
  • jos_kunena_sessions
  • jos_kunena_smileys
  • jos_kunena_subscriptions
  • jos_kunena_subscriptions_categories
  • jos_kunena_thankyou
  • jos_kunena_users
  • jos_kunena_users_banned
  • jos_kunena_version
  • jos_kunena_whoisonline

If necessary, amend table prefixes by searching and replacing all of the old prefixes e.g. jos_ to j25_ inside the file(s).

Delete the 22 x Joomla 2.5 Kunena databases.

Import the Joomla 1.5 Kunena databases into Joomla 2.5.

Copy across files in /media/kunena/attachments/

In Category Manager, reapply the permissions as these don't seem to be copied across.

References:
http://www.kunena.org/forum/159-K-17-Common-Questions/111394-Transfer-kunena-17-with-joomla-15---in-joomla-17
http://www.kunena.org/forum/159-k-16-and-k-17-common-questions/103459-merged-topic-how-to-move-my-kunena-forum-from-one-site-to-another#103539

JoomGallery Migration from Joomla 1.5 to Joomla 2.5

JEvents Logo

This is the second article in a series of Joomla component migration instructions. Published so far are:

JoomGallery Migration

Before starting the migration:

  • upgrade both the source and target websites to the latest available versions of the component
  • backup the source and target websites

Option 1: Manual Migration

If you only have a few categories and images, it may be easiest to install the latest version of JoomGallery on your target website and recreate the categories, images and configuration manually.

Option 2: Migration Tool

JoomGallery provide a migration tool that does all the hard migration work for you. This is how I use the tool to migrate from Joomla 1.5 to 2.5, preserving the galleries on the Joomla 1.5 website so that the source website is unchanged:

November 2013 Update: JoomGallery have provided a new script for migrating JoomGallery from Joomla 1.5 to Joomla 3.x and the following procedure works equally well for migrating JoomGallery from Joomla 1.5 to Joomla 3.x including Joomla 3.2.

Preparation

  • First use the jUpgrade or SP Upgrade tool or similar to migrate user ids from 1.5 to 2.5, if needed.
  • Copy the three JoomGallery image folders from the source website to the target website using cPanel File manager or FTP or similar. This step is important if you wish the Joomla 1.5 version of the website to retain a copy of the images in the meantime as the migration script moves rather than copies.
  • For example:
    • components/com_joomgallery/img_pictures to images/joomgallery/details
    • components/com_joomgallery/img_originals to images/joomgallery/originals
    • components/com_joomgallery/img_thumbnails to images/joomgallery/thumbnails
  • Transfer the JoomGallery database tables from the source website to the target website using PhpMyAdmin export/import or similar:
    • Export tables from source website using "Quick" method and "SQL" format
    • Import tables into target website using "SQL" format
      • jos_joomgallery
      • jos_joomgallery_catg
      • jos_joomgallery_comments
      • jos_joomgallery_config
      • jos_joomgallery_countstop
      • jos_joomgallery_maintenance
      • jos_joomgallery_nameshields
      • jos_joomgallery_orphans
      • jos_joomgallery_users
      • jos_joomgallery_votes

NOTE: Import the database tables into the target database using a different Joomla prefix to the target Joomla database.

Migration

  • Download and install the migration script via the standard Joomla installer: http://www.en.joomgallery.net/downloads/joomgallery-for-joomla-25/extensions/migration-scripts/migration-from-joomgallery-157.html or there is an equivalent script when migrating to Joomla 3.x.
  • In the target website Site -> Global Configuration -> Site, set the website to offline mode.
  • In Components -> JoomGallery -> Migration Manager, select Migrating JoomGallery 1.5.7 to JoomGallery 2 and complete the form:
    • Database prefix of Joomla 1.5: jos_ (or similar)
    • Path to Joomla 1.5: -
    • Path to original images: /home/sitename/public_html/images/joomgallery/originals (or similar)
    • Path to detail images: /home/sitename/public_html/images/joomgallery/details (or similar)
    • Path to thumbnails: /home/sitename/public_html/images/joomgallery/thumbnails (or similar)
    • Check owners: Unchecked
  • Click on 'Check' for the migration tool to check whether a migration is possible. Address any problems.
  • Once all entries are green you can start the migration by clicking the 'Start' button. A "Please Wait" message is displayed.
  • This may take some time. Don't interrupt the process, but wait for an error or success message.
  • Errors are written to the migration log at /logs/migration.mvc2acl.php.

Completion and Testing

  • Create a menu item for the gallery in menu manager so you can check that categories and images etc have migrated successfully.
  • Reset any non-default configuration options (especially upload permissions which is different in Joomla 2.5) as configuration is not migrated.
  • Check the migration log file at: /logs/migration.mvc2acl.php
  • You may need to transfer some images manually.
  • Once successful:
    • Take the website out of maintenance mode.
    • Uninstall the migration script from the target website.
    • Delete the tables with the different prefix imported into the target website database.
    • Delete the image folders of the old gallery.

Reference: http://www.en.joomgallery.net/documentation/common-information/migration-from-jg-157-to-jg-2/all-pages.html

My First Extension on Joomla Extensions Directory

aps

Add Print Stylesheet

Web development with Joomla is easier than I first imagined!

My first Joomla extension, "Add Print Stylesheet" has just been published in the Joomla Extensions Directory!

There are separate versions for Joomla 1.5 and Joomla 2.5.

The plug-in enables the addition of a print stylesheet that doesn't get overwritten if you update your template.

A print stylesheet can be handy to remove unwanted elements from printed copies of your web pages such as dark backgrounds, menus and social networking buttons.

One of the assessable items in the Nibbler test tool is a print stylesheet so installing and configuring this extension will improve the score of your website on Nibbler.

JEvents Migration from Joomla 1.5 to Joomla 2.5

JEvents Logo

This is the first article in a series of Joomla component migration instructions. Published so far are:

JEvents Migration

As a general rule, and before starting the migration, it is usually best to:

  • upgrade both the source and target websites to the latest available versions of the component
  • backup the source and target websites

Option 1: Manual Migration

If you only have a few categories and events, it may be easiest to install the latest version of JEvents on your target website and recreate the categories, events and configuration manually.

Option 2: iCal Export/Import

JEvents has an iCal export/import option that enables you to export calendar events from your Joomla 1.5 website and then import these into your Joomla 2.5 website. I was tempted to use this method as it looked easier than option 3 but in the end, I ended up using the migration script which was easier than it looked.

  • turn off sef urls and purge urls
  • create an Export JEvents menu item on the Joomla 1.5 website
  • copy that url
  • on the Joomla 2.5 website, create a new calendar and import from the above url

Reference:http://www.jevents.net/forum/viewtopic.php?f=29&;t=13394

Option 3: Migration Script

The JEvents crew have written an excellent PHP script that does all the hard migration work for you. They had planned to incorporate the code into the component, so didn't spend much time refining the script instructions. Fortunately, they are receptive to feedback and the instructions have now been improved as follows:

  • This PHP script assumes you have used the jUpgrade or SP Upgrade tool or similar to migrate from 1.5 to 2.5 to preserve user ids.
  • First update JEvents on source and target websites to the latest JEvents version, and back up both websites to be safe!
  • Download the script from http://www.jevents.net/downloads/category/70-j15-j25-migration and unzip.
  • In phpMyAdmin or similar, remove all the Joomla 2.5 JEvents tables:
    • j250_jevents_categories
    • j250_jevents_exception
    • j250_jevents_icsfile
    • j250_jevents_repbyday
    • j250_jevents_repetition
    • j250_jevents_rrule
    • j250_jevents_vevdetail
    • j250_jevents_vevent
    • j250_jev_defaults
    • j250_jev_users
  • In phpMyAdmin or similar, add read permission for the Joomla 2.5 database user to the Joomla 1.5 database (if a different database).
  • Install the managed people, managed locations and any other JEvents club addons (if you are using them) on your Joomla 2.5 site.
  • Edit the upgradejevents.php file and change line 11 to reflect the relative path of the destination website.
    • e.g. if source is www.websitename.com and destination is www.websitename.com/j25, amend line 11 to: change define("NEWSITEPATH", "j25");
    • e.g. if source is www.websitename.com/j15 and destination is www.websitename.com, amend line 11 to: change define("NEWSITEPATH", "..");
  • Upload the upgradejevents.php file to the root of your Joomla 1.5 installation.
  • Log in to the backend of Joomla 2.5 as a Super Admin.
  • Run the script by calling it in your browser e.g. www.j15site.com/upgradejevents.php
  • All being well the script will migrate the data, creating categories automatically with default permissions and show:
    • migrated categories
    • migrated main tables
    • updated category references
    • reset access levels
    • migrated user permissions
    • migrated categories
  • Check your events and categories to see that they have migrated across correctly.
  • You may need to set up JEvents configuration manually on the destination website as the script does not migrate configuration settings.

Reference:http://www.jevents.net/downloads/category/70-j15-j25-migration