Skip to Content Skip to Menu

[SOLVED] CB AntiSpam Captcha Invalid Code

  • imaaxx
  • imaaxx
  • OFFLINE
  • Posts: 126
  • Thanks: 11
  • Karma: 2
10 years 5 months ago - 10 years 5 months ago #245387 by imaaxx
Hello,

We seem to be having some issues with one of our sites using CB AntiSpam, with the captcha giving an invalid code.

I tried myself on this site and had no issues, but our client is complaining they cant register because of this issue, they have had this reported by 4 or more people. They all are using windows 7 64 bit with multiple browsers, FireFox, Chrome and IE seem to have all the same issues.

Any ideas why this would be?

Thanks
Alan
Last edit: 10 years 5 months ago by krileon.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8282
  • Karma: 1443
10 years 5 months ago #245404 by krileon
Replied by krileon on topic CB AntiSpam Captcha Invalid Code
Do you have caching enabled? If so that could cause it. Joomla caching takes a snap shot of the buffer and caches it to a single file. It then checks if that file exists when routing. If it does it checks that it's not too old and if it's not it re-displays that exact buffer. This results in a captcha code that is no longer valid being output.

It's also possible the users are having issues reading the captcha, which you can improve by adjusting the captcha display parameters in CB AnitSpam config. Have they tried the refresh button to generate a new captcha?


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

  • imaaxx
  • imaaxx
  • OFFLINE
  • Posts: 126
  • Thanks: 11
  • Karma: 2
10 years 5 months ago #245409 by imaaxx
Replied by imaaxx on topic CB AntiSpam Captcha Invalid Code
Hello,

We do not have caching enabled in Joomla, however because we are using a Rocket theme template it always caches some files in Gantry and Less compiler, could this be the cause? Also they did let me know that if the user selects the audio version then it works perfectly every time. Seems to only be the Image does not update, so something is not ideal.

Thanks for the help.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8282
  • Karma: 1443
10 years 5 months ago #245421 by krileon
Replied by krileon on topic CB AntiSpam Captcha Invalid Code
So the image won't refresh but the audio will? Our the image it self won't display at all? It's possible your templates framework could be caching it. Press F12 in Chrome or Firefox and observe the Console to see if any fatal (red) errors are present. If possible try to disable all caching/compression added by the template framework.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

  • imaaxx
  • imaaxx
  • OFFLINE
  • Posts: 126
  • Thanks: 11
  • Karma: 2
10 years 5 months ago #245455 by imaaxx
Replied by imaaxx on topic CB AntiSpam Captcha Invalid Code
We have located this issue, it seems that this site was using template overrides on the registration page and this was causing the image to refresh but never validate. Once we deleted the template override for that page the image code works fine now and validates every time.

Have you ever heard of this issue before? Also we have noticed that if we create a template override for one of our secondary lists it will not recognize the override and always displays the template for the home page.

We are wondering if this issue is not present in CB 2.0 as it is built on MVC?

Our sites are Joomla 3.3.0, CB 1.9.1, Rocket Themes Template with Gantry, we have the less compiler on and this does not seem to upset the image verification.

Since template overrides are important to our customers we would like to get this resolved. If you need anymore information from us please feel free to ask.

Kind Regards
Alan

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

  • imaaxx
  • imaaxx
  • OFFLINE
  • Posts: 126
  • Thanks: 11
  • Karma: 2
10 years 5 months ago #245456 by imaaxx
Replied by imaaxx on topic CB AntiSpam Captcha Invalid Code
I noticed this in another posting:

Copy the below folder from CB 2.0 to CB 1.9.1 and you'll have Internal userlist menu items with List ID parameter again.

FROM (2.0):
components/com_comprofiler/views/userslist/
TO (1.9.1):
components/com_comprofiler/views/

This is not cross-compatible with Joomla 1.5, which is why we couldn't implement it into CB 1.9.1.

You may need to copy over all the views (excluding pluginclass) and remove the metadata.xml file in components/com_comprofiler/ so Joomla 3.0 won't pick it up over the views. Can't recall which Joomla looks for first.

Would this help our issue?

Thanks

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

Moderators: beatnantkrileon
Powered by Kunena Forum