Please help!
My imageverification is not showing. I even tried the FAQ #31 still not working. I also uninstall and install the component but still the image verification is not showing.
Hi Fyona,
Please post a link to the form.
Bob
How to use the Recaptcha in the chronoform?
Hi Fyona & Bob,
Checking the URL of the image yields a damaged png-image. There seems to be 4 newline characters in the beginning of the file, which messes up the magic number of the image, and browsers don't recognize it as a png-image. Headers appear to be sent properly, so the newlines would have to be injected inbetween the last header() command and the imagepng() command within the chrono_verification.php script, or the GD library on the system is severely broken.
/Fredrik
Hello,
What are the new lines I need to inject to fix this problem?
Hi Fyona,
Sorry, but I belive you misunderstood me. The image_verification.php script adds newlines that should not be there. Adding more newlines will not fix the issue.
Actually, as I look further, these extra newlines seem to appear on pretty much any php-script on the server, suggesting there's an automatic header being included. More specifically, the auto_prepend_file php.ini directive appears to be set and in action.
Using the system-info menu option of your site administration, select the PHP Information link, and look for auto_prepend_file and auto_append_file. Please post the value of both once you've found them.
/Fredrik
Hi,
I found it and both don't have any value.
Hi,
Then I am running low on ideas. At best I can suggest getting in touch with your server admin, and see if they can help track down the source of those newlines. But for now, you'll have to go with the ReCaptcha instead.
The ReCaptcha CF-plugin is fairly well-documented. Check the box next to your form in the Form Manager, and click the ReCaptcha Verification link to the left. Read the instructions on the Help-tab (regarding obtaining your own key for reCaptcha, etc). This also includes details on how to use the {recaptcha} placeholder in your form code.
Once done, save and head back to the Form Manager, and edit your form (so that you can add the {recaptcha} to your form code). Then head off to the Plugins-tab, and enable (green bar with a red cross) the recaptcha plugin. Next head to the Anti Spam-tab and disable image verification. Finally save your form, and see if everything works the way it should.
/Fredrik
Hi Fyona,
It would seem you forgot to enable the ReCaptcha CF-plugin on the plugin-tab. Enabled state is a green bar with a red cross.
/Fredrik
Okay recaptcha is showing problem is when I test it it give me error
The reCAPTCHA wasn't entered correctly. Go back and try it again
( reCAPTCHA said: incorrect-captcha-sol )
Did I miss something?
You're the man!!:) It's working fine now thank you so much Fredrick