Cyberwizzard.nl

Welcome to my world

Downloads
Overview Search Downloads Submit file Up
Download details
Gallery2 to JoomGallery 1.5 Migration component for Joomla

Make sure you upgrade to JoomGallery 1.5.0.1 *BEFORE* trying to migrate using this plugin. There is a bug in 1.5.0 which prevents proper migration (giving you errors).

 

After upgrading JoomGallery 1.5.x, please take the time to backup your Gallery2 and Joomla 1.5 databases - if the migration fails or something goes very wrong, you might end up with a messed up website and no way to go back.

Make sure that the JoomGallery you are filling, is EMPTY to begin with. Because the migration script maintains the original internal ID's from Gallery 2 during the migration, you might run in to collisions while importing. Also, when something went wrong, you can simply clear out the JoomGallery tables in the database to start over.

The following is migrated from Menalto Gallery 2 (G2):

  • Albums and nested albums
  • Photos
  • Comments
  • View counts

The following is NOT migrated:

  • Users (Joomla has its own users)
  • Access control information
  • Ownership information
  • Votes (maybe in a future version)
  • Movies (only photos are supported in JG)
  • EXIF information (will be extracted by JG upon importing)

WARNING: Because Gallery2 (G2) and Joomla 1.5 are seperate systems, migration is very tricky. Also, because G2 allows the use of symlinks or other methods besides normal photo files, photos are COPIED instead of moved. This means that if you have 1GB of photos in G2, you will need at least 1GB plus space for the thumbnails while migrating.

Another reason for keeping the original data is in case of migration errors: resuming a partial migration is difficult if not impossible. Erasing the partial import and starting anew is the better solution.

On a side note: the instructions on the migration page will explain that it is normal to have no visual feedback during the import: as long as the page is loading, the migration is running. You can view the log to see the status (in a seperate browser window for example) while the migration is running.

If for some reason the migration script stops because it timed out or because of an error, you can try to fix the error and hit refresh on the browser. If you get asked if you want to send the information again, click yes. The migration will now resume where it left off (if possible). This way, a failing wifi connection will not force you to restart a 30 minute migration operation.

And finally the ever important statement: this is BETA software. The script has been tested and does not seem to eat your website. That being said, it might drink your beer and run off with your car but it should be mostly harmless. Use on your own risk!

Changelog:

0.9.3:
  - Fix problems with comment import (id mismatch)

0.9.2:
  - Fix to fetch the G2 data on each page refresh, fixes problems with servers which have small session stores (for Amy)

0.9.1:
  - Fixed some typos in the debugging output (thanks to Amy)
  - Switched to assoc data storage to safe memory in the G2 extraction

0.9.0:
  - Added some GUI output
  - Cleanup of source for release
  - Added helpful messages while running
  - Fixed refreshing code
  - Added comment importing

0.8.0
  - Finished import of albums and photos
  - Added refreshing code for imports
  - Note: removed from the site because the refreshing code created an infinite loop

up to 0.7.0:
  - Internal versions to test all features

download details

Data

Size 10.56 KB
Downloads 1357
Language English
License GNU/GPL
Author This email address is being protected from spambots. You need JavaScript enabled to view it.
Website
Price
Created 2009-05-17 22:10:59
Created by admin
Changed at 2010-07-02 14:44:42
Modified by admin

Download