#1 2022-10-21 10:14:48

aurabi
Member
2022-08-17
9

Piwigo 13, error download any photo, and history search is not working

Hello!

After upgrading from version 12:

1) Error when trying to download any photo from the site! I click the download button and the site crashe(

2) And the history search is completely not working(

Piwigo 13.0.0
WINNT
PHP: 7.0.21
MySQL: 5.5.60
External ImageMagick 6.8.9-9

Offline

 

#2 2022-10-22 15:36:58

aurabi
Member
2022-08-17
9

Re: Piwigo 13, error download any photo, and history search is not working

Piwigo Developers thank you very much. You are the best!!

1) After upgrading to 13.1.0, the bug has been fixed: "Error when trying to download any photo from the site! I click the download button and the site crashe("

2) "History search is completely not working(" Unfortunately, despite the update to 3.1.0, the problems described still exist

Piwigo 13.1.0
WINNT
PHP: 7.0.21
MySQL: 5.5.60
External ImageMagick 6.8.9-9

Offline

 

#3 2022-10-22 16:27:36

erAck
Only trying to help
2015-09-06
2180

Re: Piwigo 13, error download any photo, and history search is not working

What is not working in history search? Specifying two dates or All/Visited/Downloaded and IP filtering all work for me. Note that if you use [extension by Eric] Prune History to keep the database trimmed the dates must intersect the available date range, otherwise the result will be empty.

Btw, you should upgrade your PHP version, 7.0 is far outdated and EOL since Jan-2019 already (https://www.php.net/eol.php), 7.4 is still good for a month.. (https://www.php.net/supported-versions)


Running Piwigo at https://erack.net/gallery/

Offline

 

#4 2022-10-22 17:32:20

aurabi
Member
2022-08-17
9

Re: Piwigo 13, error download any photo, and history search is not working

In history search nothing loads - like this all the time...

Screenshot - https://disk.yandex.ru/i/fV9toyGft2tSEw

There is no possibility to update php on the hosting yet

Piwigo 13.1.0
WINNT
PHP: 7.0.21
MySQL: 5.5.60
External ImageMagick 6.8.9-9

Offline

 

#5 2022-10-22 17:44:25

erAck
Only trying to help
2015-09-06
2180

Re: Piwigo 13, error download any photo, and history search is not working

If upgrading PHP is not possible I'd definitely change the hosting provider (and not use Windows at all but that's your choice). Who knows, it might even fix your problem.


Running Piwigo at https://erack.net/gallery/

Offline

 

#6 2022-11-07 14:52:40

oz1cz
Member
2016-11-26
4

Re: Piwigo 13, error download any photo, and history search is not working

I've just had the same problem and I found the cause.

In the file include/ws_functions/pwg.php in lines 832 and 838 remove the final comma in the lines with this content:

       

Code:

'admin.php?page=album-',

This should solve the problem. (The line numbers refer to Piwigo version 13.1.0.)

This final comma is permitted in PHP 7.3 and later, but it is illegal in PHP 7.2 and earlier.

Offline

 

#7 2022-11-07 15:02:11

erAck
Only trying to help
2015-09-06
2180

Re: Piwigo 13, error download any photo, and history search is not working

Should be fixed in next 13.x release
[Github] Piwigo commit 10699b89
There are two places btw that have to be adjusted, see that commit.


Running Piwigo at https://erack.net/gallery/

Offline

 

#8 2022-11-07 16:37:55

aurabi
Member
2022-08-17
9

Re: Piwigo 13, error download any photo, and history search is not working

Removed commas. Everything worked in history! Thank you very much!!

You're a genius!!

Offline

 

Board footer

Powered by FluxBB

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