Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem after updated Batch Downloader 13.a to 14.a #54

Open
McPeterBlinckers opened this issue Feb 26, 2024 · 2 comments
Open

Problem after updated Batch Downloader 13.a to 14.a #54

McPeterBlinckers opened this issue Feb 26, 2024 · 2 comments

Comments

@McPeterBlinckers
Copy link

HI.
I've an error with Batch Downloader 14.a after update plugin.

Warning: Undefined array key "BATCH_DWN_REQUEST_PARAM" in /home/*****/sd/piwigo/_data/templates_c/rr6dxn^cee0d3b9bb9f149f0efa99926841fed0b3063e9f_0.file.download_button.tpl.php on line 26

Warning: Attempt to read property "value" on null in /home/*****/sd/piwigo/_data/templates_c/rr6dxn^cee0d3b9bb9f149f0efa99926841fed0b3063e9f_0.file.download_button.tpl.php on line 26
 
Warning: Undefined array key "BATCH_DWN_REQUEST_PARAM" in /home/*****/sd/piwigo/_data/templates_c/rr6dxn^cee0d3b9bb9f149f0efa99926841fed0b3063e9f_0.file.download_button.tpl.php on line 219

Warning: Attempt to read property "value" on null in /home/*****/sd/piwigo/_data/templates_c/rr6dxn^cee0d3b9bb9f149f0efa99926841fed0b3063e9f_0.file.download_button.tpl.php on line 219
 

Linux
Piwigo 14.2.0
Apache 2.4.58
PHP 8.1.27
MySql 8.0.36
https://clients.pavard-pierre.fr

@Ilav1
Copy link

Ilav1 commented Mar 16, 2024

Hi,

I also have some warnings...

Piwigo: 14.3.0
Batch Downloader: 14.a
PHP: 8.1.2

Warning: Undefined array key "request_permission" in /.../piwigo/plugins/BatchDownloader/include/events.inc.php on line 148

Warning: Undefined array key "request_permission" in /.../piwigo/plugins/BatchDownloader/include/events.inc.php on line 180

@rajdude
Copy link

rajdude commented Oct 8, 2024

I may have found a solution for this problem. I noticed that this plugin was complaining that it could not find ZipArchive on my webhost, so it will use PclZip. I went into my host's cPanel and went to
Software > Select PHP version
On that page under "Z" I enabled the checkbox for Zip

After that the error showing up in this plugin's setting page went away. I was then able to download the album as a zip file using the cloud button on my photo album's page.

Notes:

  1. Also went away was the error related to undefined array and this one:
    Fatal error: Uncaught ValueError: fread(): Argument Contourne l'interdiction de télécharger des photos en les ajoutant à une collection #2 ($length) must be greater than 0.

  2. This error is still there, if "Photo size choices" is set to One size = Original
    Downloader Warning: Undefined array key "SIZE_INFO" in file.init_zip.tpl.php on line 153

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants