Add from server timing out

henny

Joined: 2005-10-02
Posts: 4
Posted: Thu, 2011-07-28 10:45

Hi all, Im trying to use server add in gallery 3 to add aprox 14,000 images accross 100+ albums, all the images are on the server in folders per album, the problem is when i go to start the import all looks good but it stalls after about 80 images, i keep having to click pause then resume in the maintence tasks of the adimin page. any ideas?

Cheers

Ian

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2011-07-28 13:08

your server or host has some limit imposed and it shutting down the process.
What do the galelry3/var/logs say?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
henny

Joined: 2005-10-02
Posts: 4
Posted: Thu, 2011-07-28 13:15

see below

<?php defined('SYSPATH') or die('No direct script access.'); ?>

2011-07-28 13:58:30 +01:00 --- error: Caught exception rebuilding image: Kevin MG 0515
@todo EMPTY_INPUT_FILE
#0 /datasan/www/vhosts/fcho.newimage.co.uk/httpdocs/modules/gallery/helpers/graphics.php(173): gallery_graphics_Core::resize('/datasan/www/vh...', '/datasan/www/vh...', Array, Object(Item_Model))
#1 /datasan/www/vhosts/fcho.newimage.co.uk/httpdocs/modules/gallery/helpers/gallery_task.php(107): graphics_Core::generate('gallery_graphic...', Array)
#2 /datasan/www/vhosts/fcho.newimage.co.uk/httpdocs/modules/gallery/helpers/task.php(90): gallery_task_Core::rebuild_dirty_images(Object(Item_Model))
#3 /datasan/www/vhosts/fcho.newimage.co.uk/httpdocs/modules/gallery/controllers/admin_maintenance.php(194): task_Core::run(Object(Task_Model))
#4 /datasan/www/vhosts/fcho.newimage.co.uk/httpdocs/modules/gallery/controllers/admin.php(62): Admin_Maintenance_Controller->run('gallery_task::r...', Array)
#5 [internal function]: Admin_Controller->__call('6')
#6 /datasan/www/vhosts/fcho.newimage.co.uk/httpdocs/system/core/Kohana.php(331): ReflectionMethod->invokeArgs('6')
#7 /datasan/www/vhosts/fcho.newimage.co.uk/httpdocs/system/core/Event.php(208): Kohana_Core::instance(Array, Array)
#8 /datasan/www/vhosts/fcho.newimage.co.uk/httpdocs/application/Bootstrap.php(67): Event_Core::run('maintenance', Array)
#9 /datasan/www/vhosts/fcho.newimage.co.uk/httpdocs/index.php(102): require('/datasan/www/vh...')
#10 {main}

<?php defined('SYSPATH') or die('No direct script access.'); ?>

2011-07-26 13:34:10 +01:00 --- error: Kohana_Exception [ 403 ]: @todo FORBIDDEN
/datasan/www/vhosts/fcho.newimage.co.uk/httpdocs/modules/gallery/helpers/access.php [ 202 ]
#0 /datasan/www/vhosts/fcho.newimage.co.uk/httpdocs/modules/gallery/helpers/access.php(425): access_Core::forbidden()
#1 /datasan/www/vhosts/fcho.newimage.co.uk/httpdocs/modules/server_add/controllers/admin_server_add.php(60): access_Core::verify_csrf()
#2 /datasan/www/vhosts/fcho.newimage.co.uk/httpdocs/modules/gallery/controllers/admin.php(62): Admin_Server_Add_Controller->remove_path()
#3 [internal function]: Admin_Controller->__call(Array, Array)
#4 /datasan/www/vhosts/fcho.newimage.co.uk/httpdocs/system/core/Kohana.php(331): ReflectionMethod->invokeArgs('server_add', Array)
#5 /datasan/www/vhosts/fcho.newimage.co.uk/httpdocs/system/core/Event.php(208): Kohana_Core::instance(Object(Admin_Controller), Array)
#6 /datasan/www/vhosts/fcho.newimage.co.uk/httpdocs/application/Bootstrap.php(67): Event_Core::run(NULL)
#7 /datasan/www/vhosts/fcho.newimage.co.uk/httpdocs/index.php(102): require('/datasan/www/vh...')
#8 {main}
2011-07-26 13:34:10 +01:00 --- error: Missing messages entry kohana/core.errors.403 for message kohana/core
2011-07-26 14:33:08 +01:00 --- error: File not found: albums/album/0001_FCHO_1136
2011-07-26 14:33:33 +01:00 --- error: File not found: albums/album/0001_FCHO_1126
2011-07-26 15:20:40 +01:00 --- error: File not found: albums/album_014/0020_FCHO_9922

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2011-07-28 16:40
Quote:
2011-07-28 13:58:30 +01:00 --- error: Caught exception rebuilding image: Kevin MG 0515
@todo EMPTY_INPUT_FILE
#0 /datasan/www/vhosts/fcho.newimage.co.uk/httpdocs/modules/gallery/helpers/graphics.php(173): gallery_graphics_Core::resize('/datasan/www/vh...', '/datasan/www/vh...', Array, Object(Item_Model))

the image toolkit just gave up or was terminated. Unable to tell why.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2011-07-28 16:48

If you're using GD, try using ImageMagick. Admin > Settings > Graphics
____________________________________________
Like Gallery? Like the support? Donate now!