Events Made Easy › Forums › How do I … › CAPTCHA isn't showing the image code.
Tagged: captcha, code missing
- This topic has 8 replies, 2 voices, and was last updated 12 years, 7 months ago by
Anonymous.
-
AuthorPosts
-
Thu 25 Apr 2013 at 17:27 #43999
Anonymous
InactiveHi 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.)
Thu 25 Apr 2013 at 20:59 #50490Franky
KeymasterThe captcha image only appears if you have the php-GD extension installed.
Fri 26 Apr 2013 at 09:10 #50491Anonymous
InactiveOk – 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.
Fri 26 Apr 2013 at 10:36 #50492Franky
Keymasterit’s a php addon, nothing to do with wordpress itself. If you don’t know how: ask your sys admin
Fri 26 Apr 2013 at 11:05 #50493Anonymous
InactiveThank – 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
Fri 26 Apr 2013 at 12:47 #50494Franky
KeymasterWell, 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.
Fri 26 Apr 2013 at 19:22 #50495Anonymous
InactiveThank 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.
Fri 26 Apr 2013 at 21:45 #50496Franky
KeymasterNot 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 …
Sat 27 Apr 2013 at 09:06 #50497Anonymous
InactiveThanks for all your effort! I will send this conversation to the provider.
/Anna
-
AuthorPosts
- The forum ‘How do I …’ is closed to new topics and replies.