Hello/Hi/Greetings,
Wheever I try to run batch manager to delete the doubled pictures I get the error message below
Fatal error: Maximum execution time of 30 seconds exceeded in ../admin/batch_manager.php on line 437
I need your help
Piwigo version: 2.9x
PHP version: 5.4.45
MySQL version: 5.5.51-38.2
Piwigo URL: http://www.medyastock.com
Offline
How many pictures are you deleting?
Offline
It occurs while displaying the dublicates files before deleting the pictures. The category which I tried to display the dublicated files in has got 716 pictures. batch manager works and displays the all of 716 photos while listing normally. I only face the problem while listing the DUBLICATES files, not while listing photos in the category with ALL and the other options
Last edited by Fazli (2017-08-17 09:06:10)
Offline
Your server, normally, only has a limited amount of RAM/CPU to handle these requests (specified by your web host) so maybe you are trying to delete too many at a time, or have some other related issue.
I am not sure what you mean by duplicate files, Piwigo does create/cache a number of images depending on what sizes should be available in the album. At least double the original image amount is a minimum.
If in fact you have added the same pictures twice or more to the same album, and they are not supposed to be there, you should be able to delete them using the proper sorting in batch manager, worst case, one by one.
Offline
Are you on Piwigo 2.9.1 or 2.9.0? (yes, that makes a difference when it comes to duplicate management, see [Github] Piwigo commit 149f55ab )
How many photos do you have in your Piwigo?
What do you have in your file admin/batch_manager.php line 437?
Offline
I use piwigo 2.9.1 version. It has got 44848 photos totally. But the gallery in the website which I want to have it checked for dublicated photos has got 716 photos
the line 437 in admin/batch mager.php is
FROM '.IMAGES_TABLE.'
436 SELECT id
437 FROM '.IMAGES_TABLE.'
438 '.$conf['order_by'];
439
440 $filter_sets[] = query2array($query, null, 'id');
441 }
443 break;
444
445 default:
$filter_sets = trigger_change('perform_batch_manager_prefilters', $filter_sets, $_SESSION['bulk_manager_filter']['prefilter']);
break;
Last edited by Fazli (2017-08-17 17:30:32)
Offline
I still have the same problem. Due to disconnection while uploading photos and retrying to upload, some files uploaded twice or more times. And I want to find them and delete using batch manager > listing with option of duplicates. That causes the same problem I mentioned in the topic.
Any solutions?
Offline
Problem has been solved with editing php.ini settings. Thanks for interests
Offline
And for the rest of the world some details could be helpful which settings you changed to what values.
Offline
Sory to reply a bit late. I asked my server to create a new php.ini for the directory on the server which I installed piwigo software. They did and the problem is solved.
Offline