Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 2.2.1
-
Fix Version/s: 2.2.3
-
Component/s: None
-
Labels:None
Description
Submit button disappears in Drupal Registration when CiviCRM is enabled. Problem is in the packages/recaptcha/recaptchalib.php file, Function recaptcha_get_html .
I think I've seen this bug in older versions, but I haven't verified this.
In the register form with CiviCRM installed, the Recaptchatlib.php is incorrect:
<code>
<noscript>
<iframe src="'. $server . '/noscript?k=' . $pubkey . $errorpart . '" height="300" width="500" frameborder="0"></iframe><br/>';
</code>
Resulting in the following HTML:
<code>
<noscript>
<iframe src="https://api-secure.recaptcha.net/noscript?k=[...]" height="300" width="500" frameborder="0"></iframe><br/>
</code>
Probably should be something like:
<code>
<noscript>
<iframe src="'. $server . '/noscript?k=' . $pubkey . $errorpart . '" height="300" width="500" frameborder="0"></iframe><br/>
<textarea name="recaptcha_challenge_field" rows="3" cols="40"></textarea>
<input type="hidden" name="recaptcha_response_field" value="manual_challenge"/>
</noscript>';
</code>
I did update my CiviCRM recaptchalib.php and the problem goes away.