MIgration Path from G1 Albums invalid?

FJPhotography

Joined: 2007-03-19
Posts: 5
Posted: Mon, 2007-03-19 19:28

I have succesfully installed G2 in a seperate directory, but the same root, as a running version of G1.

Using the 'import>gallery 1' facility, I am trying to import the existing G1 albums.

However, I am constantly getting a 'The path that you entered is invalid' error. No matter what I do (checking spelling and capitalisation), it won't work. I have gone into the G1 configuration utility and manually cut and paste the album path for G1 into the G2 import box, but all to no avail.

The album directory for G1 is CHMODed to 755.

Can you guys suggest a fix?

TIA

Steve

Gallery version = 2.2 core 1.2.0
PHP version = 4.3.10 cgi
Webserver = Apache/1.3.29 (Unix) (Red-Hat/Linux) Chili!Soft-ASP/3.6.2 mod_ssl/2.8.14 OpenSSL/0.9.6b PHP/4.3.10 FrontPage/5.0.2.2510
Database = mysqlt 3.23.56, lock.system=flock
Toolkits = ArchiveUpload, Exif, Getid3, LinkItemToolkit, Thumbnail, Gd, SquareThumb
Acceleration = none, none
Operating system = Linux lemon.webfusion.co.uk 2.4.32-pipex.1.1smp #1 SMP Thu Feb 23 12:11:21 GMT 2006 i686
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/419 (KHTML, like Gecko) Safari/419.3
Rows in GalleryAccessMap table = 22
Rows in GalleryAccessSubscriberMap table = 6
Rows in GalleryUser table = 2
Rows in GalleryItem table = 4
Rows in GalleryAlbumItem table = 2
Rows in GalleryCacheMap table = 0

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2007-03-20 14:58

what path do you enter?
it has to be an absolute filesystem path (not relative) and not an url.

--------------
Doumentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
FJPhotography

Joined: 2007-03-19
Posts: 5
Posted: Tue, 2007-03-20 21:27

Hi Valiant

I enter the root, followed by the folder name in which all my G1 folders/images are stored:

public_html/albums

Does that look about right?

Cheers

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2007-03-20 21:44

no, that's not an absolute filesystem path. that's a relative one.
look in your config.php for an example. data.gallery.base in there shows how an absolute path looks like.

--------------
Doumentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
FJPhotography

Joined: 2007-03-19
Posts: 5
Posted: Tue, 2007-03-20 21:56

Worked a treat. You're a star!

Cheers

Steve