Inside includes/languages/extra_definitions/recaptcha.php the line $secret = "; does not exist.
--- Inside file ---
includes/languages/english/extra_definitions/recaptcha.php
-- Change this line ---
$secret = '';
-- To this line --
$secret = 'Your SECRET token';
--- Inside file ---
includes/languages/english/extra_definitions/recaptcha.php
-- Change this line ---
define('RECAPTCHA_SITE_KEY',<div class="g-recaptcha" data-sitekey=""></div>' . "\n");
-- To this line --
define('RECAPTCHA_SITE_KEY',<div class="g-recaptcha" data-sitekey="Your SITE-KEY"></div>' . "\n");
--- To integrate reCaptcha into customer create account page.
--- Inside file ---
includes/templates/template_default/templates/tpl_modules_create_account.php
--- Insert these lines ---
<fieldset>
<?php echo RECAPTCHA_SITE_KEY;?>
<?php echo RECAPTCHA_SCRIPT;?>
</fieldset>
Inside includes/templates/template_default/templates/tpl_modules_create_account.php the line <?php if (CUSTOMERS_REFERRAL_STATUS == 2) { ?> does not exist
--- Above these lines ---
<?php if (CUSTOMERS_REFERRAL_STATUS == 2) { ?>
Inside file includes/create_account.php
--- Inside file ---
includes/modules/create_account.php
Inside includes/modules/create_account.php the line if (isset($_POST['action']) && ($_POST['action'] == 'process')) { does not exist.
--- Change this line ---
if (isset($_POST['action']) && ($_POST['action'] == 'process')) {
--- To this line ---
if (zen_validate_recaptcha() == 'true' && isset($_POST['action']) && ($_POST['action'] == 'process')) {
Bookmarks