CMMigrate freezing up on picture import

sablebadger

Joined: 2003-07-25
Posts: 6
Posted: Tue, 2007-01-30 02:51

Hi there.

Gallery Version 2.1.2
CMMigrate 0.5 Add on installed.

I'm trying to do a migration from Coppermine to Gallery. Gallery came with my new host (Dreamhost), and I've copied the old coppermine files up to my new host.

I installed the module 0.5 from the site, and went in with a snap.

I tried doing an import. On some albums it works just fine, imports perectly. Other albums it freezes up at the importing photos page. The bar never moves, and I let it sit for a long time. No error message. The album is created, but no photos make it.

Text on screen:

Importing Photos
Last Samurai Costumes LastSamuraiCostume001.jpg
Estimated time remaining: 3:14

I don't know what the difference might be? some albums transfer fine, others just freeze. any hints on what to look for?

badger

 
sablebadger

Joined: 2003-07-25
Posts: 6
Posted: Tue, 2007-01-30 03:02

Ok, I figured out how to make debug output appear (forgive me, I'm a noob.)

I see errors like this:

Notice: Undefined variable: sourceEncoding in /home/.lister/sablebadger/dragonfly.cx/gallery/modules/cmmigrate/ConfirmCmImport.inc on line 297
Notice: Undefined variable: sourceEncoding in /home/.lister/sablebadger/dragonfly.cx/gallery/modules/cmmigrate/ConfirmCmImport.inc on line 303
Notice: Undefined variable: sourceEncoding in /home/.lister/sablebadger/dragonfly.cx/gallery/modules/cmmigrate/ConfirmCmImport.inc on line 424
Notice: Undefined variable: sourceEncoding in /home/.lister/sablebadger/dragonfly.cx/gallery/modules/cmmigrate/ConfirmCmImport.inc on line 426

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2007-01-30 22:07

that's a bug. $sourceEncoding isn't initialized anywhere. i guess that's a bad copy and paste from the migrate (g1->g2 import) module.

i don't think that's the source for your problems though.

anyhow, do you happen to know how to acquire coppermine's character encoding? or is it always the same, ISO-8859-1 or UTF-8 maybe?

--------------
Enter the Gallery 2 Theme Contest today!