Migrating Coppermine 1.4.6 to Gallery 2

simon.hanmer

Joined: 2008-05-17
Posts: 1
Posted: Sat, 2008-05-17 14:36

Hi all,
I'm trying to migrate a Coppermine gallery to Gallery 2 - the existing gallery can be seen at http://bog.intelligentweb.co.uk (this is a development version of a live site). I've found the cmmigrate plugin and thought 'perfect' - but when I try and run it, I get the following:

Error (ERROR_BAD_PARAMETER) : /var/www/bog2/gallery2/modules/migrate/module.inc

* in modules/core/classes/helpers/GalleryPluginHelper_simple.class at line 94 (GalleryCoreApi::error)
* in modules/core/classes/helpers/GalleryPluginHelper_simple.class at line 88 (GalleryPluginHelper_simple::loadPlugin)
* in modules/core/classes/GalleryCoreApi.class at line 209 (GalleryPluginHelper_simple::loadPlugin)
* in modules/cmmigrate/ConfirmCmImport.inc at line 653 (GalleryCoreApi::loadPlugin)
* in modules/cmmigrate/ConfirmCmImport.inc at line 314 (ConfirmCmImportController::checkTruncation)
* in ??? at line 0 (ConfirmCmImportController::performCmImport)
* in modules/core/classes/GalleryTemplateAdapter.class at line 915
* in g2data_bogimg/smarty/templates_c/%%1788626790/%%3A^3A8^3A818B59%%theme.tpl.php at line 69 (GalleryTemplateAdapter::trailer)
* in lib/smarty/Smarty.class.php at line 1258
* in modules/core/classes/GallerySmarty.class at line 61 (Smarty::fetch)
* in modules/core/classes/GalleryTemplate.class at line 209 (GallerySmarty::fetch)
* in main.php at line 480 (GalleryTemplate::display)
* in main.php at line 94
* in main.php at line 83

My system information is:

Gallery version = 2.2.4 core 1.2.0.6
PHP version = 5.2.5 apache2handler
Webserver = Apache/2.2.8 (Unix) mod_ssl/2.2.8 OpenSSL/0.9.7a PHP/5.2.5
Database = mysqlt 5.0.51b-log, lock.system=flock
Toolkits = ArchiveUpload, Exif, ImageMagick, Gd
Acceleration = none, none
Operating system = Linux cerberus.intelligentweb.co.uk 2.6.9-5.ELsmp #1 SMP Wed Jan 5 19:30:39 EST 2005 i686
Default theme = matrix
gettext = disabled
Locale = en_GB
Browser = Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.8.1.14) Gecko/20080418 Ubuntu/7.10 (gutsy) Firefox/2.0.0.14
Rows in GalleryAccessMap table = 17
Rows in GalleryAccessSubscriberMap table = 9
Rows in GalleryUser table = 4
Rows in GalleryItem table = 9
Rows in GalleryAlbumItem table = 7
Rows in GalleryCacheMap table = 0

and phpinfo is available at http://bog.intelligentweb.co.uk/test.php

PHP version: 5.2.5
Webserver (e.g. Apache 1.3.33): Apache 2.2.8
Database (e.g. MySql 5.0.32): MySQL 5.0.51b
Activated toolkits (e.g. NetPbm, GD): ImageMagick, GD
Operating system (e.g. Linux): Ubuntu 7.10
Browser (e.g. Firefox 2.0): Firefox 2.0.0.14

Can anyone offer any suggestions, or any other way to get the content into Gallery2 - I'd prefer to be able to bring captions etc, but not worried about ratings/comments etc.

Thanks,
Simon

 
niemarie

Joined: 2008-10-01
Posts: 1
Posted: Wed, 2008-10-01 13:50

Hey!

If you (or someone else) is still looking for an answer:
I had the same errors as well, so I messed around with the plugins a bit, and apparently I just had to install the "Migrate" module for the "Cmmigrate" module to work. I'm not saying this is the solution for all cases, but for me it was enough to let the module do its magic. :)

Oh right, and I'm not sure if you know this already, but the "cmmigrate" module only works if Coppermine is NOT bridged (with SMF, for example).

I hope this was useful to someone.. :)