When trying to import from my G1 gallery, I get the following errors:
Quote:
Error (ERROR_BAD_PARAMETER) : Missing or not readable file: /home/minton/public_html/galleries/albums/UT2K3/photos.dat
* in modules/migrate/classes/Gallery1DataParser.class at line 69 (gallerystatus::error)
* in modules/migrate/classes/Gallery1DataParser.class at line 264 (gallery1dataparser::loadfile)
* in modules/migrate/ConfirmImport.inc at line 634 (gallery1dataparser::getphotos)
* in main.php at line 170 (confirmimportcontroller::handlerequest)
* in main.php at line 47
* in main.php at line 40
I've looked through the albums subfolders, and I don't have any photos.dat files whatsoever.
Any ideas on how to proceed at this point?
----
Gallery URL (optional):
Gallery version: v1.3-cvs-rc4
Webserver (with version): Apache 1.3.33
Datatabase (with version):
PHP version (eg 4.2.1): 4.3.10
phpinfo URL (optional):
Graphics Toolkit(s): NetPBM
Operating system: Linux
Web browser/version:
Posts: 7994
I don't think it's documented anywhere, but I think that the G1 migrater can only handle G1.4+. I'd upgrade to the latest G1 and then try again (it's a good idea to upgrade anyway since there are a ton of security+feature enhancements).
Posts: 19
With probably 1000+ photos, I'm a little reluctant, but if you're sure the upgrade will work I'll give it a go.
Is there a FAQ on upgrading from my version to the latest G1 version?
Posts: 7994
These should get you going:
Upgrading documentation
FAQ
Posts: 9
I'm having the same issues. I just upgraded my G1 to the latest CVS version, and I still didn't get the upgrade process to create the missing photos.dat file. Here is some info from my system which hopefully help out:
-------------------------------------------
------------------------------------------------------------
Here's a dump of the directory I'm trying to convert over to G2
---------------------------------------------------
Posts: 19
FWIW, I got the photos.dat files created somehow during the upgrade. The upgrade went smoothly, thanks for the link.
However, the import into G2 still didn't. It imported some albums, then gave the following errors:
Error (ERROR_BAD_PATH):
* in file modules/core/classes/GalleryPhotoItem.class at line 122 (gallerystatus::error)
* in file modules/core/classes/helpers/GalleryItemHelper_medium.class at line 206 (galleryphotoitem::create)
* in file modules/core/classes/GalleryCoreApi.class at line 1322 (galleryitemhelper_medium::additemtoalbum)
* in file modules/migrate/ConfirmImport.inc at line 683 (gallerycoreapi::additemtoalbum)
* in file main.php at line 170 (confirmimportcontroller::handlerequest)
* in file main.php at line 47
* in file main.php at line 40
Posts: 974
digiital, after you upgraded, did you visit and/or upgrade all of the albums in G1 individually?
BillMinton, could you send me your G1 and G2 urls? Do you have any idea which item from G1 failed?
Let me know. Thanks!
Posts: 19
I didn't visit them all. If there was an option during the upgrade to do that, I'm sure I would have chosen it though.
G1 - http://www.themintons.org/galleries
G2 - http://www.themintons.org/gallery2
G2 got to here - http://www.themintons.org/gallery2/main.php?g2_view=core:ShowItem&g2_itemId=286&g2_page=59
Corresponding G1 page here - http://www.themintons.org/galleries/jadas_first_pictures?page=59
I just noticed...look at the image it failed on. It's not showing up for some reason.
That's the first time I've ever seen any of my images just not work. I wonder if the G1 upgrade did that?
Uh oh....I just looked on the FTP site, and that file is actually gone. That concerns me.
Edit - I just looked at some site backups going back to 12/23/04, and that image wasn't in them. I'm not sure what happened to it, but it wasn't the result of any of this.
Posts: 974
Whenever I finish the on-the-fly status stuff I might be able to do something to ignore those errors along the way. Until then, we have to count on up-to-date, unbroken G1 installs.
Posts: 19
That makes sense. I just wanted to be sure I updated my post to reflect that the problem wasn't Gallery per say. Software is difficult enough to write without people adding errors to the error list that don't really belong there.
Posts: 9
Ya I did, I had it auto convert all the albums, and for kicks, I'll go directly to my album14(which is the screwed up one) . I just upgraded to v1.4.4-pl4
Album: Swimming Videos
Upgrading album properties... done.
Upgrading item 1 of 20 . . . done.
Upgrading item 2 of 20 . . . done.
Upgrading item 3 of 20 . . . done.
Upgrading item 4 of 20 . . . done.
Upgrading item 5 of 20 . . . done.
Upgrading item 6 of 20 . . . done.
Upgrading item 7 of 20 . . . done.
Upgrading item 8 of 20 . . . done.
Upgrading item 9 of 20 . . . done.
Upgrading item 10 of 20 . . . done.
Upgrading item 11 of 20 . . . done.
Upgrading item 12 of 20 . . . done.
Upgrading item 13 of 20 . . . done.
Upgrading item 14 of 20 . . . done.
Upgrading item 15 of 20 . . . done.
Upgrading item 16 of 20 . . . done.
Upgrading item 17 of 20 . . . done.
Upgrading item 18 of 20 . . . done.
Upgrading item 19 of 20 . . . done.
Upgrading item 20 of 20 . . . done.
Having a look at album14, and I see NO photos.dat file was created.