Problem importing G1-Album with G2-beta2

temp

Joined: 2005-04-13
Posts: 16
Posted: Wed, 2005-04-13 12:33

Hi all!

Just installed Beta2, works fine and looks great!

However, when I try to migrate my old Gallery1 Albums I'm getting the following error for ONE sub-album, all others are migrated without problems, i have checked this several times.

The error is:
Warning: Division by zero in /var/www/gallery2.fynns-welt.de/htdocs/modules/migrate/ConfirmImport.inc on line 375

It appears when he wants to start the import-process.

Any way I can provide you with further information or debug-output?

Bye, Stephan
----

Gallery URL (optional):
Gallery version: Gallery2.beta2
Webserver (with version): apache-2.0.52
Datatabase (with version): mysql-4.0.24
PHP version (eg 4.2.1): 5.0.3
phpinfo URL (optional):
Graphics Toolkit(s): netpbm, imagemagick, gd
Operating system: Gentoo Linux
Web browser/version: Internet Explorer 6
G1 version (for migration bugs): gallery-1.4.4_p6

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2005-04-13 14:39

looks like a bug in the migration module.
could you post the debug output?
is this subalbum special in any case? is it empty?

 
jmullan
jmullan's picture

Joined: 2002-07-28
Posts: 974
Posted: Wed, 2005-04-13 15:26

temp, that was a perfect error report

There won't be any debug output because that's a major php error.

Are there any items in that album? From the error, it looks like there aren't.

 
temp

Joined: 2005-04-13
Posts: 16
Posted: Thu, 2005-04-14 06:55

thanks ;-)

Should've thought of this for myself, there are NO pictures in this sub-album.

Hope this helps!

 
kmccann

Joined: 2005-04-14
Posts: 6
Posted: Thu, 2005-04-14 16:20

I ran into the same problem, but the album I am trying to import is *not* empty. It has 45 photos in it.

- Kevin

edit by valiant: see http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&t=28844

 
jmullan
jmullan's picture

Joined: 2002-07-28
Posts: 974
Posted: Thu, 2005-04-14 17:29

Okay, I just checked in a change for this. It should be in the nightly that I'm running right now (not in the night). Please try that and let me know if you have any issues. This may be just a symptom of other more insidious behavior. Thanks!