Announcement

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)

pat__
2023-08-11 14:54:01

Just upgraded to 13.8.0 and there are still deprecated messages:

stderr: PHP Deprecated: strncmp(): Passing null to parameter #1 ($string1) of type string is deprecated in /root_of_piwigo_installation/include/functions_url.inc.php on line 447

the line is this one:
  if (strncmp(@$tokens[$next_token], 'categor', 7)==0 )

dont quiet warnings with '@'!
they still show up in the logs and should be fixed.

dummer-esel
2023-07-20 13:27:36

Zentalquabula wrote:

PHP is maturing, Piwigo is not. Rewrite everything as OOP, take advantage of all the features, and don’t get stuck in the past. Piwigo could be 10x as fast with 10x smaller footprint.

PWG is compatible with PHP 8 and updating the code base takes permanent effort. I'd say it's mature enough.
Considering that most people use it for free and don't contribute (myself included due to lack of skill & time), I think it's not fair to complain.

If you know a way to make it 10x faster and 10x smaller feel free to rewrite it (or even parts of it) and share it with the community ;-)

plg
2023-07-19 12:28:49

Zentalquabula wrote:

PHP is maturing, Piwigo is not.

These strong words require an answer and I'm going to provide it. But I want first to make things clear: Piwigo is maturing, and a lot on the User Interface side, but maybe not on the way we write code :-) I'll explain why and why we're not going to embrace the "run after every new shining new PHP feature" race.

executive
2023-07-18 01:38:05

Zentalquabula wrote:

don’t get stuck in the past.

still have some time. You don't even use Piwigo.
I don't find it terribly slow.

https://i.postimg.cc/bN61xxny/Screenshot-2023-07-17-at-16-35-16-Usage-Statistics-and-Market-Share-of-PHP-for-Websites-July-2023.png

Zentalquabula
2023-07-17 22:31:35

plg wrote:

It's a bit sad that PHP decides to break existing code. And I would even more say that they're doing to at a much higher speed these last years than before :-/

PHP is maturing, Piwigo is not. Rewrite everything as OOP, take advantage of all the features, and don’t get stuck in the past. Piwigo could be 10x as fast with 10x smaller footprint.

plg
2023-07-17 09:44:25

mr.phil wrote:

Any idea which plugins will fail with newer versions of PHP? Or is this going to be a 'try it and see what breaks' exercise?

Option 2 :-(

It's a bit sad that PHP decides to break existing code. And I would even more say that they're doing to at a much higher speed these last years than before :-/

mr.phil
2023-07-17 03:44:20

plg wrote:

As written on https://piwigo.org/guides/install/requirements :

PHP 7.4+. Piwigo can run with PHP 7.0+ but these end-of-life versions are no longer maintained and may expose your site to security vulnerabilities.

Piwigo 13.8.0 is compatible with PHP 8.1 but some plugins are not. Piwigo 14 will be compatible with PHP 8.2 but some plugins won't :-/

Any idea which plugins will fail with newer versions of PHP? Or is this going to be a 'try it and see what breaks' exercise?

Phil35
2023-07-16 19:12:30

Thanks you @plg @erAck,  upgrade done from 12.3.0 to 13.8.0 still with php 7.4.33,
I have now to upgrade php to 8.0

Thanks!
Great software and great team
Phil35

erAck
2023-07-13 10:15:18

Best bet currently is PHP 8.0
Unmaintained plugins will become more and more a problem.

plg
2023-07-12 19:09:11

As written on https://piwigo.org/guides/install/requirements :

PHP 7.4+. Piwigo can run with PHP 7.0+ but these end-of-life versions are no longer maintained and may expose your site to security vulnerabilities.

Piwigo 13.8.0 is compatible with PHP 8.1 but some plugins are not. Piwigo 14 will be compatible with PHP 8.2 but some plugins won't :-/

Phil35
2023-07-12 18:19:52

Hi,

What is the minimum php level required so it will work with piwigo and with a php supported version?

My concern is:
-PHP7.4 still ok to run but problem as this version is no more supported
  as written there: https://piwigo.org/guides/install/requirements
- is 8.2 really Ok with Piwigo?

In a few word what is the recommendation from Piwigo Team?

Thank you
Phil

erAck
2023-07-08 11:33:36

Works, thanks!

Ewgeniy
2023-07-08 10:42:41

executive wrote:

@Ewgeniy
please post your issue in the troubleshooting secion, not announcements. Thank you.

It's okay, I set the theme too old. )

executive
2023-07-08 00:05:08

Update successful. All good over here.
Thanks for the update.

executive
2023-07-07 23:57:43

@Ewgeniy
please post your issue in the troubleshooting secion, not announcements. Thank you.

Board footer

Powered by FluxBB

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