Import G2 to G3 fail " The path you entered is not a Gallery 2 installation. "

Aerorueegg

Joined: 2013-09-02
Posts: 3
Posted: Mon, 2013-09-02 09:57

Hi There (sorry for my English, its horrible...)

Since 2 Month i am trying to import my gallery2 installation to my new gallery3 installation with the Admin>>Settings>> Gallery 2 import Module of the Gallery 3. And the whole time i get the Error " The path you entered is not a Gallery 2 installation. "

I verified the path many times and also my Host confirmed this, so the path have to be right.
I also Uptdated the Gallery2 installation.

some System information of the Gallery2 installation (Subdomain of the Mainpage):

Gallery-Version = 2.3.2 Kern 1.3.0.2
API = Core 7.54, Modul 3.9, Motiv 2.6, Eingebettet 1.5
PHP-Version = 5.3.25 cgi-fcgi
Webserver = Apache
Datenbank = mysqli 5.5.28-cll, lock.system=flock

The gallery 3 installation runs on the same Server on an other Subdomain

Gallery3 Version: 3.0.8

My Host also sent me Parts of an Error-Report as he tried the Import:

<?php defined('SYSPATH') or die('No direct script access.'); ?>
2013-08-06 16:11:05 +02:00 --- error: File not found: favicon.ico
2013-08-06 16:11:12 +02:00 --- error: File not found: favicon.ico
2013-08-06 16:14:35 +02:00 --- error: File not found: favicon.ico
2013-08-06 16:14:35 +02:00 --- error: File not found: favicon.ico
2013-08-06 16:14:47 +02:00 --- error: Kohana_Exception [ 403 ]: @todo FORBIDDEN
/home/httpd/vhosts/mywebsite/subdomains/gallery3/httpdocs/modules/gallery/helpers/access.php [ 202 ]
#0 /home/httpd/vhosts/mywebsite/subdomains/gallery3/httpdocs/modules/gallery/helpers/access.php(425): access_Core::forbidden()
#1 /home/httpd/vhosts/mywebsite/subdomains/gallery3/httpdocs/modules/g2_import/controllers/admin_g2_import.php(76): access_Core::verify_csrf()
#2 [internal function]: Admin_g2_import_Controller->save()
#3 /home/httpd/vhosts/mywebsite/subdomains/gallery3/httpdocs/modules/gallery/controllers/admin.php(62): call_user_func_array(Array, Array)
#4 [internal function]: Admin_Controller->__call('g2_import', Array)
#5 /home/httpd/vhosts/mywebsite/subdomains/gallery3/httpdocs/system/core/Kohana.php(331): ReflectionMethod->invokeArgs(Object(Admin_Controller), Array)
#6 [internal function]: Kohana_Core::instance(NULL)
#7 /home/httpd/vhosts/mywebsite/subdomains/gallery3/httpdocs/system/core/Event.php(208): call_user_func_array(Array, Array)
#8 /home/httpd/vhosts/mywebsite/subdomains/gallery3/httpdocs/application/Bootstrap.php(79): Event_Core::run('system.execute')
#9 /home/httpd/vhosts/mywebsite/subdomains/gallery3/httpdocs/index.php(119): require('/home/httpd/vho...')
#10 {main}
2013-08-06 16:14:47 +02:00 --- error: Missing messages entry kohana/core.errors.403 for message kohana/core
2013-08-06 16:21:07 +02:00 --- error: Kohana_Exception [ 403 ]: @todo FORBIDDEN
/home/httpd/vhosts/mywebsite/subdomains/gallery3/httpdocs/modules/gallery/helpers/access.php [ 202 ]
#0 /home/httpd/vhosts/mywebsite/subdomains/gallery3/httpdocs/modules/gallery/helpers/access.php(425): access_Core::forbidden()
#1 /home/httpd/vhosts/mywebsite/subdomains/gallery3/httpdocs/modules/g2_import/controllers/admin_g2_import.php(76): access_Core::verify_csrf()
#2 [internal function]: Admin_g2_import_Controller->save()
#3 /home/httpd/vhosts/mywebsite/subdomains/gallery3/httpdocs/modules/gallery/controllers/admin.php(62): call_user_func_array(Array, Array)
#4 [internal function]: Admin_Controller->__call('g2_import', Array)
#5 /home/httpd/vhosts/mywebsite/subdomains/gallery3/httpdocs/system/core/Kohana.php(331): ReflectionMethod->invokeArgs(Object(Admin_Controller), Array)
#6 [internal function]: Kohana_Core::instance(NULL)
#7 /home/httpd/vhosts/mywebsite/subdomains/gallery3/httpdocs/system/core/Event.php(208): call_user_func_array(Array, Array)
#8 /home/httpd/vhosts/mywebsite/subdomains/gallery3/httpdocs/application/Bootstrap.php(79): Event_Core::run('system.execute')
#9 /home/httpd/vhosts/mywebsite/subdomains/gallery3/httpdocs/index.php(119): require('/home/httpd/vho...')
#10 {main}
2013-08-06 16:21:07 +02:00 --- error: Missing messages entry kohana/core.errors.403 for message kohana/core

Do anybody have an idea what i have to do to bring this to work?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2013-09-02 14:46
Quote:
on the same Server on an other Subdomain

Perhaps that is the issue. Get it working on the same subdomain and see if that works then you can move it later.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Aerorueegg

Joined: 2013-09-02
Posts: 3
Posted: Wed, 2013-09-04 11:54

Hi Dave

Ok, i'll try that and write you back. (i'll have a few days).

How can i move an existing installation from one subdomain to another? Is it possible to "clone" an installation to an other subdomain?

Fabian

 
tempg

Joined: 2005-12-17
Posts: 1857
Posted: Sun, 2013-09-08 15:29
Aerorueegg wrote:
How can i move an existing installation from one subdomain to another?

With Gallery 3, it will be simple to just move the entire Gallery folder and update the htaccess file (if necessary); that will be most of what's required.

For now, as @floridave suggested, first focus on getting G2 migrated over to G3, then later get G3 to the subdomain.

 
Aerorueegg

Joined: 2013-09-02
Posts: 3
Posted: Wed, 2013-09-11 09:10

Hi Dave, Hi tempg

It workt! Thank you very mutch.

Greez