forum.coppermine-gallery.net

No Support => Announcements => Topic started by: Joachim Müller on May 25, 2009, 10:17:11 pm

Title: cpg1.4.24 maintenance release - upgrade recommended
Post by: Joachim Müller on May 25, 2009, 10:17:11 pm
The Coppermine development team is releasing an update for Coppermine in order to fix an endless loop that could occur in particular versions of PHP.The fix is not security-critical, so if your gallery is running fine with cpg1.4.23 you don't need to upgrade. If you are running an older version than cpg1.4.23, you must  update to this latest version as soon as possible because of the security impact (the past few maintenance releases before cpg1.4.24 all were security-related).

The fix that lead to the release of cpg1.4.24 takes care of the blank pages or 500 internal server errors that some users reported after upgrading to cpg1.4.23 or after performing a fresh install. It seems that all users who reported the issues are using PHP 4.3.x - other versions of PHP don't seem to be affected.

How to update:
Users running versions prior to 1.4.24 should update by downloading (http://downloads.sourceforge.net/coppermine/cpg1.4.24.zip) the latest version cpg1.4.24 from the download page (http://sourceforge.net/project/showfiles.php?group_id=89658) and following the upgrade steps in the documentation (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upgrade).

Manual patch:
For those who want to apply the fix manually to their cpg1.4.23 Coppermine installation, edit include/init.inc.php with a plain text editor (notepad.exe is fine), find
Code: [Select]
$keysToSkip = array('_POST', '_GET', '_COOKIE', '_REQUEST', '_SERVER', 'HTML_SUBST', 'keysToSkip', 'register_globals_flag', 'cpgdebugger');and replace with
Code: [Select]
$keysToSkip = array('_POST', '_GET', '_COOKIE', '_REQUEST', '_SERVER', 'HTML_SUBST', 'keysToSkip', 'register_globals_flag', 'cpgdebugger', 'key');To make this absolutely clear: this will only fix the endless loop that lead to the release of cpg1.4.24 - this fix will not be enough if you are running an older version than cpg1.4.23. If you are running an older version, don't apply the manual fix, but perform the full upgrade as suggested above.

Support:
If you have problems with this update, please use the Update support board (http://forum.coppermine-gallery.net/index.php?board=59.0). Do not post your issues to this announcement thread. You wouldn't want the world to know that you behaved like a moron, so please do think twice before replying to this thread. Do not reply with questions on your individual issues!

Why was cpg1.4.24 released?
The release covers a bug that crept in when fixing the vulnerability that lead to the release of cpg1.4.23 (http://forum.coppermine-gallery.net/index.php/topic,59551.msg293951.html#msg293951).

Additionally, cpg1.4.24 includes fixes for the following non-security related issues:

Thanks to Nibbler (http://forum.coppermine-gallery.net/index.php?action=profile;u=941) for coming up with the fix.

Thanks,
The Coppermine Team
Title: Re: cpg1.4.24 maintenance release - upgrade recommended
Post by: François Keller on May 26, 2009, 06:36:40 pm
French translations for the annoucement thread on the french board http://forum.coppermine-gallery.net/index.php/topic,59706.msg294845.html#msg294845 (http://forum.coppermine-gallery.net/index.php/topic,59706.msg294845.html#msg294845)
Title: Re: cpg1.4.24 maintenance release - upgrade recommended
Post by: Αndré on May 27, 2009, 09:20:55 am
Annoucement thread in german (http://forum.coppermine-gallery.net/index.php/topic,59715.0.html).
Title: Re: cpg1.4.24 maintenance release - upgrade recommended
Post by: Fabricio Ferrero on May 28, 2009, 04:48:44 pm
Annoucement thread in Spanish (http://forum.coppermine-gallery.net/index.php/topic,59743.0.html)