Followed all the proper directions to import G1 albums into a new G2 gallery. Everything worked fine until I ran out of disk space. So I started deleting old G1 albums that were successfully imported and thumbnails created. Now I am trying to re-import the G1 albums that were not successful the first time, however, when I goto the "Select G1 Albums" page, and I input the path to my G1 albums and click "Select", I get a blank page.
G2 URL (optional):joebones.com/gallery
G2 version: 2.0.2 core 1.0.0.2
G1 URL (optional):
G1 version:1.5.x
G1 character set:
PHP memory limit:32MB (added line to config.php)
--
PHP version (e.g. 4.3.11): 5.0.4 cgi
PHPInfo Link (see FAQ):
Webserver (e.g. Apache 1.3.33):Apache 1.3.33
Database (e.g. MySql 4.0.11):4.0.25-standard
Activated toolkits (e.g. NetPbm, GD):ArchiveUpload, ImageMagick, SquareThumb
Operating system (e.g. Linux):Linux
Browser (e.g. Firefox 1.0):Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)
Posts: 560
i guess you just created some inconsistency in your old g1, as there are 'links' in the structure which points to non-existant albums.
an idea:
step1: do an errorcheckin/correction of missing albums/pictures in your g1.
step2: try the g2import again
Posts: 4
I now get this error:
Error Detail -
Error (ERROR_BAD_PARAMETER) : Missing or not readable file: /home/epixmac/public_html/albums/travel/album.dat
in modules/migrate/classes/Gallery1DataParser.class at line 70 (ChooseObjectsView::error)
in modules/migrate/classes/Gallery1DataParser.class at line 230 (ChooseObjectsView::loadFile)
in modules/migrate/classes/Gallery1DataParser.class at line 113 (ChooseObjectsView::loadAlbumFields)
in modules/migrate/ChooseObjects.inc at line 270 (ChooseObjectsView::getAlbumList)
in modules/migrate/ChooseObjects.inc at line 217 (ChooseObjectsView::_createG1AlbumTree)
in modules/core/SiteAdmin.inc at line 153 (ChooseObjectsView::loadTemplate)
in modules/core/classes/GalleryTheme.class at line 688 (SiteAdminView::loadTemplate)
in modules/core/classes/GalleryView.class at line 285 (MatrixTheme::loadTemplate)
in main.php at line 287 (SiteAdminView::doLoadTemplate)
in main.php at line 87
in main.php at line 80
Obviously because I've deleted that album directly by deleting the folder in a shell. I cann't access the old gallery now via the web as I get error pages.
Posts: 4
I got it. I had to restore the albums I manually deleted from a backup copy. Everything imported successfully now. I still don't understand why my G1 gallery got hosed tho. Thanks.
Posts: 3
I was able to solve this problem by logging back into gallery 1 and doing 'delete album' in gallery 1 on all of the albums I deleted via rm on the command line. This apparently let gallery 1 know that the albums were gone and so that I could continue to import my remaining gallery-1 galleries.