"Import Gallery 1" doesn't show all albums!

willshak

Joined: 2004-08-14
Posts: 5
Posted: Wed, 2006-12-27 13:12

Symptom:

80% of my Gallery 1 albums import OK into Gallery 2, but 20% of the Gallery 1 albums don't show up on the Gallery 2 import page (i.e. in the "Source:" multi select control), so I can't import them.

Any & all help much appreciated!

Kristian

Background:

* I have followed the migration instructions, including running find_orphans and validate_albums, which didn't find any problems.

* The problem is the same both in Firefox 1.5 and IE 6

* Both G1 & G2 run on the same Windows XP SP2 computer, with all albums having the same file permissions

* Albums which DO show up for import include:
- http://erectum.dyndns.org/galleryNew/vietnam2006
- http://erectum.dyndns.org/galleryNew/Berits-arkiv
- http://erectum.dyndns.org/galleryNew/bohag-gbg

* Albums which DON'T show up for import include:
- http://erectum.dyndns.org/galleryNew/wedberg-fifties
- http://erectum.dyndns.org/galleryNew/wedberg-sixties
- http://erectum.dyndns.org/galleryNew/wedberg-seventies
- http://erectum.dyndns.org/galleryNew/bohag-torpet

* G2 info:
G2 URL (optional): http://erectum.dyndns.org/gallery
Gallery version = 2.1.2 core 1.1.0.2
PHP version = 4.3.3 apache
Webserver = Apache/1.3.33 (Win32) PHP/4.3.3
Database = mysql 4.1.21-community-nt, lock.system=database
Toolkits = Exif, Thumbnail
Acceleration = none, none
Operating system = Windows NT DUNG 5.1 build 2600
Default theme = matrix
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.9) Gecko/20061206 Firefox/1.5.0.9

* G1 info:
G1 version: v1.5.5-pl1
G1 URL (optional): http://erectum.dyndns.org/galleryNew
Otherwise same server, OS, PHP, Apache as G2

* PHP details, see:
- http://erectum.dyndns.org/tmp/phpinfo.php.htm

 
willshak

Joined: 2004-08-14
Posts: 5
Posted: Tue, 2007-01-02 12:57

BUMP: Any ideas what might cause this, or how to troubleshoot it?

Thanks again/Kristian

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2007-01-02 17:06

Maybe your gallery 1 data structures are not 100% intact.
I don't know the Gallery 1 integrity checks, thus I can't help you there a lot.

 
willshak

Joined: 2004-08-14
Posts: 5
Posted: Thu, 2007-01-04 14:52

All G1 albums work OK, and "Validate Albums" and "Find orphans" don't find any issues.

I've attached 2 'buffered' debug output files: the missing albums are processed during the import, as shown in "debug_output.htm", and there are no error messages that I can find:

file_exists(C:\www\htdocs\albumsNew\wedberg-sixties\album.dat)
is_readable(C:\www\htdocs\albumsNew\wedberg-sixties\album.dat)
file(C:\www\htdocs\albumsNew\wedberg-sixties\album.dat, )

But neither the debug console nor the finished web page show the missing albums.

Since the missing albums are processed, but don't show up in the debug console or web page, does that indicate where the problem lies? Any ideas on how to troubleshoot this further?

Thanks!Kristian

 
willshak

Joined: 2004-08-14
Posts: 5
Posted: Mon, 2008-02-11 02:27

SOLVED via work around:

A year later I upgraded PHP4 to PHP5, Apache 1.3 to Apache 2.2, Gallery 1 & 2 to the latest versions and tried again, and still got the exact same issue. Work around:

By moving the subset of G1 albums that didn't show up in the G2 import list to the top of the G1 hierarchy, I was able to import them too. Phew!

Kristian