Announcement

#1 2017-08-16 20:41:18

Fazli
Member
2017-04-26
12

Batch manager creats error

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

 

#2 2017-08-17 08:30:33

homdax
Member
Sweden
2015-02-02
74

Re: Batch manager creats error

How many pictures are you deleting?

Offline

 

#3 2017-08-17 09:04:16

Fazli
Member
2017-04-26
12

Re: Batch manager creats error

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

 

#4 2017-08-17 10:21:02

homdax
Member
Sweden
2015-02-02
74

Re: Batch manager creats error

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

 

#5 2017-08-17 11:58:53

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13082

Re: Batch manager creats error

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?


Latest blog post (March 23th 2017) Piwigo.com Enterprise plans, now official!

Offline

 

#6 2017-08-17 17:24:02

Fazli
Member
2017-04-26
12

Re: Batch manager creats error

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

 

#7 2017-08-19 12:22:51

Fazli
Member
2017-04-26
12

Re: Batch manager creats error

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

 

#8 2017-09-06 16:47:55

Fazli
Member
2017-04-26
12

Re: Batch manager creats error

Problem has been solved with editing php.ini settings. Thanks for interests

Offline

 

#9 2017-09-09 01:14:11

erAck
Member
2015-09-06
59

Re: Batch manager creats error

And for the rest of the world some details could be helpful which settings you changed to what values.

Offline

 

#10 2017-09-11 10:10:32

Fazli
Member
2017-04-26
12

Re: Batch manager creats error

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

 

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2017 · Contact