Helly Franky,
I did some debugging.
In eme_functions.php I added:
…
function eme_captcha_generate() {
eme_session_start();
…
$randomtext=$random1.$random2.$random3.$random4.$random5;
$_SESSION[$sessionvar] = md5($randomtext);
//debug
$File = “eme_captcha_log1.txt”;
$Handle = fopen($File, ‘w’);
fwrite($Handle, “captchatext: $randomtext \n”);
fclose($Handle);
…
function eme_check_captcha($post_var,$session_var=””,$cleanup=1) {
if (empty($session_var))
$session_var=”captcha”;
$eme_captcha_no_case=get_option(’eme_captcha_no_case’);
//debug
$File = “eme_captcha_log2.txt”;
$Handle = fopen($File, ‘w’);
fwrite($Handle, “post_var: $post_var – session_var: $session_var \n”);
fwrite($Handle, “post value: $_POST[$post_var] – session value: $_SESSION[$session_var] \n”);
$par = print_r($_POST, true);
$sar = print_r($_SESSION, true);
fwrite($Handle, ” ‘$_POST’ array: $par \n ‘$_SESSION’ array: $sar \n”);
fclose($Handle);
…
which resulted in:
eme_captcha_log1.txt:
captchatext: c7s9t
eme_captcha_log2.txt:
post_var: captcha_check – session_var: eme_add_booking
post value: – session value:
‘Array’ array: Array
(
[eme_rsvp_nonce] => 638a4d238a
[honeypot_check] =>
[eme_eventAction] => add_bookings
[eme_register_empty_seats] => 0
[eme_event_id] => 131
[lastname] => tester1
[firstname] => tester1
[FIELD2] => test
[email] => [email protected]
[phone] =>
[bookings] => Array
(
)
[FIELD1] => XS
[comment] => b9z9w
)
‘Array’ array: Array
(
[cptch_login] => 1
)
———————–
I also entered the captcha code to the comment field – and as you can see this value is different from the previously created.
Also, I can’t see a $_POST value for the captcha.
Could you check this?
Feel free to check on the website (event 609) – but make sure that the entry is recognized as test.
Thanks and best regards,
Bernd