Announcement

#1 2018-07-13 17:50:34

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13822

Piwigo 2.9.4

Hello Piwigo community,

Piwigo 2.9.4 is ready for new installations and updates.

Several security issues were fixed, special thank to Henri Salo for his follow-up on security issues. Thank you to our community members for reporting bugs and pushing pull-requests on Github : idbartosz, nitro322, Daniel Dadap, SergeD, Sam Wilson, Aki and Rob Lensen for his work on PHP 7.2. Thank you also to translators : 17 languages were updated in this release.

https://piwigo.org/screenshots/piwigo-294-announcement.png

Some important changes were made to make Piwigo compatible with PHP 7.2. Unfortunately (or not...) it means Piwigo is no longer compatible with PHP 5.2. PHP 5.3 is now required to run Piwigo 2.9.4.

See full details on the Piwigo 2.9.4 Release Notes

Have a nice update!

--
Piwigo Team - background image by Freepik

Offline

#2 2018-07-13 22:27:03

andrewjs18
Member
2014-10-10
50

Re: Piwigo 2.9.4

very nice, thank you!

I'm getting the following error for 1 of the piwigo team plugins, admin tools:

Deprecated: Function create_function() is deprecated in /public_html/plugins/AdminTools/include/MultiView.class.php on line 41

I'm using php 7.2


thanks!

Offline

#3 2018-07-13 23:27:45

zork
Member
uk
2003-02-20
24

Re: Piwigo 2.9.4

Hi ive just done my update and now get error 
Parse error: syntax error, unexpected T_FUNCTION in /homepages/25/d65753354/htdocs/gmessyhome/gallery/include/dblayer/functions_mysqli.inc.php on line 403

Okies i figured out that i was running php5.2, have updated and now have the following errors
Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /homepages/25/d65753354/htdocs/gmessyhome/gallery/plugins/GrumPluginClasses/classes/GPCCore.class.inc.php on line 270

Deprecated: Function create_function() is deprecated in /homepages/25/d65753354/htdocs/gmessyhome/gallery/plugins/AdminTools/include/MultiView.class.php on line 41

Warning: Cannot modify header information - headers already sent by (output started at /homepages/25/d65753354/htdocs/gmessyhome/gallery/plugins/GrumPluginClasses/classes/GPCCore.class.inc.php:270) in /homepages/25/d65753354/htdocs/gmessyhome/gallery/include/page_header.php on line 101

Am trying to figure these out but if i havent edited it any solutions would be awesome. I assume these errors are from the plugins.

Last edited by zork (2018-07-14 00:35:18)

Offline

#4 2018-07-14 04:03:53

erAck
Only trying to help
2015-09-06
2129

Re: Piwigo 2.9.4

Those are Deprecated and Warning messages, not errors. Search in the forum, you'll find a gazillion threads where people posted that without searching first and some threads have an answer, each one posting those without searching first makes it harder for everyone else to find the right answer.


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

Offline

#5 2018-07-14 08:51:10

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13822

Re: Piwigo 2.9.4

andrewjs18 wrote:

m getting the following error for 1 of the piwigo team plugins, admin tools:

Deprecated: Function create_function() is deprecated in /public_html/plugins/AdminTools/include/MultiView.class.php on line 41

OK, fine. Can you create an issue on Admin Tools bugtracker? oh... I see you already did it :-) [Github] AdminTools issue #9

Offline

#6 2018-07-14 08:52:26

andrewjs18
Member
2014-10-10
50

Re: Piwigo 2.9.4

the problem is, admin tools, with the error I posted above, prevents people from uploading photos to their gallery whatsoever.

Offline

#7 2018-07-14 09:00:06

Sean
Guest

Re: Piwigo 2.9.4

Getting error after upgrading to 2.9.4.

Parse error: syntax error, unexpected T_FUNCTION in /home1/collcas1/public_html/photos/include/dblayer/functions_mysqli.inc.php on line 403

Says it upgraded correctly.

The site is now completely inaccessible.
how do I recover from this ?

#8 2018-07-14 09:15:24

Zentalquabula
Member
2014-05-10
217

Re: Piwigo 2.9.4

Thanks for keeping it up, guys! Piwigo is great.

Regarding errors, I note that $conf['show_php_errors'] = E_ALL; is set as default, casuing all these problems. This should aways be set to 0 on a production site.

B.t.w. my admin tools work as expected, running PHP 7.2.

Offline

#9 2018-07-14 09:31:05

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13822

Re: Piwigo 2.9.4

@zork, thank you for this report

Offline

#10 2018-07-14 09:34:08

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13822

Re: Piwigo 2.9.4

@Sean which version of PHP are you using? I suspect you're on an old 5.2

Offline

#11 2018-07-14 09:55:53

sean
Member
2018-07-14
3

Re: Piwigo 2.9.4

@plg - I've checked my hosting provider and it shows the following details:
PHP 5.6.32

MySQL 5.6.32-78.1

Perl 5.26.0

Offline

#12 2018-07-14 16:40:01

sean
Member
2018-07-14
3

Re: Piwigo 2.9.4

@plg I can change the PHP version to 7 if that will help - higher than 5.6 if required.
Will moving to 7.0 help the situation?

If I do move to 7.0, should the site start working again or are there additional steps needed - perhaps a manual reinstall ?
Many thanks.

Offline

#13 2018-07-14 21:10:50

andrewjs18
Member
2014-10-10
50

Re: Piwigo 2.9.4

plg wrote:

andrewjs18 wrote:

m getting the following error for 1 of the piwigo team plugins, admin tools:

Deprecated: Function create_function() is deprecated in /public_html/plugins/AdminTools/include/MultiView.class.php on line 41

OK, fine. Can you create an issue on Admin Tools bugtracker? oh... I see you already did it :-) [Github] AdminTools issue #9

yep, done.  for now, I deactivated it so I can upload some photos to the gallery.

Offline

#14 2018-07-14 21:13:19

andrewjs18
Member
2014-10-10
50

Re: Piwigo 2.9.4

Zentalquabula wrote:

Thanks for keeping it up, guys! Piwigo is great.

Regarding errors, I note that $conf['show_php_errors'] = E_ALL; is set as default, casuing all these problems. This should aways be set to 0 on a production site.

B.t.w. my admin tools work as expected, running PHP 7.2.

I'm not sure how...the create_function() code is still in the plugin file from the downloads page:

line 41 from MultiView.class.php:
$this->data_url_params = array_map(create_function('$d', 'return "ato_".$d;'), $this->data_url_params);

Offline

#15 2018-07-15 00:31:57

erAck
Only trying to help
2015-09-06
2129

Re: Piwigo 2.9.4

Zentalquabula wrote:

Regarding errors, I note that $conf['show_php_errors'] = E_ALL; is set as default, casuing all these problems. This should aways be set to 0 on a production site.

No, that would suppress all messages, instead it should be set to not show those deprecated messages and notices but still show real errors, something like

E_ALL & ~E_NOTICE & ~E_DEPRECATED


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

Offline

Board footer

Powered by FluxBB

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