G2 import file path - solved - but found a possible bug....

spenlinhauer

Joined: 2006-05-17
Posts: 17
Posted: Sat, 2009-10-24 18:34

**SOLVED - but here for reference** Possible bug - Read below.

I have just installed a G3 Beta 3 next to our gallery 2.3 install.

It appears to have installed ok, but I am trying to import my G2.3 install and I can't seem to get the file path correct.

I'd love an answer here and it might be good to add some examples file paths to that page so that we know the proper formatting.

I have tried every which format I can think of.....

The question becomes how far back in the system path is needed?
or can an http: address be used?

Anyway - waiting to test.

SEPP!

OK - Nevermind - I found it by looking in the phpinfo.php file.
search for: DOCUMENT_ROOT and then add the path to the gallery from your user root folder.
(My webhost gave me the wrong username path!)

Example:
DOCUMENT_ROOT: /home/mywebhostloginname/public_html
Gallery 2.3 folder: /gallery23/config.php

final entry in upgrade path: /home/mywebhostname/public_html/gallery23/config.php

HOWEVER, possible bug - if I enter: /home/mywebhostname/public_html/gallery23
it will auto return: /home/mywebhostname/public_html/gallery23/config.php
If I enter: /home/mywebhostname/public_html/gallery23/
it will auto return: /home/mywebhostname/public_html/gallery23//config.php
(note the double // between gallery23 and config.php)

Not sure if this is important.

SEPP!

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22888
Posted: Sat, 2009-10-24 21:07

Please add your notes for others in the documentation for this module:
http://codex.gallery2.org/Gallery3:Modules:serveradd

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
spenlinhauer

Joined: 2006-05-17
Posts: 17
Posted: Sun, 2009-10-25 17:30

I looked at that - not sure how or where to do it...

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22888
Posted: Sun, 2009-10-25 19:19

@how: use your forums username and password to login. Then you can edit the page by clicking the edit button.

@where: Docs are for users by users. Your guess would be better than mine as I did not have that issue.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team