From 3dd476055d812347a1e7163a35c24206e5e4fcb4 Mon Sep 17 00:00:00 2001 From: ousekjarr <114099473+ousekjarr@users.noreply.github.com> Date: Sun, 25 Jun 2023 16:21:19 +0100 Subject: [PATCH] Update dropboxlist.php Introduced an item count, partially because it is useful to know, but mainly because there are issues with processing more than ~1000 items at a time. When there are too many items, the collection and tag fields are not processed, with the result that all items are added with no collection and no tags. I suspect this is due to the length limit of an HTTP POST request, and that the POST content is truncated. The list of files to be processed comes before the other fields, and hence they drop off the bottom of the request. --- views/admin/index/dropboxlist.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/views/admin/index/dropboxlist.php b/views/admin/index/dropboxlist.php index d208d05..fceee1a 100644 --- a/views/admin/index/dropboxlist.php +++ b/views/admin/index/dropboxlist.php @@ -5,6 +5,14 @@
+ + File count:'.sizeof($fileNames).""; + if (sizeof($fileNames)>999) : + echo "