Problem reCAPTCHA not works in comments

GK User
Sun Mar 09, 2014 6:57 pm
I have The World News 2 Template. I have reCAPTCHA acount and keys for use. I enabled reCaptcha K2 parameters > comments but i can't see captcha box in comment page but if I try to post comment i have an error "The words you entered do not match those in the picture. Try again." If I change template from magazine to joomla default beez 20 template I see reCAPTCHA bottom to the page to leave comment.

When I go to go to template/html/com_k2 and renamed com_k2 folder i see re captcha.

Please help me
User avatar
Fresh Boarder

GK User
Mon Mar 10, 2014 8:05 am
Hello,

Please try to reupload the html/com_k2 directory - I've now checked it in this template and reCaptcha is working fine on this template under K2 items.
User avatar
Administrator

GK User
Mon Mar 10, 2014 1:10 pm
Hi,

I reupload html/com_k2 directory and not working :(
User avatar
Fresh Boarder

GK User
Mon Mar 10, 2014 6:15 pm
In this case please send me an FTP and back-end access to your website.
User avatar
Administrator

GK User
Thu Mar 13, 2014 3:32 pm
Problem fixed - it was caused by fact that you have enabled reCAPTCHA also for the registered users and there was a wrong condition in the item_comments_form.php file:

Code: Select all
<?php if($this->params->get('recaptcha') && $this->user->guest): ?>


instead of:

Code: Select all
<?php if($this->params->get('recaptcha') && ($this->user->guest || $this->params->get('recaptchaForRegistered', 1))): ?>
User avatar
Administrator

GK User
Thu Mar 13, 2014 3:47 pm
Thank U!
User avatar
Fresh Boarder


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.