Announcement

#1 2023-12-31 00:11:57

evinrude
Member
2023-12-31
4

batch add thumbnails bombs

Hello/Hi/Greetings,

Trying to generate thumbnails for 14.775 photos . It looked as though it was about done then bombs off with

[Hacking attempt] the input parameter "whole_set" is not valid

#1    check_input_parameter /mnt01/piwigo/admin/batch_manager_global.php(54)
#2    include /mnt01/piwigo/admin/batch_manager.php(814)
#3    include /mnt01/piwigo/admin.php(346)

I try to restart it but same error

(Copy here your environment details, found on your Piwigo page [Administration > Tools > Maintenance])

Piwigo URL: http://Piwigo 14.1.0 Check for upgrade
Installed on 30 December 2023, 11 hours ago
Operating system: Linux
PHP: 8.2.7 (Show info) [2023-12-30 23:08:20]
MySQL: 10.11.4-MariaDB-1~deb12u1 [2023-12-30 18:08:20]
Graphics Library: ImageMagick 6.9.11-60
Cache size N/A   never calculated Refresh

Offline

 

#2 2024-02-10 23:01:52

neon
Member
2023-03-27
13

Re: batch add thumbnails bombs

Exactly the same for me. Seems like thumbnail generation works for a limited number of protos, anything more causes this [Hacking attempt]. In previous versions it was not any problem to generate thumbnails for any number of photos!

Offline

 

#3 2024-02-11 02:45:20

Renae
Member
2024-02-11
3

Re: batch add thumbnails bombs

Same issue here. It's never done this before. I would be surprised if it's actually a hack attempt. Anyone know how to get around this? I tried generating images for a subfolder but I can't figure out how to do it.

Edit - Adding system details...
- Environment
Piwigo 14.2.0 Check for upgrade
Installed on 13 October 2017, 6 years 3 months 4 weeks ago
Operating system: Linux
PHP: 8.1.2-1ubuntu2.14 (Show info) [2024-02-10 21:00:48]
MySQL: 5.5.5-10.6.16-MariaDB-0ubuntu0.22.04.1 [2024-02-10 21:00:48]
Graphics Library: ImageMagick 6.9.11-60
Cache size 78098.6 Mo   calculated 58 seconds ago Refresh

- Activated plugin list21
Admin Tools
Advanced Menu Manager
AStat.2
Community
Crypto Captcha
Download Counter
Exif View
gdThumb
Grum Plugins Classes.3
Language Switch
LocalFiles Editor
Media Icon
Most Commented
Most Downloaded
Password Policy
PhotoSphere
Piwigo Failed Login logger
ShareAlbum
Take A Tour of Your Piwigo
Theme Switch
VideoJS

Last edited by Renae (2024-02-11 03:01:33)

Offline

 

#4 2024-02-11 07:37:50

Renae
Member
2024-02-11
3

Re: batch add thumbnails bombs

I noticed I had spaces in some folder names. I then did a full scan and fixed all filenames. After that the multiple size generation worked. Previous to this I tried to run it about three times and they all failed with the afformentioned errors.

So, check your file names.   =]

Offline

 

#5 2024-02-11 08:50:03

Katryne
Member
2016-12-03
372

Re: batch add thumbnails bombs

There is a plugin to batch check files and folders names : https://fr.piwigo.org/ext/extension_view.php?eid=902 (presync autorename)


http://photos.katrynou.fr/ v.14.1.0 https://album.chauvigne.info/ v.13.8.0
Système d'exploitation: Linux - Hébergeur 1&1-Ionos PHP: 8.0.28 - MySQL: 5.7.38
Bibliothèque graphique: External ImageMagick 6.9.10-23

Offline

 

#6 2024-02-11 13:39:57

neon
Member
2023-03-27
13

Re: batch add thumbnails bombs

I don't think it is anything about folders or files. It's about the number of photos in the current set!
Last night I was trying to associate photos to a virtual album - "simple" operation, when all the photos are already in the database, I suppose it has nothing to do with physical files, only with the database. Same story - when the caddie is relatively small (in my case up to 4850 photos), everything works, fast and easy. If I put more photos to the caddie - 4950 and more -  it cries about hacking attempt and does not do anything. If I remove some photos from the caddie - works well. If I put the removed photos in emty caddie - also works well. So no problems with any specific photos, just with their number. It should be somewhere in the code - if the "whole set" contains too many photos, it is hacking. Where it it? How to disable it, or temporary increase the limit?
In the end, I got what I wanted (assigned >25000 photos to a virtual album), but in many smaller bunches...

Environment
Piwigo 14.2.0 Check for upgrade
Installed on 21 January 2023, 1 year 3 weeks ago
Operating system: Linux
PHP: 8.3.2 (Show info) [2024-02-11 13:27:37]
MySQL: 8.3.0 [2024-02-11 13:27:37]
Graphics Library: ImageMagick 7.1.1-26
Cache size 11489.43 Mo   calculated 2 months ago Refresh
Activated plugin list1
LocalFiles Editor

Last edited by neon (2024-02-11 13:42:17)

Offline

 

#7 2024-02-11 18:49:36

Renae
Member
2024-02-11
3

Re: batch add thumbnails bombs

Sigh, I just tried my whole set again and it failed. I don't believe it needed to do anything but it had just started about 1 minute before the crash. The number of files was not a problem in the past as I currently have ~234,000 photos, which grows by about 500-1000 per month. Last time I used whole set was a couple months ago, I was on version 13, and there was no issue. Perhaps it's Piwigo 14.

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact