JComments Captcha Not Working on Refresh

One of our clients called us today and told us that the captcha below JComments comments is not working properly. She said that it works on page load, but once she hits the refresh button below the captcha, the captcha image disappears. Hmmm!

We did a long investigation and we finally discovered that the reason behind this issue was the usual Joomla suspect, sh404SEF – no surprise there! Solving the problem consisted of disabling sh404SEF for the JComments component.

In case you don’t know how to disable sh404SEF for a particular component, then follow this guide:

  • Login to the backend of your Joomla website.
  • Click on Components -> sh404SEF.

  • Click on sh404SEF Configuration.

  • In the popup window, click on By Component.

  • Scroll down until you see jcomments to the left.

  • Change the first column and the fourth column for the jcomments row to Use Joomla! Router and Use Joomla! router.php respectively.

  • That’s it! Now you should no longer have problems with JComments‘ captchas.

Now we know that this solution is not ideal, but it does work. Another solution is to make sh404SEF compatible with JComments (or the other way around) – but this will take a lot of time and may not be worth the effort.

If you’re having the above problem and if you have tried our solution with no avail, then fear not, we’re always here to help. Just contact us and you can rest assured that we’ll solve your problem swiftly, professionally, and for a very reasonable cost.

No comments yet.

Leave a comment