"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: * Albums which DON'T show up for import include: * G2 info: * G1 info: * PHP details, see: |
|
Posts: 5
BUMP: Any ideas what might cause this, or how to troubleshoot it?
Thanks again/Kristian
Posts: 32509
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.
Posts: 5
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
Posts: 5
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