- Posts: 4
COMMUNITY FORUM
reCAPTCHA v2 validation issue
- Roksana Ryk
-
Topic Author
- Offline
- New Member
Less
More
8 years 11 months ago #154204
by Roksana Ryk
reCAPTCHA v2 validation issue was created by Roksana Ryk
Hello.
I have problem with K2 reCAPTCHA v2 in registration form.
When I do not sign reCAPTCHA and post form with register button I get an error "404 component not found".
But when I sign reCAPTCHA registration is correct.
It seems that the validation of reCAPTCHA not working properly.
I have disabled Joomla reCAPTCHA plugin and I enebled it only in k2 component.
My site key and secret key is correct.
reCAPTCHA v1 working correct.
Has anyone had a similar problem?
There will be someone who will help me with this?
Regards.
I have problem with K2 reCAPTCHA v2 in registration form.
When I do not sign reCAPTCHA and post form with register button I get an error "404 component not found".
But when I sign reCAPTCHA registration is correct.
It seems that the validation of reCAPTCHA not working properly.
I have disabled Joomla reCAPTCHA plugin and I enebled it only in k2 component.
My site key and secret key is correct.
reCAPTCHA v1 working correct.
Has anyone had a similar problem?
There will be someone who will help me with this?
Regards.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
8 years 11 months ago #154253
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic reCAPTCHA v2 validation issue
Hello,
Can you share the url that produces the 404 component not found error?
Can you share the url that produces the 404 component not found error?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Roksana Ryk
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 4
8 years 11 months ago - 8 years 11 months ago #154267
by Roksana Ryk
Yes, of course. But I don't like to share it in public. Where I can send it for you?
Replied by Roksana Ryk on topic reCAPTCHA v2 validation issue
Can you share the url that produces the 404 component not found error?
Yes, of course. But I don't like to share it in public. Where I can send it for you?
Last edit: 8 years 11 months ago by Roksana Ryk.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
8 years 11 months ago #154339
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic reCAPTCHA v2 validation issue
Share the URL without the domain part.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Roksana Ryk
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 4
8 years 11 months ago #154355
by Roksana Ryk
This is form URL:and this is URL where I see 404 error:
Replied by Roksana Ryk on topic reCAPTCHA v2 validation issue
Krikor wrote: Share the URL without the domain part.
This is form URL:
/en/registration
/index.php?option=com_user&view=register
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
8 years 11 months ago #154364
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic reCAPTCHA v2 validation issue
The URL should be com_users instead of com_user.
Thank you for reporting this, we will look into this.
Thank you for reporting this, we will look into this.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Roksana Ryk
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 4
8 years 10 months ago #154502
by Roksana Ryk
Replied by Roksana Ryk on topic reCAPTCHA v2 validation issue
Problem is in this file:
In line 241
and line 264
When I change linke 241 to:
and line 264 to:
then it's working correct for me. I think it's make problems with other Joomla versions but for Joomla! 3.5.1 is working correct.
Regards
/plugins/user/k2/k2.php
In line 241
$url = K2_JVERSION ? 'index.php?option=com_user&view=register' : 'index.php?option=com_users&view=registration';
and line 264
$url = 'index.php?option=com_user&view=register';
When I change linke 241 to:
$url = K2_JVERSION ? 'index.php?option=com_users&view=registration' : 'index.php?option=com_users&view=registration';
and line 264 to:
$url = 'index.php?option=com_users&view=registration';
then it's working correct for me. I think it's make problems with other Joomla versions but for Joomla! 3.5.1 is working correct.
Regards
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
8 years 10 months ago #154525
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic reCAPTCHA v2 validation issue
Thank you let us know Roksana :)
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- JoomlaWorks Support Team
-
- Offline
- Elite Member
Less
More
- Posts: 169
8 years 10 months ago #154821
by JoomlaWorks Support Team
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks Support Team on topic reCAPTCHA v2 validation issue
Thank you once more for reporting it. You can find the the fix for this issue at
github.com/getk2/k2/commit/c65c85ed2a57ed5d8f6fd75149e90e9eeea9c43e
github.com/getk2/k2/commit/c65c85ed2a57ed5d8f6fd75149e90e9eeea9c43e
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.