g2import problems

adhawkins

Joined: 2006-07-28
Posts: 8
Posted: Fri, 2012-05-25 14:15

Hi,

I am trying to import data from one instance of an existing multi-site g2 installation into gallery3. I've installed g3 into a new subdomain, and the old installation is elsewhere on the same server:

New install: gallery.mydomain.com
Old install: www.mydomain.com/gallery

I've tried passing the path to the old installation into the import module, and it says that the directory doesn't exist. I thought that it might be a permissions issue, so I copied the old directory into a sub-directory of the new install, and pointed the import module at this directory. This also fails, saying that the directory isn't a valid gallery2 installation.

Can anyone offer any advice?

Thanks

Andy

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Fri, 2012-05-25 14:59

You need a working G2 install
and the path should be a full system path ie. /home/username/mydomain.com/public_html/gallery

-s

 
adhawkins

Joined: 2006-07-28
Posts: 8
Posted: Fri, 2012-05-25 15:27

My g2 install is working fine, and I am passing it a full path.

The path I'm passing it to is the instance of a g2 multisite installation - the location that contains the following files and directories:

config.php
embed.php
g2data
index.php
main.php
phpinfo.php
upgrade

Note that this path is part of a different domain on the shared server (as I said in the original post).

Previously it was saying that this path did not exist. However, now it's generating a 500 server error.

Any suggestions?

Andy

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Fri, 2012-05-25 15:42

You'll have to look at server logs to see what a 500 error is about.

-s

 
adhawkins

Joined: 2006-07-28
Posts: 8
Posted: Fri, 2012-05-25 16:29

There's nothing appearing in the server's error_log file.

Any other suggestions?

Andy

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Fri, 2012-05-25 16:57

sometimes you can watch the net tab in firebug to see the response. Or fiddler2

-s

 
adhawkins

Joined: 2006-07-28
Posts: 8
Posted: Fri, 2012-05-25 18:25

Well, the response is a 500. I won't give you any more information than that if you watch the actual traffic.

Andy