When submitting comments, the Captcha image doesn't display. This message appears in the logs: PHP Warning: imagejpeg(): Filename cannot be empty in /usr/share/gallery2/modules/captcha/CaptchaImage.inc on line 91, referer: https://XXXX.com/gallery2/main.php?g2_view=comment.AddComment&g2_itemId=20235&g2_return=%2Fgallery2%2Fv%2FYYYYYY%2F%3F Problem is the call to ImageJPEG in CaptchaImage.inc. Second argument is empty string, but that needs to be NULL these days. diff to modules/captcha/CaptchaImage.inc: --- CaptchaImage.inc.orig 2012-11-25 16:12:02.838684229 -0800 +++ CaptchaImage.inc 2012-11-25 16:12:08.733601285 -0800 @@ -88,7 +88,7 @@ /* Output the image and reclaim the memory it used */ /* Use low quality jpeg compression to make the image less OCR-able */ - ImageJPEG($image, '', 50); + ImageJPEG($image, NULL, 50); ImageDestroy($image); return null; Joel
FYI: upstream report: http://gallery.menalto.com/node/109994
gallery2-2.3.2-5.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/gallery2-2.3.2-5.fc18
gallery2-2.3.2-5.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/gallery2-2.3.2-5.fc17
Package gallery2-2.3.2-5.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing gallery2-2.3.2-5.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-19138/gallery2-2.3.2-5.fc18 then log in and leave karma (feedback).
gallery2-2.3.2-5.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
gallery2-2.3.2-5.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.