RC2 CAPTCHA
Moderator: Thorsten
RC2 CAPTCHA
Has the CAPTCHA been removed from RC2? I do not see it on my fresh install of 1.57 restore backup then updated to 1.60 RC2. I had it on RC1 and it was working well. If there was a place in admin to turn it on I could not locate it.
Hi,
the captcha has not been removed! It's working here on my test systems... can you call the image directly via http://www.example.org/faq/index.php?action=add&gen=img ?
bye
Thorsten
the captcha has not been removed! It's working here on my test systems... can you call the image directly via http://www.example.org/faq/index.php?action=add&gen=img ?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
No, I get the following errorThorsten wrote:can you call the image directly via http://www.example.org/faq/index.php?action=add&gen=img ?
Code: Select all
Fatal error: Call to undefined function: imagecreate() in D:\wamp\www\faq\inc\captcha.php on line 326[/code]
Hi,
you do not have GD-Support enabled in your PHP.
bye
Thorsten
you do not have GD-Support enabled in your PHP.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
I had it working previously on RC1 I do not beleive I have reinstalled PHP since then but I may have. I found this information
Could it be one of my templates? I will replace all templates with original and see if that helps.
Ok yes that was it. With original templates folder from 1.60 RC2 it works. I will see which one was causing the problem and report back.
When I do so I find php_GD2 marked as enabled.The GD2 extension is included, but disabled by default. You can configure PHP to load the GD2 extension by left-clicking on the WAMP system tray icon, go to PHP Extensions > Add Extens
Could it be one of my templates? I will replace all templates with original and see if that helps.
Ok yes that was it. With original templates folder from 1.60 RC2 it works. I will see which one was causing the problem and report back.
Thorsten,
It was the ask.tpl that I had previously set to remove the right column with javascript that was posted at some time in the past in this forum as one persons solution to lack of space.
It was never a problem until now when I notice the CAPTCHA did not work. Everything seems ok now with the original 1.60 RC2 ask.tpl. The right column seems to fit ok too at 1024 X 768.
It was the ask.tpl that I had previously set to remove the right column with javascript that was posted at some time in the past in this forum as one persons solution to lack of space.
Code: Select all
<script type="text/javascript">
width = 0;
if (window.innerWidth) {
width = window.innerWidth;
} else if (document.body && document.body.offsetWidth) {
width = document.body.offsetWidth;
}
if ((width == 0) || (width < 1000)) {
if (document.getElementById) {
document.getElementById('sidebar-right').style.display = 'none';
document.getElementById('centercolumn').style.marginRight = '10px';
}
}
</script>