Hi, just upgraded from 2.80 to 2.81 and afterwards the captcha image is showing as broken.
I've tested in multiple browsers, and it's the same in all.
Anyone have a clue what may have gone wrong?
I'm just in the process of setting the site up.
Thanks in advance.
Captcha image not working after upgrade
Moderator: Thorsten
Re: Captcha image not working after upgrade
Hi,
can you point me to your FAQ? We didn't do any changes in the captcha component between 2.8.0 and 2.8.1
bye
Thorsten
can you point me to your FAQ? We didn't do any changes in the captcha component between 2.8.0 and 2.8.1
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: Captcha image not working after upgrade
Hi,
we did change one thing. We changed the default image type from PNG to JPEG because of IE8 and IE9 issues. You could turn on the debug mode in inc/Bootstrap to find out what's happening on your system.
bye
Thorsten
we did change one thing. We changed the default image type from PNG to JPEG because of IE8 and IE9 issues. You could turn on the debug mode in inc/Bootstrap to find out what's happening on your system.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: Captcha image not working after upgrade
We have the same problem, after some poking around;
I believe the issue is with \inc\PMF\Captcha.php line 213.
Is currently:
Should be:
Once the changes are saved, captcha should work again.
Issue: https://github.com/thorsten/phpMyFAQ/issues/713
I believe the issue is with \inc\PMF\Captcha.php line 213.
Is currently:
Code: Select all
imagejpeg($this->img, '', ( int )$this->quality);
Code: Select all
imagejpeg($this->img, NULL, ( int )$this->quality);
Issue: https://github.com/thorsten/phpMyFAQ/issues/713
Re: Captcha image not working after upgrade
Perfect! Fixed!
Thanks for your help.
Thanks for your help.