[SOLVED] Gallery 2 migration errors :(

flasht

Joined: 2004-08-30
Posts: 53
Posted: Sat, 2005-01-22 22:26

1. Gallery 2 needs SQL? It doesnt have an option to keep data like Gallery 1.4?
2. How can i migrate comments / whole galleries / users from my 1.4 gallery?

EDIT:
I've installed MYSQL Server 4.1 and i cannot pass the mysql setup on wizard... when i click save nothing happens...

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Sun, 2005-01-23 00:04

[Moved to G2 support]

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-01-23 00:27

@1. yes, a database is required.
@2. G2 has a Migration module. activate in site admin->modules and migrate your G1 data to G2 with it.

@edit:
did you test your mysql db or is it the first time you install a database on your new mysql server?

 
flasht

Joined: 2004-08-30
Posts: 53
Posted: Sun, 2005-01-23 08:14
valiant wrote:
@2. G2 has a Migration module. activate in site admin->modules and migrate your G1 data to G2 with it.

@edit:
did you test your mysql db or is it the first time you install a database on your new mysql server?

Yes... the problem was with php sql module... but... migration tool doesnt work...

Warning: Invalid argument supplied for foreach() in .\modules\migrate\classes\Gallery1DataParser.class on line 109

Warning: Invalid argument supplied for foreach() in .\modules\migrate\ChooseObjects.inc on line 259

Warning: Invalid argument supplied for foreach() in .\modules\migrate\classes\Gallery1DataParser.class on line 138

Warning: Invalid argument supplied for foreach() in .\modules\migrate\classes\Gallery1DataParser.class on line 161

Warning: Invalid argument supplied for foreach() in .\modules\migrate\ChooseObjects.inc on line 269

It imports users (that cant login anyway!) but in "Select the albums to migrate" list is empty!

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-01-23 12:48

JMullan is the author of the migration module and it's still in development. But it should work.
I have no idea what the requirements for the migration are, but...
Perhaps your G1 version is too old.
Perhaps you selected the wrong url (gallery or album?).

Could you change your first post in this topic and change the topic title to something migration module related?

 
flasht

Joined: 2004-08-30
Posts: 53
Posted: Sun, 2005-01-23 13:03
valiant wrote:
JMullan is the author of the migration module and it's still in development. But it should work.
I have no idea what the requirements for the migration are, but...
Perhaps your G1 version is too old.
Perhaps you selected the wrong url (gallery or album?).

The path is correct for sure and the gallery version was 1.4 (the newest one)

 
fryfrog

Joined: 2002-10-30
Posts: 3236
Posted: Tue, 2005-01-25 01:59

1.4.4-pl4 is the newest one, not 1.4

 
jmullan
jmullan's picture

Joined: 2002-07-28
Posts: 974
Posted: Wed, 2005-01-26 18:47

That's pretty strange. Could I look at your G1 installation? It seems like your data files are very messed up.

If you are successfully importing users but they can't log in, then you should try a nightly build of G2 from the galleryupdates page. That is an issue that we fixed since the last Alpha.

 
flasht

Joined: 2004-08-30
Posts: 53
Posted: Wed, 2005-01-26 18:53
jmullan wrote:
That's pretty strange. Could I look at your G1 installation? It seems like your data files are very messed up.

If you are successfully importing users but they can't log in, then you should try a nightly build of G2 from the galleryupdates page. That is an issue that we fixed since the last Alpha.

I've fixed it. The first thing was that there were albums that werent really albums - showing as wanings in G1 but because of the couldnt import to G2, and the second one i didnt correctly change the .db file. But now it works.