Import G2->G3 failed -> @todo G2_FUNCTION_FAILED

x-plosiv

Joined: 2003-05-29
Posts: 28
Posted: Sat, 2012-02-18 15:06

Hi

I wandt to import my pictures from my G2 (2.3.1) to G3 (3.0.2). May the import i failed. I know i'm not the first with this problem. but i have take the newest version of github.com (g2_import.php). When i take this version, i become only a 500 error from the server. when i take the original code and i start the import, so i become the follow error:

Task Import from Gallery 2 started (task id 7)
Task Import from Gallery 2 resumed (task id 7)
exception 'Exception' with message '@todo G2_FUNCTION_FAILED' in /xxx/xxx/public_html/xxx/gallery3/modules/g2_import/helpers/g2_import.php:1368
Stack trace:
#0 /xxx/xxx/public_html/xxx/gallery3/modules/g2_import/helpers/g2_import_task.php(77): g2(Object(GalleryStatus))
#1 /xxx/xxx/public_html/xxx/gallery3/modules/gallery/helpers/task.php(90): g2_import_task_Core::import(Object(Task_Model))
#2 /xxx/xxx/public_html/xxx/gallery3/modules/gallery/controllers/admin_maintenance.php(194): task_Core::run('g2_import_task:...', Array)
#3 /xxx/xxx/public_html/xxx/gallery3/modules/gallery/controllers/admin.php(62): Admin_Maintenance_Controller->run('7')
#4 [internal function]: Admin_Controller->__call('7')
#5 /xxx/xxx/public_html/xxx/gallery3/system/core/Kohana.php(331): ReflectionMethod->invokeArgs(Array, Array)
#6 /xxx/xxx/public_html/xxx/gallery3/system/core/Event.php(208): Kohana_Core::instance('maintenance', Array)
#7 /xxx/xxx/public_html/xxx/gallery3/application/Bootstrap.php(67): Event_Core::run(Object(Admin_Controller), Array)
#8 /xxx/xxx/public_html/xxx/gallery3/index.php(102): require('/xxx/xxx...')
#9 {main}

note: at this time the .htaccess is not runing on the G3. The G2 installation is a bit buggie. I can't delete pictures, comments etc.

have someone any idea how can i fix the import problem? if you wandt i give you the admin login. the url is http://www.fasnachtsfotos.ch (Path to G3 Installation is /gallery3)

thanks for your help.

 
x-plosiv

Joined: 2003-05-29
Posts: 28
Posted: Sat, 2012-02-18 17:14

now i funde the solution. the problem was the broken database from G2. With follow thread i can fix it. And now works the import :-)
http://gallery.menalto.com/node/66393