#2 Importing large sets fails

v1.0 (example)
open
nobody
5
2007-08-08
2007-08-08
Anonymous
No

I'm trying to import sets that have 600-1200 images but they only import the first 500 images and then stop after that.

Discussion

  • Logged In: NO

    You are having better luck than me, mine timed out and keeps crashing at trying import 30 images.

     
  • Logged In: NO

    I'm getting much less... like 35-40 images and it dies. I've set the memory limit' in PHP way up, that doesn't seem to be the issue.

     
  • Ron Guerin
    Ron Guerin
    2008-12-08

    I believe this is because there's a bug in the current version (0.9.1) that results in the temporary files created for each image not being deleted after the upload. I found this out when my /tmp drive ran full from uploading a large number of photos.

    In: Gallery2Flickr.class.php
    after Line 523: GalleryCoreApi::releaseLocks($lock);
    insert this line: @$platform->unlink($path);

     
  • JAB van Ree
    JAB van Ree
    2009-06-27

    I'm seeing similar issues, usually last line in the Apache error_log is like this :

    [Fri Mar 27 01:38:51 2009] [error] [client xx.xx.xx.xx] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/fotodump/public_html/modules/Gallery2Flickr/classes/Gallery2Flickr.class.php on line 234, referer: http://fotodump.xxxxxxxxxxxx/main.php

    This is NOT a default PHP timeout (values in my php.ini are much different)