[SOLVED] Gallery 1 import - safe to use?

cloustalot

Joined: 2004-12-14
Posts: 30
Posted: Sun, 2005-05-01 22:02

I was wondering, is it safe to use the Gallery 1 import function to move all my images and albums over to my Gallery 2 install?

There is a "use at your own risk" warning...has anybody done this and have you had any problems?

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Sun, 2005-05-01 22:07

To my knowledge there has never been any damage to a G1 in using the migration tool since it was created... import away!

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Mon, 2005-05-02 00:28

Works a treat for me, I refresh the G2 testing board with a sample of my Gallery1 Aussie photos all the time..

 
cloustalot

Joined: 2004-12-14
Posts: 30
Posted: Mon, 2005-05-02 04:15

Well, I tried it - put in the path and this is what I get:

Forbidden
You don't have permission to access /beta/gallery2/main.php on this server.

Don't know why - I've got the permissions wide open on everything. Everything associated with gallery2 on my end is wide open. Any ideas as to why I can't import?

Thanks

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Mon, 2005-05-02 06:20

put in what path where?

 
fryfrog

Joined: 2002-10-30
Posts: 3236
Posted: Mon, 2005-05-02 08:52

You should be entering the FULL path to your G1 albums directory, like in my case its "/var/www/fryfrog.com/htdocs/albums" and in YOUR case, I doubt that "/beta/gallery2/main.php" is the path to your G1 albums dir.

 
cloustalot

Joined: 2004-12-14
Posts: 30
Posted: Mon, 2005-05-02 14:35
mindless wrote:
put in what path where?

fryfrog wrote:
You should be entering the FULL path to your G1 albums directory, like in my case its "/var/www/fryfrog.com/htdocs/albums" and in YOUR case, I doubt that "/beta/gallery2/main.php" is the path to your G1 albums dir.

I put in /var/www/html/gallery/albums in the spot on the"Gallery 1 import" page where you are supposed to put the path. If you are familiar with G2 then I am sure you know where this is on the Site Admin stuff. I get the error, "the path that you entered is not valid" directly under the path box.

So I tried another /home/virtual/site124/fst/var/www/html/gallery/albums and I got the

Forbidden
You don't have permission to access /beta/gallery2/main.php on this server.

on a new html page when I clicked the "select" button.

So - first of all - I have full permissions to everything on my Gallery 2 and Gallery 1 installs.

Second, I don't understand why on the second error it is looking in the beta/gallery2/main.php (the front page of my gallery2) for anything, and why it is telling me I don't have access, because I do. I have checked with my host on this. I have NEVER entered this path in the box, that would be dumb - I know where the gallery 1 albums are - so why is it going there?

I have tried every combination of path I can come up with to point it to my albums, but it always tells me it is invalid. So there is something keeping Gallery2 from seeing my Gallery 1 albums. The permissions are wide open.

The is the only bug keeping me from using this gallery now. Everything else works great - I realize that I could load my images one by one, but I really don't have time for that. Other people have gotten this to work - so what am I doing wrong?

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Mon, 2005-05-02 15:35

every page goes through main.php.. when you click Select it is posting the G1 path you entered to main.php. Can you save settings in various other Site Admin pages? This step of migrate module isn't really any different.. any additional information in your webserver error log?

 
jmullan
jmullan's picture

Joined: 2002-07-28
Posts: 974
Posted: Mon, 2005-05-02 16:11

It might help us to help you troubleshoot if you supply the url to your gallery1 and gallery2 installations. Also, if you would like to set up an admin account for me and email me a username and password I would be glad to troubleshoot your migration problems.

In the meantime, just to be clear, when you click "select" you get a server error, not a gallery error, right?

 
cloustalot

Joined: 2004-12-14
Posts: 30
Posted: Mon, 2005-05-02 19:56

Here is the error log - it's all gibberish to me. Refrence my above post for my actions here. If you can glean some information from this I'll be impressed - I have no idea what clues this might give....

But I will say that this error log only refrences one path I entered. This error was given me on a seperate html page when I clicked select. The other path, the /var/www/html/gallery/albums path, gives me an error directly under the imput box - I am assuming that that is a "gallery" error - as opposed to the "server" error I get with the path you see below.

[Mon May 02 08:22:14 2005] [error] [client 67.10.161.79] mod_security: Access denied with code 403. Pattern match "(/dev/shm|/tmp|/var/tmp|/var|wget|/home/virtual|/etc/)" at ARGS_VALUES [hostname "www.photograsea.com"] [uri "/beta/gallery2/main.php?g2_view=core:SiteAdmin&g2_subView=migrate:ChooseObjects&g2_albumsPath=/home/virtual/site124/fst/var/www/html/gallery/albums/&g2_navId=x60f0979c"] [unique_id MEE9YUMPQFUAAAc7HZgAAAAC]
[Mon May 02 08:25:56 2005] [error] [client 67.10.161.79] mod_security: Access denied with code 403. Pattern match "(/dev/shm|/tmp|/var/tmp|/var|wget|/home/virtual|/etc/)" at ARGS_VALUES [hostname "www.photograsea.com"] [uri "/beta/gallery2/main.php?g2_view=core:SiteAdmin&g2_subView=migrate:ChooseObjects&g2_albumsPath=/home/virtual/site124/fst/var/www/html/gallery/albums/&g2_navId=x60f0979c"] [unique_id PYF84EMPQFUAABNuAwkAAAAX]
[Mon May 02 08:26:23 2005] [error] [client 67.10.161.79] mod_security: Access denied with code 403. Pattern match "(/dev/shm|/tmp|/var/tmp|/var|wget|/home/virtual|/etc/)" at ARGS_VALUES [hostname "www.photograsea.com"] [uri "/beta/gallery2/main.php?g2_view=core:SiteAdmin&g2_subView=migrate:ChooseObjects&g2_albumsPath=/home/virtual/site124/fst/var/www/html/gallery/albums/&g2_navId=x60f0979c"] [unique_id Px4CNEMPQFUAABNuAw0AAAAX]
[Mon May 02 11:12:14 2005] [error] [client 207.46.98.74] File does not exist: /home/virtual/site124/fst/var/www/html/robots.txt
[Mon May 02 13:38:59 2005] [error] [client 67.10.161.79] mod_security: Access denied with code 403. Pattern match "(/dev/shm|/tmp|/var/tmp|/var|wget|/home/virtual|/etc/)" at ARGS_VALUES [hostname "www.photograsea.com"] [uri "/beta/gallery2/main.php?g2_view=core:SiteAdmin&g2_subView=migrate:ChooseObjects&g2_albumsPath=/home/virtual/site124/fst/var/www/html/gallery/albums/&g2_navId=x7193ce92"] [unique_id nREqkkMPQFUAAH82L-wAAAAE]

jmullan - I appreciate the offer. If this error log does not help, then I'll pm you the user/password.

 
cloustalot

Joined: 2004-12-14
Posts: 30
Posted: Tue, 2005-05-03 01:03

OK - it's done now - but I didn't do it, my host did.

He spent the last 8 hours or so trying to figure it out, and he found the right path. But, he also had to disable the security on his entire server before it would work - so he did it for me, quickly, and then re-activated his security.

Larry from Allenhost is the GREATEST!!!

God help me when I have to upgrade...... :-?

Thanks to everyone who has offered help - these forums are great because of you guys. Thanks for being so patient!