Please submit the code changes you made. I’m having a similar problem with Telkom SAIX in South Africa which uses a similar proxy service, I guess.
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
November 07, 2007 6:33pm
Subscribe [4]#16 / Mar 27, 2008 11:39am
Please submit the code changes you made. I’m having a similar problem with Telkom SAIX in South Africa which uses a similar proxy service, I guess.
#17 / Mar 27, 2008 11:50am
I’m going to shift to ‘How to’ as hacks aren’t supported. You might consider adding your support to a feature request, though.
And from a quick look at it- to remove the ip check in comments, head to line 2524:
/** ----------------------------------------
/** Do we require captcha?
/** ----------------------------------------*/
stuff….
else
{
$res = $DB->query("SELECT COUNT(*) AS count FROM exp_captcha WHERE word='".$DB->escape_str($_POST['captcha'])."' AND ip_address = '".$IN->IP."' AND date > UNIX_TIMESTAMP()-7200");
if ($res->row['count'] == 0)
{
return $OUT->show_user_error('submission', $LANG->line('captcha_incorrect'));
}
$DB->query("DELETE FROM exp_captcha WHERE (word='".$DB->escape_str($_POST['captcha'])."' AND ip_address = '".$IN->IP."') OR date < UNIX_TIMESTAMP()-7200");
}
}
}
Basically? Remove the ip bits from the two queries. Make sense?
#18 / Mar 28, 2008 5:31am
Yes, thanks. I will try it.