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.
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
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
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
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.
Offline
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
the problem is, admin tools, with the error I posted above, prevents people from uploading photos to their gallery whatsoever.
Offline
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 ?
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
@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
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 41OK, 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
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
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
Offline