Importing a few albums at a time fails

bmagerko

Joined: 2005-06-20
Posts: 7
Posted: Fri, 2008-07-11 19:35


G2 URL (optional): http://magerko.org/gallery
Gallery version = 2.2.4 core 1.2.0.6
PHP version = 4.4.8 cgi
Webserver = Apache/2.0.61 (Unix) PHP/4.4.7 mod_ssl/2.0.61 OpenSSL/0.9.7e mod_fastcgi/2.4.2 DAV/2 SVN/1.4.2
Database = mysqlt 5.0.45-log, lock.system=flock
Toolkits = ArchiveUpload, Exif, Ffmpeg, Getid3, LinkItemToolkit, NetPBM, Thumbnail
Acceleration = none, none
Operating system = Linux mark 2.6.24.2-grsec-p4-peon-1.1.2-grsec #1 SMP Wed Feb 20 15:30:29 PST 2008 i686
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9) Gecko/2008061004 Firefox/3.0
Rows in GalleryAccessMap table = 1299
Rows in GalleryAccessSubscriberMap table = 1928
Rows in GalleryUser table = 34
Rows in GalleryItem table = 1927
Rows in GalleryAlbumItem table = 146
Rows in GalleryCacheMap table = 0

So, I am running into issues with importing my gallery 1 albums into gallery 2. I know there are memory issues and workarounds, but honestly I have no idea how to up the PHP limit with my Dreamhost server...so I figured I'd just do things the hard way and import the albums a few at a time. So, here is the problem: when I import several sub-albums, I can't figure out how to properly preserve the path. For example, if I have the following album hierarchy:

Main page
Album1
Album1.1
Album1.2
Album1.3
Album2

And I import the following:

Main page
Album1
Album1.1
Album1.2

And then do the following import:
Main page
Album1
Album1.3

Or this:

Album 1.3

...Album 1.3 will end up on the main page, losing its parent album information. I could just move things around manually, but the tree structure is pretty complicated AND I'm not positive the photos are all where they should be since I have this visible error.

What is the proper way to select folders using the import module to preserve the album hierarchy when importing sub-albums a few at a time?

Thanks in advance.