SOLVED: Problem upgrading from 1.6 to 2.1.2
|Posted: Sat, 2007-02-10 07:41|
I am trying to upgrade my gallery from 1.6 to 2.1.2. Followed the instructions on: http://codex.gallery2.org/Gallery2:migration
I am able to access my old gallery (1.6) as well as new gallery 2 without any problem. I am able to add a new album/photo in both the galleries at this point.
I am now trying to import the albums from old 1.6 gallery to 2.0 and running into the following issue. The warning that shows up at the top of the pages are:
Warning: Invalid argument supplied for foreach() in /home/httpd/vhosts/cinefashions.com/httpdocs/gallery/modules/migrate/classes/Gallery1DataParser.class on line 165
Warning: Invalid argument supplied for foreach() in /home/httpd/vhosts/cinefashions.com/httpdocs/gallery/modules/migrate/ChooseObjects.inc on line 288
Looking up on google this may be related to album.dat being empty or corrupt. Well, my albumdb.dat simply shows:
# more albums/albumdb.dat
Not sure if this is the issue. If it is, how do I go about rebuilding this file? The 1.6 doesn't seem to have any issue with this but may be the import script is choking up on this.
Any pointers would be very much appreciated. Thank you.
Gallery version = 2.1.2 core 220.127.116.11