Piwigo / Piwigo-BatchDownloader

Allows users to download pictures sets from your Piwigo gallery in a ZIP file. Compatible with User Collections.
http://piwigo.org/ext/extension_view.php?eid=616
GNU General Public License v2.0
9 stars 12 forks source link

13.4.0 Batch downloader #43

Closed hmaegaard closed 1 year ago

hmaegaard commented 1 year ago

PHP version 8.0 or 8.1. The batch downloader gives following warning on the client side:

Warning: Undefined array key "BATCH_DWN_SIZE" in /File path/public_html/galleri/_data/templates_c/i5hokb^7ae144d405a9dee0b00857a409a6d9fe579e86a3_0.file.download_button.tpl.php on line 25
  |
  | Warning: Attempt to read property "value" on null in /Filepath/public_html/galleri/_data/templates_c/i5hokb^7ae144d405a9dee0b00857a409a6d9fe579e86a3_0.file.download_button.tpl.php on line 25

2otherjobs commented 1 year ago

I have the same issue using php version 8.0. Behavior: The batch_downloader can send an album's photos to a collection as intended. However, buttons on the collection page do not function, so downloading cannot take place.

/usr/local/www/piwigo/_data/templates_c/dreuz4^3be880561dc5756f5edca4b93399fdcf36c3740b_0.file.download_button.tpl.php on line 25

Warning: Attempt to read property "value" on null in /usr/local/www/piwigo/_data/templates_c/dreuz4^3be880561dc5756f5edca4b93399fdcf36c3740b_0.file.download_button.tpl.php on line 25 " id="batchDownloadLink" title="Download all pictures of this selection" class="pwg-state-default pwg-button" rel="nofollow">

Spydlack commented 1 year ago

I have the same problem with php 8.1

avocadowebservices commented 1 year ago

This will work if you set your PHP to 7.4, which I did and it worked

2otherjobs commented 1 year ago

Support for and Security updates for php74 ended December 2022.   It really is unfortunate if that is the only version that works. Sent from my iPhoneOn Apr 9, 2023, at 5:43 PM, TransitRider Productions @.***> wrote: This will work if you set your PHP to 7.4, which I did and it worked

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

plegall commented 1 year ago

fixes released in version 13.a

2otherjobs commented 1 year ago

Thanks.  Sent from my iPhoneOn May 10, 2023, at 3:52 AM, Pierrick Le Gall @.***> wrote: Closed #43 as completed.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>