Keyword

K2 comment redirecting issue

  • Toby Bonner
  • Toby Bonner's Avatar Topic Author
  • Offline
  • New Member
More
2 years 3 months ago #156224 by Toby Bonner
Toby Bonner created the topic: K2 comment redirecting issue
Thanks to an update somewhere to recaptcha V2 API, the recaptcha on my site stopped working. That was easy enough to fix with a new key.

However, now when comments are submitted, they redirect to a page that literally only shows the following line of text:

{"message":"Comment added and waiting for approval.","cssClass":"k2FormLogSuccess"}

Something in the code needs fixed, because the "Comment added and waiting for approval." bit is supposed to show up as a simply message that appears above the comment form, without taking users to a whole new page... But I'm not sure where in the code that is, or how to fix it.

I'm not too picky about how that message is shown. If it's a little popup box, or just a message within the page, whatever. I just don't want users taken to a whole new, completely useless page, or for the comment form to remain filled out after the comment has been submitted.

Any help would be greatly appreciated.

Please Log in or Create an account to join the conversation.

More
2 years 3 months ago #156233 by Krikor Boghossian
Krikor Boghossian replied the topic: K2 comment redirecting issue
Hello Toby,

Can you share a link to your site?

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

Please Log in or Create an account to join the conversation.

  • Toby Bonner
  • Toby Bonner's Avatar Topic Author
  • Offline
  • New Member
More
2 years 3 months ago #156237 by Toby Bonner
Toby Bonner replied the topic: K2 comment redirecting issue
Yeah it's: powelltribune.com

You can click on any story and leave a comment to see exactly what it's doing.

Please Log in or Create an account to join the conversation.

More
2 years 3 months ago #156242 by Krikor Boghossian
Krikor Boghossian replied the topic: K2 comment redirecting issue
For some reason jQuery is being loaded after K2's scripts.
This could be caused by the plugins order (try moving the K2 system plugin further down the list).

Alternatively you can use an extension like jQuery Easy to sort the scripts' order.

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

Please Log in or Create an account to join the conversation.

  • Toby Bonner
  • Toby Bonner's Avatar Topic Author
  • Offline
  • New Member
More
2 years 3 months ago #156245 by Toby Bonner
Toby Bonner replied the topic: K2 comment redirecting issue
Installing jQuery Easy fixed it. I tried moving the System - K2 plugin first, but that didn't seem to do anything.

Submitting comments works, it doesn't redirect to that weird page anymore, and the little success comment shows up like it should.

Thanks for the help!

Please Log in or Create an account to join the conversation.

More
2 years 3 months ago #156252 by Krikor Boghossian
Krikor Boghossian replied the topic: K2 comment redirecting issue
You 're welcome Toby :)

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

Please Log in or Create an account to join the conversation.

More
1 year 11 months ago #159072 by Christian Becker
Christian Becker replied the topic: K2 comment redirecting issue
Hi,

I got the same problem here but both solutions didn't help :(

Instead of a Information I got a white page with this content:

{"message":"Comment added and waiting for approval.","cssClass":"k2FormLogSuccess"}

Maybe someone could help me. The page is beckerchristian.com

Thanks allot
Chris

Please Log in or Create an account to join the conversation.

More
1 year 11 months ago #159114 by Krikor Boghossian
Krikor Boghossian replied the topic: K2 comment redirecting issue
There are several JS issues coming from the cookie consent plugin.
These issues can cause the site not to function properly.
Some are 403 permissions issues, you need to correct this issues or deactivate this extension.

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

Please Log in or Create an account to join the conversation.

More
1 year 6 months ago - 1 year 6 months ago #161443 by Konrad
Konrad replied the topic: K2 comment redirecting issue
Hi,

@Krikor I have the same problem, both solutions didn't work. My site is rkglass.pl, can you direct me to the solution?
Last Edit: 1 year 6 months ago by Konrad.

Please Log in or Create an account to join the conversation.

More
1 year 6 months ago #161468 by Krikor Boghossian
Krikor Boghossian replied the topic: K2 comment redirecting issue
Hey there,

Since my Polish is really bad, can you point me to an item with enabled comments?

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

Please Log in or Create an account to join the conversation.

Moderators: william white