Forums

Wrong verification code

w4llet 11 Apr, 2009
I may have found a cheap solution.
Every time i got a wrong verification code, system wasnt able to accept a good code anymore.
I read this topic, but didnt help me.
Verification code was only working if u insert the right one at first time. Otherwise i needed to close all page and start all over again.
So i decide to check the owner code and did this:

on components/com_chronocomments/chronocomments.php:
line 113:

//$session->clear('comment_captcha_random'); ---> I removed the //

line 119

// $session->clear('comment_captcha_random'); --> remove the //

So, basically i just remove the comment // on both lines and everything is working fine now. Even if i type the wrong code, next time with the right one, i dont receive that wrong verification code anymore.

Sorry about my english, its not my language.

I know this should be a dumb idea, better to the owner check this cheap solution.

Best regards,
w4llet
Max_admin 13 Apr, 2009
Hi w4llet,

Thank you very much for sharing this, I will move it to the Chronocomments forums!

Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.