[SOLVED] Error migrating Gallery1 to Gallery 2 CVS

matt1as

Joined: 2005-05-06
Posts: 2
Posted: Fri, 2005-05-06 07:56

I recieve the following error when trying to migrate my gallery 1.4-pl2 to gallery 2 cvs.

I totally agree about there error, there's no album.dat file where it thinks there should be one.

 Error (ERROR_BAD_PARAMETER) : Missing or not readable file: /home/mattias/gallery/albums/./album.dat

    * in modules/migrate/classes/Gallery1DataParser.class at line 70 (gallerystatus::error)
    * in modules/migrate/classes/Gallery1DataParser.class at line 230 (gallery1dataparser::loadfile)
    * in modules/migrate/classes/Gallery1DataParser.class at line 113 (gallery1dataparser::loadalbumfields)
    * in modules/migrate/ChooseObjects.inc at line 262 (gallery1dataparser::getalbumlist)
    * in modules/migrate/ChooseObjects.inc at line 217 (chooseobjectsview::_createg1albumtree)
    * in modules/core/SiteAdmin.inc at line 161 (chooseobjectsview::loadtemplate)
    * in modules/core/classes/GalleryView.class at line 214 (siteadminview::loadtemplate)
    * in main.php at line 295 (siteadminview::doloadtemplate)
    * in main.php at line 79
    * in main.php at line 70

----

Gallery URL (optional):http://gallery.karamell.nu/~mattias/gallery2/ and http://gallery.karamell.nu
Gallery version: 2.0-beta-2+ (CVS per 2005-05-06)
Webserver (with version): Apache/1.3.27 (Unix) (Red-Hat/Linux) PHP/4.3.11 mod_jk/1.2.2
Datatabase (with version): mysql 3.23.58
PHP version (eg 4.2.1): 4.3.11 apache
phpinfo URL (optional):
Graphics Toolkit(s): gd
Operating system: Linux Redhat 7.3
Web browser/version:
G1 version (for migration bugs): v1.4-pl2
[/code]

 
matt1as

Joined: 2005-05-06
Posts: 2
Posted: Fri, 2005-05-06 09:11

It turns out my albumdb.dat in the old gallery was corrupt and included .., . and .users.

When I removed them and rebuilt albumdb.dat everything seems to work fine. :D

 
jmullan
jmullan's picture

Joined: 2002-07-28
Posts: 974
Posted: Fri, 2005-05-06 15:58

Glad to be of... help?