- This topic has 8 replies, 2 voices, and was last updated 11 years, 8 months ago by .
Viewing 9 posts - 1 through 9 (of 9 total)
Viewing 9 posts - 1 through 9 (of 9 total)
- The forum ‘How do I …’ is closed to new topics and replies.
Events Made Easy › Forums › How do I … › CAPTCHA isn't showing the image code.
Tagged: captcha, code missing
Hi I tried and atctivated the Captcha function on the Settings/rsvp tab.
The Text “fill in the code” apperars but where the codeimages is supposed to be its only a broken imagelink to the captcha.php.
The captcha.php. is present on my server. What have I done wrong.
(Had to deativate it since I have an add out for my events and need the bookings to work.)
The captcha image only appears if you have the php-GD extension installed.
Ok – yes but no.
I mean How do i get that? Guessing its something that has to be installed on my server or is there a wordpress plugin.
it’s a php addon, nothing to do with wordpress itself. If you don’t know how: ask your sys admin
Thank – did check and my serverprovider did check and it is activated http://annasbyra.se/phpinfo.php
But stil no image on
http://annasbyra.se/wpx/kurser/13/wordpress-workshop/
Sorry!!
/Anna
Well, there’re things wrong with your server: phpinfo() doesn’t show the variables _SERVER[“HTTP_HOST”] and others (maybe your provider removes those), that’s why the script doesn’t work.
But it’s easy to fix: just go in the file wp-content/plugins/events-made-easy/captcha.php and remove the following 4 lines at the top (I don’t think they’re needed anyway):
if (!isset($_SERVER['HTTP_REFERER']) || !strrchr($_SERVER['HTTP_REFERER'],$_SERVER['HTTP_HOST'])) {
echo "no abuse allowed";
exit;
}
That should help.
Thank you but no – the removing of the 4 lines didnt do the trick
Is there any way to make a field that simply is required and that only allows a spcifique word. And then just write that word… in the text or something.
Not really no. I also include a hidden honeypot-field though, a spambot fills that in and then is caught (because I check that it stays empty).
But in your case: check your webserver error logfiles. I see nothing when I go to
http://annasbyra.se/wpx/wp-content/plugins/events-made-easy/captcha.php
(after you removed the 4 lines), which means some error in your logfiles must indicate why …
Thanks for all your effort! I will send this conversation to the provider.
/Anna