Post a reply

Write your message and submit

Click in the dark area of the image to send your post.

Go back

Topic review (newest first)

Chris CJB
2024-11-08 17:45:48

Happy Days! I'll give it a go, thanks

OHappyDay wrote:

The plugins have been updated. Please go to

  Tools --> Update --> Tab "Plugins"

You should see available updates for plugins. Updating the plugins before upgrading to 15.0.0 is recommended.

This worked for me.

OHappyDay
2024-11-08 17:24:11

The plugins have been updated. Please go to

  Tools --> Update --> Tab "Plugins"

You should see available updates for plugins. Updating the plugins before upgrading to 15.0.0 is recommended.

This worked for me.

Chris CJB
2024-11-08 17:05:36

Any news on this, please? My site is heavily reliant on OSM.

plg wrote:

OHappyDay wrote:

Should I wait for a compatible version?

We're working on it. You'd better wait a few days for a compatible version if you need these plugins.

deemon
2024-11-08 15:46:07

plg wrote:

For your information, for Piwigo 15, the minimum technical version of PHP is 7.1 (and we just discovered a bug with PHP 7.2, that we're going to fix) but the minimum version we ask users to have is 7.4. We will certainly increase it to 8 for Piwigo 16.

Thank you for the heads up. In fact using 7.1 right now.


Is this a new feature in P15 that opening any gallery I get some new button "Search in this set" which ends up with error message:

Code:

Fatal error: Uncaught Error: Call to undefined function array_key_first() in /var/www/html/galerii/include/functions_search.inc.php:717 Stack trace: #0 /var/www/html/galerii/include/functions_search.inc.php(2016): get_regular_search_results(Array, '') #1 /var/www/html/galerii/include/section_init.inc.php(364): get_search_results('psk-20241108-rq...', NULL) #2 /var/www/html/galerii/index.php(12): include('/var/www/html/g...') #3 {main} thrown in /var/www/html/galerii/include/functions_search.inc.php on line 717

Luckily I can disable it in Configuration > Options > Display > Main Page >  [  ] Activate button "Search in this set";
[  ] Activate icon "Search in this set".

Seems to be function added to PHP 7.3+, which I don't have. If I wanted to add given function at https://www.php.net/manual/en/function. … -first.php "Notes" part as temporary workaround, where would be the best place to put it? ( I don't think just before line 717 in functions_search.inc.php would be best place, as this function might be used elsewhere in the code also ) Or better yet could you please add it to Piwigo 15.1 or something? :-)

plg
2024-11-06 16:25:07

For your information, for Piwigo 15, the minimum technical version of PHP is 7.1 (and we just discovered a bug with PHP 7.2, that we're going to fix) but the minimum version we ask users to have is 7.4. We will certainly increase it to 8 for Piwigo 16.

erAck
2024-11-02 22:53:26

deemon wrote:

Just because you can (in PHP 8+), doesn't mean you should

Just because you can use PHP 7.4 it doesn't mean you should.

Tiger07
2024-11-02 16:47:07

Thank you for the great improvements. I am very pleased that Piwigo is constantly being developed further. I am sure that Piwigo will remain the best photo forum in the future :-)

deemon
2024-11-01 15:06:18

Linty wrote:

It's a problem we no longer have in PHP8+, and as you said, the minimum version for Piwigo is PHP 7.4, so the problem will be solved for Piwigo 15.1.0

Thank you.

Linty wrote:

To add a little context, this way of adding a comma like this is because for commits on github it's much cleaner, you can see an example here : https://spatie.be/courses/front-line-ph … efinitions

Just because you can (in PHP 8+), doesn't mean you should, while it breaks backwards compatibility.
Just for aesthetics (and not even the code itself, which looks now more ugly IMHO and longer (with extra unnecessary commas)... just git commits are slimmer) and zero functional benefit. Right? ;-)

Linty
2024-10-31 09:23:44

deemon wrote:

erAck wrote:

Are you still using PHP 7?

yes. as it's still written on minimum requirements page.

Hello,

It's a problem we no longer have in PHP8+, and as you said, the minimum version for Piwigo is PHP 7.4, so the problem will be solved for Piwigo 15.1.0

To add a little context, this way of adding a comma like this is because for commits on github it's much cleaner, you can see an example here : https://spatie.be/courses/front-line-ph … efinitions

deemon
2024-10-31 08:19:30

erAck wrote:

Are you still using PHP 7?

yes. as it's still written on minimum requirements page.

erAck
2024-10-31 01:30:52

Are you still using PHP 7?

deemon
2024-10-30 17:28:05

Admin -> Photos -> Recent Photos ( https://<ip>/admin.php?page=batch_manager&filter=prefilter-last_import )

Parse error: syntax error, unexpected ')' in /var/www/html/galerii/admin/include/batch_manager_filters.inc.php on line 121

Admin -> Photos -> Batch Manager ( https://<ip>/admin.php?page=batch_manager )

Parse error: syntax error, unexpected ')' in /var/www/html/galerii/admin/include/batch_manager_filters.inc.php on line 121


Code:

119 $selected_category_name = get_cat_display_name_from_id(
120   $selected_category,
121 );

removed the comma on line 120:

Code:

119 $selected_category_name = get_cat_display_name_from_id(
120   $selected_category
121 );

and it works now without error.

OHappyDay
2024-10-28 17:10:35

Thanks for updating the plugins too. I successfully upgraded to 15.0.0

No issues (yet).

OBear
2024-10-26 00:22:57

I was just beginning to look for an easier solution to storing and viewing pdf's... and voila! Version 15 was released! Woo Hoo for me! Thanks!

head_dunce
2024-10-25 12:40:22

Seamless upgrade, thank you!

Board footer

Powered by FluxBB

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